ScummVM API documentation
script_opcodes.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
/*
23
* This file is based on WME Lite.
24
* http://dead-code.org/redir.php?target=wmelite
25
* Copyright (c) 2011 Jan Nedoma
26
*/
27
28
#ifndef WINTERMUTE_SCOPCODES_H
29
#define WINTERMUTE_SCOPCODES_H
30
31
namespace
Wintermute {
32
33
const
uint32 foxtail_1_2_896_mapping[] = {
34
II_CMP_LE,
35
II_JMP,
36
II_POP_REG1,
37
II_PUSH_BOOL,
38
II_MODULO,
39
II_POP_EMPTY,
40
II_CALL_BY_EXP,
41
II_CMP_L,
42
II_PUSH_FLOAT,
43
II_NOT,
44
II_PUSH_THIS,
45
II_PUSH_BY_EXP,
46
II_PUSH_THIS_FROM_STACK,
47
II_CMP_G,
48
II_DEF_GLOB_VAR,
49
II_PUSH_STRING,
50
II_PUSH_REG1,
51
II_DEF_VAR,
52
II_PUSH_VAR_THIS,
53
II_RET_EVENT,
54
II_PUSH_VAR_REF,
55
II_CMP_NE,
56
II_DBG_LINE,
57
II_OR,
58
II_POP_VAR,
59
II_AND,
60
II_EXTERNAL_CALL,
61
II_CORRECT_STACK,
62
II_RET,
63
II_DIV,
64
II_PUSH_VAR,
65
II_SUB,
66
II_CALL,
67
II_CREATE_OBJECT,
68
II_MUL,
69
II_POP_BY_EXP,
70
II_DEF_CONST_VAR,
71
II_PUSH_NULL,
72
II_JMP_FALSE,
73
II_ADD,
74
II_CMP_GE,
75
II_CMP_STRICT_EQ,
76
II_CMP_STRICT_NE,
77
II_PUSH_INT,
78
II_CMP_EQ,
79
II_POP_THIS,
80
II_SCOPE
81
};
82
83
const
uint32 foxtail_1_2_902_mapping[] = {
84
II_CMP_L,
85
II_CALL,
86
II_DEF_GLOB_VAR,
87
II_DBG_LINE,
88
II_JMP_FALSE,
89
II_CMP_STRICT_EQ,
90
II_PUSH_FLOAT,
91
II_CALL_BY_EXP,
92
II_MODULO,
93
II_PUSH_THIS,
94
II_CMP_GE,
95
II_PUSH_BOOL,
96
II_PUSH_VAR,
97
II_PUSH_VAR_REF,
98
II_POP_BY_EXP,
99
II_CMP_STRICT_NE,
100
II_RET_EVENT,
101
II_PUSH_BY_EXP,
102
II_CORRECT_STACK,
103
II_POP_VAR,
104
II_CMP_G,
105
II_PUSH_THIS_FROM_STACK,
106
II_JMP,
107
II_AND,
108
II_CREATE_OBJECT,
109
II_POP_REG1,
110
II_PUSH_STRING,
111
II_POP_EMPTY,
112
II_DIV,
113
II_ADD,
114
II_RET,
115
II_EXTERNAL_CALL,
116
II_NOT,
117
II_OR,
118
II_SUB,
119
II_PUSH_INT,
120
II_DEF_VAR,
121
II_SCOPE,
122
II_CMP_EQ,
123
II_MUL,
124
II_POP_THIS,
125
II_CMP_LE,
126
II_PUSH_REG1,
127
II_DEF_CONST_VAR,
128
II_PUSH_NULL,
129
II_CMP_NE,
130
II_PUSH_VAR_THIS
131
};
132
133
}
// End of namespace Wintermute
134
135
#endif
engines
wintermute
base
scriptables
script_opcodes.h
Generated on Sun Nov 22 2026 09:35:37 for ScummVM API documentation by
1.9.4