ScummVM API documentation
csludge.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 SLUDGE_CSLUDGE_H
23#define SLUDGE_CSLUDGE_H
24
25namespace Sludge {
26
27enum SludgeCommand {
28 SLU_UNKNOWN,
29 SLU_RETURN,
30 SLU_BRANCH,
31 SLU_BR_ZERO,
32 SLU_SET_GLOBAL,
33 SLU_SET_LOCAL,
34 SLU_LOAD_GLOBAL,
35 SLU_LOAD_LOCAL,
36 SLU_PLUS,
37 SLU_MINUS,
38 SLU_MULT,
39 SLU_DIVIDE,
40 SLU_AND,
41 SLU_OR,
42 SLU_EQUALS,
43 SLU_NOT_EQ,
44 SLU_MODULUS,
45 SLU_LOAD_VALUE,
46 SLU_LOAD_BUILT,
47 SLU_LOAD_FUNC,
48 SLU_CALLIT,
49 SLU_LOAD_STRING,
50 SLU_LOAD_FILE, /*SLU_LOAD_SCENE,*/
51 SLU_LOAD_OBJTYPE,
52 SLU_NOT,
53 SLU_LOAD_NULL,
54 SLU_STACK_PUSH,
55 SLU_LESSTHAN,
56 SLU_MORETHAN,
57 SLU_NEGATIVE,
58 SLU_UNREG,
59 SLU_LESS_EQUAL,
60 SLU_MORE_EQUAL,
61 SLU_INCREMENT_LOCAL,
62 SLU_DECREMENT_LOCAL,
63 SLU_INCREMENT_GLOBAL,
64 SLU_DECREMENT_GLOBAL,
65 SLU_INDEXSET,
66 SLU_INDEXGET,
67 SLU_INCREMENT_INDEX,
68 SLU_DECREMENT_INDEX,
69 SLU_QUICK_PUSH,
70 numSludgeCommands
71};
72
73} // End of namespace Sludge
74
75#endif