ScummVM API documentation
script-debug.h
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 modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (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, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef ALCACHOFA_SCRIPT_DEBUG_H
23#define ALCACHOFA_SCRIPT_DEBUG_H
24
25namespace Alcachofa {
26
27static const char *const ScriptOpNames[] = {
28 "Nop",
29 "Dup",
30 "PushAddr",
31 "PushDynAddr",
32 "PushValue",
33 "Deref",
34 "Pop1",
35 "PopN",
36 "Store",
37 "LoadString",
38 "ScriptCall",
39 "KernelCall",
40 "JumpIfFalse",
41 "JumpIfTrue",
42 "Jump",
43 "Negate",
44 "BooleanNot",
45 "Mul",
46 "Add",
47 "Sub",
48 "Less",
49 "Greater",
50 "LessEquals",
51 "GreaterEquals",
52 "Equals",
53 "NotEquals",
54 "BitAnd",
55 "BitOr",
56 "ReturnValue",
57 "ReturnVoid",
58 "Crash"
59};
60
61static const char *const KernelCallNames[] = {
62 "Nop",
63 "PlayVideo",
64 "PlaySound",
65 "PlayMusic",
66 "StopMusic",
67 "WaitForMusicToEnd",
68 "ShowCenterBottomText",
69 "StopAndTurn",
70 "StopAndTurnMe",
71 "ChangeCharacter",
72 "SayText",
73 "SayTextV2",
74 "Go",
75 "Put",
76 "ChangeCharacterRoom",
77 "KillProcesses",
78 "LerpCharacterLodBias",
79 "On",
80 "Off",
81 "Pickup",
82 "CharacterPickup",
83 "Drop",
84 "CharacterDrop",
85 "Delay",
86 "HadNoMousePressFor",
87 "Fork",
88 "Animate",
89 "AnimateCharacter",
90 "AnimateTalking",
91 "ChangeRoom",
92 "ToggleRoomFloor",
93 "SetDialogLineReturn",
94 "DialogMenu",
95 "ClearInventory",
96 "FadeType0",
97 "FadeType1",
98 "LerpWorldLodBias",
99 "FadeType2",
100 "SetActiveTextureSet",
101 "SetMaxCamSpeedFactor",
102 "WaitCamStopping",
103 "CamFollow",
104 "CamShake",
105 "LerpCamXY",
106 "LerpCamZ",
107 "LerpCamScale",
108 "LerpCamToObjectWithScale",
109 "LerpCamToObjectResettingZ",
110 "LerpCamRotation",
111 "LerpOrSetCam",
112 "FadeIn",
113 "FadeOut",
114 "FadeIn2",
115 "FadeOut2",
116 "LerpCamXYZ",
117 "LerpCamToObjectKeepingZ",
118 "Disguise"
119};
120
121}
122
123#endif // ALCACHOFA_SCRIPT_DEBUG_H