1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 *
21 *
22 * Based on the original sources
23 *   Faery Tale II -- The Halls of the Dead
24 *   (c) 1993-1996 The Wyrmkeep Entertainment Co.
25 */
26
27#ifndef SAGA2_METHODS_R
28#define SAGA2_METHODS_R
29
30namespace Saga2 {
31
32// TODO FIXME. All of these have to be extracted from the disassembly
33
34enum {
35	Method_KnowledgePackage_evalResponse = 0,
36	Method_KnowledgePackage_executeResponse = 1,
37
38	Method_Actor_onTalkTo = 136,
39	Method_Actor_onReceive = 137,
40	Method_Actor_onDie = 138,
41	Method_Actor_onDelobotomize = 139,
42	Method_Actor_onLobotomize = 140,
43	Method_Actor_onEndAssignment = 141,
44	Method_Actor_onSpecialAttack = 142,
45	Method_Actor_onAttacked = 143,
46
47	Method_TileActivityInstance_onUse = 14,
48	Method_TileActivityInstance_onTrigger = 15,
49	Method_TileActivityInstance_onRelease = 16,
50	Method_TileActivityInstance_onAcceptLockToggle = 17,
51	Method_TileActivityInstance_onCanTrigger = 18,
52
53	Method_GameObject_onUse = 21,
54	Method_GameObject_onUseOn = 22,
55	Method_GameObject_onUseOnTAI = 23,
56	Method_GameObject_onTake = 24,
57	Method_GameObject_onDrop = 25,
58	Method_GameObject_onDropOn = 26,
59	Method_GameObject_onOpen = 28,
60	Method_GameObject_onClose = 29,
61	Method_GameObject_onStrike = 30,
62	Method_GameObject_onDamage = 31,
63	Method_GameObject_onEat,
64	Method_GameObject_onInsert,
65	Method_GameObject_onRemove,
66	Method_GameObject_onAcceptLockToggle,
67	Method_GameObject_onAcceptMix,
68	Method_GameObject_onAcceptDrop = 35,
69	Method_GameObject_onAcceptDamage = 36,
70	Method_GameObject_onAcceptStrike = 37,
71	Method_GameObject_onAcceptInsertion = 40,
72	Method_GameObject_onTrigger = 41,
73	Method_GameObject_onTimerTick = 42,
74	Method_GameObject_onSenseObject = 43,
75	Method_GameObject_onSenseEvent = 44,
76	Method_GameObject_onActivate = 45,
77	Method_GameObject_onDeactivate = 46,
78	Method_GameObject_onDeletion = 47
79};
80
81} // end of namespace Saga2
82
83#endif
84