mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-28 12:46:56 +00:00
eed7d3e413
svn-id: r22358
1535 lines
22 KiB
C++
1535 lines
22 KiB
C++
/* ScummVM - Scumm Interpreter
|
|
* Copyright (C) 2001 Ludvig Strigeus
|
|
* Copyright (C) 2001-2006 The ScummVM project
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
* $URL$
|
|
* $Id$
|
|
*
|
|
*/
|
|
|
|
#ifndef SIMON_DEBUG_H
|
|
#define SIMON_DEBUG_H
|
|
|
|
namespace Simon {
|
|
|
|
static const char *const simon1dos_opcode_name_table[256] = {
|
|
/* 0 */
|
|
"|NOT",
|
|
"IJ|AT",
|
|
"IJ|NOT_AT",
|
|
NULL,
|
|
/* 4 */
|
|
NULL,
|
|
"IJ|CARRIED",
|
|
"IJ|NOT_CARRIED",
|
|
"IIJ|IS_AT",
|
|
/* 8 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"VJ|IS_ZERO",
|
|
/* 12 */
|
|
"VJ|ISNOT_ZERO",
|
|
"VWJ|IS_EQ",
|
|
"VWJ|IS_NEQ",
|
|
"VWJ|IS_LE",
|
|
/* 16 */
|
|
"VWJ|IS_GE",
|
|
"VVJ|IS_EQF",
|
|
"VVJ|IS_NEQF",
|
|
"VVJ|IS_LEF",
|
|
/* 20 */
|
|
"VVJ|IS_GEF",
|
|
NULL,
|
|
NULL,
|
|
"WJ|CHANCE",
|
|
/* 24 */
|
|
NULL,
|
|
"IJ|IS_ROOM",
|
|
"IJ|IS_OBJECT",
|
|
"IWJ|ITEM_STATE_IS",
|
|
/* 28 */
|
|
"IBJ|OBJECT_HAS_FLAG",
|
|
NULL,
|
|
NULL,
|
|
"I|SET_NO_PARENT",
|
|
/* 32 */
|
|
NULL,
|
|
"II|SET_PARENT",
|
|
NULL,
|
|
NULL,
|
|
/* 36 */
|
|
"VV|MOVE",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 40 */
|
|
NULL,
|
|
"V|ZERO",
|
|
"VW|SET",
|
|
"VW|ADD",
|
|
/* 44 */
|
|
"VW|SUB",
|
|
"VV|ADDF",
|
|
"VV|SUBF",
|
|
"VW|MUL",
|
|
/* 48 */
|
|
"VW|DIV",
|
|
"VV|MULF",
|
|
"VV|DIVF",
|
|
"VW|MOD",
|
|
/* 52 */
|
|
"VV|MODF",
|
|
"VW|RANDOM",
|
|
NULL,
|
|
"I|SET_A_PARENT",
|
|
/* 56 */
|
|
"IB|SET_CHILD2_BIT",
|
|
"IB|CLEAR_CHILD2_BIT",
|
|
"II|MAKE_SIBLING",
|
|
"I|INC_STATE",
|
|
/* 60 */
|
|
"I|DEC_STATE",
|
|
"IW|SET_STATE",
|
|
"V|SHOW_INT",
|
|
"T|SHOW_STRING_NL",
|
|
/* 64 */
|
|
"T|SHOW_STRING",
|
|
"WWWWWB|ADD_TEXT_BOX",
|
|
"BT|SET_SHORT_TEXT",
|
|
"BT|SET_LONG_TEXT",
|
|
/* 68 */
|
|
"x|END",
|
|
"x|DONE",
|
|
"V|SHOW_STRING_AR3",
|
|
"W|START_SUB",
|
|
/* 72 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 76 */
|
|
"WW|ADD_TIMEOUT",
|
|
"J|IS_M1_EMPTY",
|
|
"J|IS_M3_EMPTY",
|
|
"ITJ|CHILD_FR2_IS",
|
|
/* 80 */
|
|
"IIJ|IS_ITEM_EQ",
|
|
NULL,
|
|
"B|DEBUG",
|
|
"|RESCAN",
|
|
/* 84 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"W|COMMENT",
|
|
/* 88 */
|
|
"|STOP_ANIMATION",
|
|
"|RESTART_ANIMATION",
|
|
"IB|GET_PARENT",
|
|
"IB|GET_NEXT",
|
|
/* 92 */
|
|
"IB|GET_CHILDREN",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 96 */
|
|
"WB|PICTURE",
|
|
"W|LOAD_ZONE",
|
|
"WBWWW|ANIMATE",
|
|
"W|STOP_ANIMATE",
|
|
/* 100 */
|
|
"|KILL_ANIMATE",
|
|
"BWWWWWW|DEFINE_WINDOW",
|
|
"B|CHANGE_WINDOW",
|
|
"|CLS",
|
|
/* 104 */
|
|
"B|CLOSE_WINDOW",
|
|
NULL,
|
|
NULL,
|
|
"WWWWWIW|ADD_BOX",
|
|
/* 108 */
|
|
"W|DEL_BOX",
|
|
"W|ENABLE_BOX",
|
|
"W|DISABLE_BOX",
|
|
"WWW|MOVE_BOX",
|
|
/* 112 */
|
|
NULL,
|
|
NULL,
|
|
"IB|DO_ICONS",
|
|
"IBJ|IS_CLASS",
|
|
/* 116 */
|
|
"IB|SET_CLASS",
|
|
"IB|UNSET_CLASS",
|
|
NULL,
|
|
"W|WAIT_SYNC",
|
|
/* 120 */
|
|
"W|SYNC",
|
|
"BI|DEF_OBJ",
|
|
NULL,
|
|
NULL,
|
|
/* 124 */
|
|
NULL,
|
|
"IJ|IS_SIBLING_WITH_A",
|
|
"IBB|DO_CLASS_ICONS",
|
|
"WW|PLAY_TUNE",
|
|
/* 128 */
|
|
"W|WAIT_END_TUNE",
|
|
"W|IF_END_TUNE",
|
|
"Bww|SET_ADJ_NOUN",
|
|
NULL,
|
|
/* 132 */
|
|
"|SAVE_GAME",
|
|
"|LOAD_GAME",
|
|
"|DUMMYPROC_134",
|
|
"|QUIT_IF_USER_PRESSES_Y",
|
|
/* 136 */
|
|
"IV|COPY_SF",
|
|
"B|RESTORE_ICONS",
|
|
"|FREEZE_ZONES",
|
|
"II|SET_PARENT_SPECIAL",
|
|
/* 140 */
|
|
"|CLEAR_TIMERS",
|
|
"BI|SET_M1_OR_M3",
|
|
"WJ|IS_HITAREA_0x40_CLEAR",
|
|
"I|START_ITEM_SUB",
|
|
/* 144 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 148 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"BI|SET_ARRAY6_TO",
|
|
/* 152 */
|
|
"BB|SET_M1_M3_TO_ARRAY6",
|
|
"B|SET_BIT",
|
|
"B|CLEAR_BIT",
|
|
"BJ|IS_BIT_CLEAR",
|
|
/* 156 */
|
|
"BJ|IS_BIT_SET",
|
|
"IBB|GET_ITEM_PROP",
|
|
"IBW|SET_ITEM_PROP",
|
|
NULL,
|
|
/* 160 */
|
|
"B|SET_INK",
|
|
"BWBW|SETUP_TEXT",
|
|
"BBT|PRINT_STR",
|
|
"W|PLAY_EFFECT",
|
|
/* 164 */
|
|
"|getDollar2",
|
|
"IWWJ|IS_ADJ_NOUN",
|
|
"B|SET_BIT2",
|
|
"B|CLEAR_BIT2",
|
|
/* 168 */
|
|
"BJ|IS_BIT2_CLEAR",
|
|
"BJ|IS_BIT2_SET",
|
|
NULL,
|
|
NULL,
|
|
/* 172 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"|LOCK_ZONES",
|
|
/* 176 */
|
|
"|UNLOCK_ZONES",
|
|
"BBI|SCREEN_TEXT_POBJ",
|
|
"WWBB|GETPATHPOSN",
|
|
"BBB|SCREEN_TEXT_LONG_TEXT",
|
|
/* 180 */
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"|LOAD_BEARD",
|
|
"|UNLOAD_BEARD",
|
|
/* 184 */
|
|
"W|UNLOAD_ZONE",
|
|
"W|LOAD_SOUND_FILES",
|
|
"|UNFREEZE_ZONES",
|
|
"|FADE_TO_BLACK",
|
|
};
|
|
|
|
static const char *const simon1talkie_opcode_name_table[256] = {
|
|
/* 0 */
|
|
"|NOT",
|
|
"IJ|AT",
|
|
"IJ|NOT_AT",
|
|
NULL,
|
|
/* 4 */
|
|
NULL,
|
|
"IJ|CARRIED",
|
|
"IJ|NOT_CARRIED",
|
|
"IIJ|IS_AT",
|
|
/* 8 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"VJ|IS_ZERO",
|
|
/* 12 */
|
|
"VJ|ISNOT_ZERO",
|
|
"VWJ|IS_EQ",
|
|
"VWJ|IS_NEQ",
|
|
"VWJ|IS_LE",
|
|
/* 16 */
|
|
"VWJ|IS_GE",
|
|
"VVJ|IS_EQF",
|
|
"VVJ|IS_NEQF",
|
|
"VVJ|IS_LEF",
|
|
/* 20 */
|
|
"VVJ|IS_GEF",
|
|
NULL,
|
|
NULL,
|
|
"WJ|CHANCE",
|
|
/* 24 */
|
|
NULL,
|
|
"IJ|IS_ROOM",
|
|
"IJ|IS_OBJECT",
|
|
"IWJ|ITEM_STATE_IS",
|
|
/* 28 */
|
|
"IBJ|OBJECT_HAS_FLAG",
|
|
NULL,
|
|
NULL,
|
|
"I|SET_NO_PARENT",
|
|
/* 32 */
|
|
NULL,
|
|
"II|SET_PARENT",
|
|
NULL,
|
|
NULL,
|
|
/* 36 */
|
|
"VV|MOVE",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 40 */
|
|
NULL,
|
|
"V|ZERO",
|
|
"VW|SET",
|
|
"VW|ADD",
|
|
/* 44 */
|
|
"VW|SUB",
|
|
"VV|ADDF",
|
|
"VV|SUBF",
|
|
"VW|MUL",
|
|
/* 48 */
|
|
"VW|DIV",
|
|
"VV|MULF",
|
|
"VV|DIVF",
|
|
"VW|MOD",
|
|
/* 52 */
|
|
"VV|MODF",
|
|
"VW|RANDOM",
|
|
NULL,
|
|
"I|SET_A_PARENT",
|
|
/* 56 */
|
|
"IB|SET_CHILD2_BIT",
|
|
"IB|CLEAR_CHILD2_BIT",
|
|
"II|MAKE_SIBLING",
|
|
"I|INC_STATE",
|
|
/* 60 */
|
|
"I|DEC_STATE",
|
|
"IW|SET_STATE",
|
|
"V|SHOW_INT",
|
|
"T|SHOW_STRING_NL",
|
|
/* 64 */
|
|
"T|SHOW_STRING",
|
|
"WWWWWB|ADD_TEXT_BOX",
|
|
"BT|SET_SHORT_TEXT",
|
|
"BTw|SET_LONG_TEXT",
|
|
/* 68 */
|
|
"x|END",
|
|
"x|DONE",
|
|
"V|SHOW_STRING_AR3",
|
|
"W|START_SUB",
|
|
/* 72 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 76 */
|
|
"WW|ADD_TIMEOUT",
|
|
"J|IS_M1_EMPTY",
|
|
"J|IS_M3_EMPTY",
|
|
"ITJ|CHILD_FR2_IS",
|
|
/* 80 */
|
|
"IIJ|IS_ITEM_EQ",
|
|
NULL,
|
|
"B|DEBUG",
|
|
"|RESCAN",
|
|
/* 84 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"W|COMMENT",
|
|
/* 88 */
|
|
"|STOP_ANIMATION",
|
|
"|RESTART_ANIMATION",
|
|
"IB|GET_PARENT",
|
|
"IB|GET_NEXT",
|
|
/* 92 */
|
|
"IB|GET_CHILDREN",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 96 */
|
|
"WB|PICTURE",
|
|
"W|LOAD_ZONE",
|
|
"WBWWW|ANIMATE",
|
|
"W|STOP_ANIMATE",
|
|
/* 100 */
|
|
"|KILL_ANIMATE",
|
|
"BWWWWWW|DEFINE_WINDOW",
|
|
"B|CHANGE_WINDOW",
|
|
"|CLS",
|
|
/* 104 */
|
|
"B|CLOSE_WINDOW",
|
|
NULL,
|
|
NULL,
|
|
"WWWWWIW|ADD_BOX",
|
|
/* 108 */
|
|
"W|DEL_BOX",
|
|
"W|ENABLE_BOX",
|
|
"W|DISABLE_BOX",
|
|
"WWW|MOVE_BOX",
|
|
/* 112 */
|
|
NULL,
|
|
NULL,
|
|
"IB|DO_ICONS",
|
|
"IBJ|IS_CLASS",
|
|
/* 116 */
|
|
"IB|SET_CLASS",
|
|
"IB|UNSET_CLASS",
|
|
NULL,
|
|
"W|WAIT_SYNC",
|
|
/* 120 */
|
|
"W|SYNC",
|
|
"BI|DEF_OBJ",
|
|
NULL,
|
|
NULL,
|
|
/* 124 */
|
|
NULL,
|
|
"IJ|IS_SIBLING_WITH_A",
|
|
"IBB|DO_CLASS_ICONS",
|
|
"WW|PLAY_TUNE",
|
|
/* 128 */
|
|
"W|WAIT_END_TUNE",
|
|
"W|IF_END_TUNE",
|
|
"Bww|SET_ADJ_NOUN",
|
|
NULL,
|
|
/* 132 */
|
|
"|SAVE_GAME",
|
|
"|LOAD_GAME",
|
|
"|DUMMYPROC_134",
|
|
"|QUIT_IF_USER_PRESSES_Y",
|
|
/* 136 */
|
|
"IV|COPY_SF",
|
|
"B|RESTORE_ICONS",
|
|
"|FREEZE_ZONES",
|
|
"II|SET_PARENT_SPECIAL",
|
|
/* 140 */
|
|
"|CLEAR_TIMERS",
|
|
"BI|SET_M1_OR_M3",
|
|
"WJ|IS_HITAREA_0x40_CLEAR",
|
|
"I|START_ITEM_SUB",
|
|
/* 144 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 148 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"BI|SET_ARRAY6_TO",
|
|
/* 152 */
|
|
"BB|SET_M1_M3_TO_ARRAY6",
|
|
"B|SET_BIT",
|
|
"B|CLEAR_BIT",
|
|
"BJ|IS_BIT_CLEAR",
|
|
/* 156 */
|
|
"BJ|IS_BIT_SET",
|
|
"IBB|GET_ITEM_PROP",
|
|
"IBW|SET_ITEM_PROP",
|
|
NULL,
|
|
/* 160 */
|
|
"B|SET_INK",
|
|
"BWBW|SETUP_TEXT",
|
|
"BBTW|PRINT_STR",
|
|
"W|PLAY_EFFECT",
|
|
/* 164 */
|
|
"|getDollar2",
|
|
"IWWJ|IS_ADJ_NOUN",
|
|
"B|SET_BIT2",
|
|
"B|CLEAR_BIT2",
|
|
/* 168 */
|
|
"BJ|IS_BIT2_CLEAR",
|
|
"BJ|IS_BIT2_SET",
|
|
NULL,
|
|
NULL,
|
|
/* 172 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"|LOCK_ZONES",
|
|
/* 176 */
|
|
"|UNLOCK_ZONES",
|
|
"BBI|SCREEN_TEXT_POBJ",
|
|
"WWBB|GETPATHPOSN",
|
|
"BBB|SCREEN_TEXT_LONG_TEXT",
|
|
/* 180 */
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"|LOAD_BEARD",
|
|
"|UNLOAD_BEARD",
|
|
/* 184 */
|
|
"W|UNLOAD_ZONE",
|
|
"W|LOAD_SOUND_FILES",
|
|
"|UNFREEZE_ZONES",
|
|
"|FADE_TO_BLACK",
|
|
};
|
|
|
|
static const char *const simon2dos_opcode_name_table[256] = {
|
|
/* 0 */
|
|
"|NOT",
|
|
"IJ|AT",
|
|
"IJ|NOT_AT",
|
|
NULL,
|
|
/* 4 */
|
|
NULL,
|
|
"IJ|CARRIED",
|
|
"IJ|NOT_CARRIED",
|
|
"IIJ|IS_AT",
|
|
/* 8 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"VJ|IS_ZERO",
|
|
/* 12 */
|
|
"VJ|ISNOT_ZERO",
|
|
"VWJ|IS_EQ",
|
|
"VWJ|IS_NEQ",
|
|
"VWJ|IS_LE",
|
|
/* 16 */
|
|
"VWJ|IS_GE",
|
|
"VVJ|IS_EQF",
|
|
"VVJ|IS_NEQF",
|
|
"VVJ|IS_LEF",
|
|
/* 20 */
|
|
"VVJ|IS_GEF",
|
|
NULL,
|
|
NULL,
|
|
"WJ|CHANCE",
|
|
/* 24 */
|
|
NULL,
|
|
"IJ|IS_ROOM",
|
|
"IJ|IS_OBJECT",
|
|
"IWJ|ITEM_STATE_IS",
|
|
/* 28 */
|
|
"IBJ|OBJECT_HAS_FLAG",
|
|
NULL,
|
|
NULL,
|
|
"I|SET_NO_PARENT",
|
|
/* 32 */
|
|
NULL,
|
|
"II|SET_PARENT",
|
|
NULL,
|
|
NULL,
|
|
/* 36 */
|
|
"VV|MOVE",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 40 */
|
|
NULL,
|
|
"V|ZERO",
|
|
"VW|SET",
|
|
"VW|ADD",
|
|
/* 44 */
|
|
"VW|SUB",
|
|
"VV|ADDF",
|
|
"VV|SUBF",
|
|
"VW|MUL",
|
|
/* 48 */
|
|
"VW|DIV",
|
|
"VV|MULF",
|
|
"VV|DIVF",
|
|
"VW|MOD",
|
|
/* 52 */
|
|
"VV|MODF",
|
|
"VW|RANDOM",
|
|
NULL,
|
|
"I|SET_A_PARENT",
|
|
/* 56 */
|
|
"IB|SET_CHILD2_BIT",
|
|
"IB|CLEAR_CHILD2_BIT",
|
|
"II|MAKE_SIBLING",
|
|
"I|INC_STATE",
|
|
/* 60 */
|
|
"I|DEC_STATE",
|
|
"IW|SET_STATE",
|
|
"V|SHOW_INT",
|
|
"T|SHOW_STRING_NL",
|
|
/* 64 */
|
|
"T|SHOW_STRING",
|
|
"WWWWWB|ADD_TEXT_BOX",
|
|
"BT|SET_SHORT_TEXT",
|
|
"BT|SET_LONG_TEXT",
|
|
/* 68 */
|
|
"x|END",
|
|
"x|DONE",
|
|
"V|SHOW_STRING_AR3",
|
|
"W|START_SUB",
|
|
/* 72 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 76 */
|
|
"WW|ADD_TIMEOUT",
|
|
"J|IS_M1_EMPTY",
|
|
"J|IS_M3_EMPTY",
|
|
"ITJ|CHILD_FR2_IS",
|
|
/* 80 */
|
|
"IIJ|IS_ITEM_EQ",
|
|
NULL,
|
|
"B|DEBUG",
|
|
"|RESCAN",
|
|
/* 84 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"W|COMMENT",
|
|
/* 88 */
|
|
"|STOP_ANIMATION",
|
|
"|RESTART_ANIMATION",
|
|
"IB|GET_PARENT",
|
|
"IB|GET_NEXT",
|
|
/* 92 */
|
|
"IB|GET_CHILDREN",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 96 */
|
|
"WB|PICTURE",
|
|
"W|LOAD_ZONE",
|
|
"WWBWWW|ANIMATE",
|
|
"WW|STOP_ANIMATE",
|
|
/* 100 */
|
|
"|KILL_ANIMATE",
|
|
"BWWWWWW|DEFINE_WINDOW",
|
|
"B|CHANGE_WINDOW",
|
|
"|CLS",
|
|
/* 104 */
|
|
"B|CLOSE_WINDOW",
|
|
NULL,
|
|
NULL,
|
|
"WWWWWIW|ADD_BOX",
|
|
/* 108 */
|
|
"W|DEL_BOX",
|
|
"W|ENABLE_BOX",
|
|
"W|DISABLE_BOX",
|
|
"WWW|MOVE_BOX",
|
|
/* 112 */
|
|
NULL,
|
|
NULL,
|
|
"IB|DO_ICONS",
|
|
"IBJ|IS_CLASS",
|
|
/* 116 */
|
|
"IB|SET_CLASS",
|
|
"IB|UNSET_CLASS",
|
|
NULL,
|
|
"W|WAIT_SYNC",
|
|
/* 120 */
|
|
"W|SYNC",
|
|
"BI|DEF_OBJ",
|
|
NULL,
|
|
NULL,
|
|
/* 124 */
|
|
NULL,
|
|
"IJ|IS_SIBLING_WITH_A",
|
|
"IBB|DO_CLASS_ICONS",
|
|
"WWB|PLAY_TUNE",
|
|
/* 128 */
|
|
"W|WAIT_END_TUNE",
|
|
"W|IF_END_TUNE",
|
|
"Bww|SET_ADJ_NOUN",
|
|
NULL,
|
|
/* 132 */
|
|
"|SAVE_GAME",
|
|
"|LOAD_GAME",
|
|
"|DUMMYPROC_134",
|
|
"|QUIT_IF_USER_PRESSES_Y",
|
|
/* 136 */
|
|
"IV|COPY_SF",
|
|
"B|RESTORE_ICONS",
|
|
"|FREEZE_ZONES",
|
|
"II|SET_PARENT_SPECIAL",
|
|
/* 140 */
|
|
"|CLEAR_TIMERS",
|
|
"BI|SET_M1_OR_M3",
|
|
"WJ|IS_HITAREA_0x40_CLEAR",
|
|
"I|START_ITEM_SUB",
|
|
/* 144 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 148 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"BI|SET_ARRAY6_TO",
|
|
/* 152 */
|
|
"BB|SET_M1_M3_TO_ARRAY6",
|
|
"B|SET_BIT",
|
|
"B|CLEAR_BIT",
|
|
"BJ|IS_BIT_CLEAR",
|
|
/* 156 */
|
|
"BJ|IS_BIT_SET",
|
|
"IBB|GET_ITEM_PROP",
|
|
"IBW|SET_ITEM_PROP",
|
|
NULL,
|
|
/* 160 */
|
|
"B|SET_INK",
|
|
"BWBW|SETUP_TEXT",
|
|
"BBT|PRINT_STR",
|
|
"W|PLAY_EFFECT",
|
|
/* 164 */
|
|
"|getDollar2",
|
|
"IWWJ|IS_ADJ_NOUN",
|
|
"B|SET_BIT2",
|
|
"B|CLEAR_BIT2",
|
|
/* 168 */
|
|
"BJ|IS_BIT2_CLEAR",
|
|
"BJ|IS_BIT2_SET",
|
|
NULL,
|
|
NULL,
|
|
/* 172 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"|LOCK_ZONES",
|
|
/* 176 */
|
|
"|UNLOCK_ZONES",
|
|
"BBI|SCREEN_TEXT_POBJ",
|
|
"WWBB|GETPATHPOSN",
|
|
"BBB|SCREEN_TEXT_LONG_TEXT",
|
|
/* 180 */
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
NULL,
|
|
NULL,
|
|
/* 184 */
|
|
"W|UNLOAD_ZONE",
|
|
NULL,
|
|
"|UNFREEZE_ZONES",
|
|
NULL,
|
|
/* 188 */
|
|
"BSJ|STRING2_IS",
|
|
"|CLEAR_MARKS",
|
|
"B|WAIT_FOR_MARK",
|
|
};
|
|
|
|
static const char *const simon2talkie_opcode_name_table[256] = {
|
|
/* 0 */
|
|
"|NOT",
|
|
"IJ|AT",
|
|
"IJ|NOT_AT",
|
|
NULL,
|
|
/* 4 */
|
|
NULL,
|
|
"IJ|CARRIED",
|
|
"IJ|NOT_CARRIED",
|
|
"IIJ|IS_AT",
|
|
/* 8 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"VJ|IS_ZERO",
|
|
/* 12 */
|
|
"VJ|ISNOT_ZERO",
|
|
"VWJ|IS_EQ",
|
|
"VWJ|IS_NEQ",
|
|
"VWJ|IS_LE",
|
|
/* 16 */
|
|
"VWJ|IS_GE",
|
|
"VVJ|IS_EQF",
|
|
"VVJ|IS_NEQF",
|
|
"VVJ|IS_LEF",
|
|
/* 20 */
|
|
"VVJ|IS_GEF",
|
|
NULL,
|
|
NULL,
|
|
"WJ|CHANCE",
|
|
/* 24 */
|
|
NULL,
|
|
"IJ|IS_ROOM",
|
|
"IJ|IS_OBJECT",
|
|
"IWJ|ITEM_STATE_IS",
|
|
/* 28 */
|
|
"IBJ|OBJECT_HAS_FLAG",
|
|
NULL,
|
|
NULL,
|
|
"I|SET_NO_PARENT",
|
|
/* 32 */
|
|
NULL,
|
|
"II|SET_PARENT",
|
|
NULL,
|
|
NULL,
|
|
/* 36 */
|
|
"VV|MOVE",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 40 */
|
|
NULL,
|
|
"V|ZERO",
|
|
"VW|SET",
|
|
"VW|ADD",
|
|
/* 44 */
|
|
"VW|SUB",
|
|
"VV|ADDF",
|
|
"VV|SUBF",
|
|
"VW|MUL",
|
|
/* 48 */
|
|
"VW|DIV",
|
|
"VV|MULF",
|
|
"VV|DIVF",
|
|
"VW|MOD",
|
|
/* 52 */
|
|
"VV|MODF",
|
|
"VW|RANDOM",
|
|
NULL,
|
|
"I|SET_A_PARENT",
|
|
/* 56 */
|
|
"IB|SET_CHILD2_BIT",
|
|
"IB|CLEAR_CHILD2_BIT",
|
|
"II|MAKE_SIBLING",
|
|
"I|INC_STATE",
|
|
/* 60 */
|
|
"I|DEC_STATE",
|
|
"IW|SET_STATE",
|
|
"V|SHOW_INT",
|
|
"T|SHOW_STRING_NL",
|
|
/* 64 */
|
|
"T|SHOW_STRING",
|
|
"WWWWWB|ADD_TEXT_BOX",
|
|
"BT|SET_SHORT_TEXT",
|
|
"BTw|SET_LONG_TEXT",
|
|
/* 68 */
|
|
"x|END",
|
|
"x|DONE",
|
|
"V|SHOW_STRING_AR3",
|
|
"W|START_SUB",
|
|
/* 72 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 76 */
|
|
"WW|ADD_TIMEOUT",
|
|
"J|IS_M1_EMPTY",
|
|
"J|IS_M3_EMPTY",
|
|
"ITJ|CHILD_FR2_IS",
|
|
/* 80 */
|
|
"IIJ|IS_ITEM_EQ",
|
|
NULL,
|
|
"B|DEBUG",
|
|
"|RESCAN",
|
|
/* 84 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"W|COMMENT",
|
|
/* 88 */
|
|
"|STOP_ANIMATION",
|
|
"|RESTART_ANIMATION",
|
|
"IB|GET_PARENT",
|
|
"IB|GET_NEXT",
|
|
/* 92 */
|
|
"IB|GET_CHILDREN",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 96 */
|
|
"WB|PICTURE",
|
|
"W|LOAD_ZONE",
|
|
"WWBWWW|ANIMATE",
|
|
"WW|STOP_ANIMATE",
|
|
/* 100 */
|
|
"|KILL_ANIMATE",
|
|
"BWWWWWW|DEFINE_WINDOW",
|
|
"B|CHANGE_WINDOW",
|
|
"|CLS",
|
|
/* 104 */
|
|
"B|CLOSE_WINDOW",
|
|
NULL,
|
|
NULL,
|
|
"WWWWWIW|ADD_BOX",
|
|
/* 108 */
|
|
"W|DEL_BOX",
|
|
"W|ENABLE_BOX",
|
|
"W|DISABLE_BOX",
|
|
"WWW|MOVE_BOX",
|
|
/* 112 */
|
|
NULL,
|
|
NULL,
|
|
"IB|DO_ICONS",
|
|
"IBJ|IS_CLASS",
|
|
/* 116 */
|
|
"IB|SET_CLASS",
|
|
"IB|UNSET_CLASS",
|
|
NULL,
|
|
"W|WAIT_SYNC",
|
|
/* 120 */
|
|
"W|SYNC",
|
|
"BI|DEF_OBJ",
|
|
NULL,
|
|
NULL,
|
|
/* 124 */
|
|
NULL,
|
|
"IJ|IS_SIBLING_WITH_A",
|
|
"IBB|DO_CLASS_ICONS",
|
|
"WWB|PLAY_TUNE",
|
|
/* 128 */
|
|
"W|WAIT_END_TUNE",
|
|
"W|IF_END_TUNE",
|
|
"Bww|SET_ADJ_NOUN",
|
|
NULL,
|
|
/* 132 */
|
|
"|SAVE_GAME",
|
|
"|LOAD_GAME",
|
|
"|DUMMYPROC_134",
|
|
"|QUIT_IF_USER_PRESSES_Y",
|
|
/* 136 */
|
|
"IV|COPY_SF",
|
|
"B|RESTORE_ICONS",
|
|
"|FREEZE_ZONES",
|
|
"II|SET_PARENT_SPECIAL",
|
|
/* 140 */
|
|
"|CLEAR_TIMERS",
|
|
"BI|SET_M1_OR_M3",
|
|
"WJ|IS_HITAREA_0x40_CLEAR",
|
|
"I|START_ITEM_SUB",
|
|
/* 144 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 148 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"BI|SET_ARRAY6_TO",
|
|
/* 152 */
|
|
"BB|SET_M1_M3_TO_ARRAY6",
|
|
"B|SET_BIT",
|
|
"B|CLEAR_BIT",
|
|
"BJ|IS_BIT_CLEAR",
|
|
/* 156 */
|
|
"BJ|IS_BIT_SET",
|
|
"IBB|GET_ITEM_PROP",
|
|
"IBW|SET_ITEM_PROP",
|
|
NULL,
|
|
/* 160 */
|
|
"B|SET_INK",
|
|
"BWBW|SETUP_TEXT",
|
|
"BBTW|PRINT_STR",
|
|
"W|PLAY_EFFECT",
|
|
/* 164 */
|
|
"|getDollar2",
|
|
"IWWJ|IS_ADJ_NOUN",
|
|
"B|SET_BIT2",
|
|
"B|CLEAR_BIT2",
|
|
/* 168 */
|
|
"BJ|IS_BIT2_CLEAR",
|
|
"BJ|IS_BIT2_SET",
|
|
NULL,
|
|
NULL,
|
|
/* 172 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"|LOCK_ZONES",
|
|
/* 176 */
|
|
"|UNLOCK_ZONES",
|
|
"BBI|SCREEN_TEXT_POBJ",
|
|
"WWBB|GETPATHPOSN",
|
|
"BBB|SCREEN_TEXT_LONG_TEXT",
|
|
/* 180 */
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
NULL,
|
|
NULL,
|
|
/* 184 */
|
|
"W|UNLOAD_ZONE",
|
|
NULL,
|
|
"|UNFREEZE_ZONES",
|
|
NULL,
|
|
/* 188 */
|
|
"BSJ|STRING2_IS",
|
|
"|CLEAR_MARKS",
|
|
"B|WAIT_FOR_MARK",
|
|
};
|
|
|
|
static const char *const feeblefiles_opcode_name_table[256] = {
|
|
/* 0 */
|
|
"|NOT",
|
|
"IJ|AT",
|
|
"IJ|NOT_AT",
|
|
NULL,
|
|
/* 4 */
|
|
NULL,
|
|
"IJ|CARRIED",
|
|
"IJ|NOT_CARRIED",
|
|
"IIJ|IS_AT",
|
|
/* 8 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"VJ|IS_ZERO",
|
|
/* 12 */
|
|
"VJ|ISNOT_ZERO",
|
|
"VWJ|IS_EQ",
|
|
"VWJ|IS_NEQ",
|
|
"VWJ|IS_LE",
|
|
/* 16 */
|
|
"VWJ|IS_GE",
|
|
"VVJ|IS_EQF",
|
|
"VVJ|IS_NEQF",
|
|
"VVJ|IS_LEF",
|
|
/* 20 */
|
|
"VVJ|IS_GEF",
|
|
NULL,
|
|
NULL,
|
|
"WJ|CHANCE",
|
|
/* 24 */
|
|
NULL,
|
|
"IJ|IS_ROOM",
|
|
"IJ|IS_OBJECT",
|
|
"IWJ|ITEM_STATE_IS",
|
|
/* 28 */
|
|
"IBJ|OBJECT_HAS_FLAG",
|
|
NULL,
|
|
NULL,
|
|
"I|SET_NO_PARENT",
|
|
/* 32 */
|
|
NULL,
|
|
"II|SET_PARENT",
|
|
NULL,
|
|
NULL,
|
|
/* 36 */
|
|
"VV|MOVE",
|
|
"|JUMP_OUT",
|
|
NULL,
|
|
NULL,
|
|
/* 40 */
|
|
NULL,
|
|
"V|ZERO",
|
|
"VW|SET",
|
|
"VW|ADD",
|
|
/* 44 */
|
|
"VW|SUB",
|
|
"VV|ADDF",
|
|
"VV|SUBF",
|
|
"VW|MUL",
|
|
/* 48 */
|
|
"VW|DIV",
|
|
"VV|MULF",
|
|
"VV|DIVF",
|
|
"VW|MOD",
|
|
/* 52 */
|
|
"VV|MODF",
|
|
"VW|RANDOM",
|
|
NULL,
|
|
"I|SET_A_PARENT",
|
|
/* 56 */
|
|
"IB|SET_CHILD2_BIT",
|
|
"IB|CLEAR_CHILD2_BIT",
|
|
"II|MAKE_SIBLING",
|
|
"I|INC_STATE",
|
|
/* 60 */
|
|
"I|DEC_STATE",
|
|
"IW|SET_STATE",
|
|
"V|SHOW_INT",
|
|
"T|SHOW_STRING_NL",
|
|
/* 64 */
|
|
"T|SHOW_STRING",
|
|
"WWWWWB|ADD_TEXT_BOX",
|
|
"BT|SET_SHORT_TEXT",
|
|
"BTw|SET_LONG_TEXT",
|
|
/* 68 */
|
|
"x|END",
|
|
"x|DONE",
|
|
"V|SHOW_STRING_AR3",
|
|
"W|START_SUB",
|
|
/* 72 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 76 */
|
|
"WW|ADD_TIMEOUT",
|
|
"J|IS_M1_EMPTY",
|
|
"J|IS_M3_EMPTY",
|
|
"ITJ|CHILD_FR2_IS",
|
|
/* 80 */
|
|
"IIJ|IS_ITEM_EQ",
|
|
NULL,
|
|
"B|DEBUG",
|
|
"|RESCAN",
|
|
/* 84 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"W|COMMENT",
|
|
/* 88 */
|
|
"|STOP_ANIMATION",
|
|
"|RESTART_ANIMATION",
|
|
"IB|GET_PARENT",
|
|
"IB|GET_NEXT",
|
|
/* 92 */
|
|
"IB|GET_CHILDREN",
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 96 */
|
|
"WB|PICTURE",
|
|
"W|LOAD_ZONE",
|
|
"WWBWWW|ANIMATE",
|
|
"WW|STOP_ANIMATE",
|
|
/* 100 */
|
|
"|KILL_ANIMATE",
|
|
"BWWWWWW|DEFINE_WINDOW",
|
|
"B|CHANGE_WINDOW",
|
|
"|CLS",
|
|
/* 104 */
|
|
"B|CLOSE_WINDOW",
|
|
NULL,
|
|
NULL,
|
|
"WWWWWIW|ADD_BOX",
|
|
/* 108 */
|
|
"W|DEL_BOX",
|
|
"W|ENABLE_BOX",
|
|
"W|DISABLE_BOX",
|
|
"WWW|MOVE_BOX",
|
|
/* 112 */
|
|
NULL,
|
|
NULL,
|
|
"IB|DO_ICONS",
|
|
"IBJ|IS_CLASS",
|
|
/* 116 */
|
|
"IB|SET_CLASS",
|
|
"IB|UNSET_CLASS",
|
|
NULL,
|
|
"W|WAIT_SYNC",
|
|
/* 120 */
|
|
"W|SYNC",
|
|
"BI|DEF_OBJ",
|
|
"|ORACLE_TEXT_DOWN",
|
|
"|ORACLE_TEXT_UP",
|
|
/* 124 */
|
|
"WJ|IF_TIME",
|
|
"IJ|IS_SIBLING_WITH_A",
|
|
"IBB|DO_CLASS_ICONS",
|
|
"WWB|PLAY_TUNE",
|
|
/* 128 */
|
|
"W|WAIT_END_TUNE",
|
|
"W|IF_END_TUNE",
|
|
"Bww|SET_ADJ_NOUN",
|
|
"|SET_TIME",
|
|
/* 132 */
|
|
"|SAVE_GAME",
|
|
"|LOAD_GAME",
|
|
"|LIST_SAVED_GAMES",
|
|
"|SWITCH_CD",
|
|
/* 136 */
|
|
"IV|COPY_SF",
|
|
"B|RESTORE_ICONS",
|
|
"|FREEZE_ZONES",
|
|
"II|SET_PARENT_SPECIAL",
|
|
/* 140 */
|
|
"|CLEAR_TIMERS",
|
|
"BI|SET_M1_OR_M3",
|
|
"WJ|IS_HITAREA_0x40_CLEAR",
|
|
"I|START_ITEM_SUB",
|
|
/* 144 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
/* 148 */
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
"BI|SET_ARRAY6_TO",
|
|
/* 152 */
|
|
"BB|SET_M1_M3_TO_ARRAY6",
|
|
"B|SET_BIT",
|
|
"B|CLEAR_BIT",
|
|
"BJ|IS_BIT_CLEAR",
|
|
/* 156 */
|
|
"BJ|IS_BIT_SET",
|
|
"IBB|GET_ITEM_PROP",
|
|
"IBW|SET_ITEM_PROP",
|
|
NULL,
|
|
/* 160 */
|
|
"B|SET_INK",
|
|
"BWWW|SETUP_TEXT",
|
|
"BBTW|PRINT_STR",
|
|
"W|PLAY_EFFECT",
|
|
/* 164 */
|
|
"|getDollar2",
|
|
"IWWJ|IS_ADJ_NOUN",
|
|
"B|SET_BIT2",
|
|
"B|CLEAR_BIT2",
|
|
/* 168 */
|
|
"BJ|IS_BIT2_CLEAR",
|
|
"BJ|IS_BIT2_SET",
|
|
NULL,
|
|
"W|HYPERLINK_ON",
|
|
/* 172 */
|
|
"|HYPERLINK_OFF",
|
|
"|CHECK_PATHS",
|
|
NULL,
|
|
"|LOCK_ZONES",
|
|
/* 176 */
|
|
"|UNLOCK_ZONES",
|
|
"BBI|SCREEN_TEXT_POBJ",
|
|
"WWBB|GETPATHPOSN",
|
|
"BBB|SCREEN_TEXT_LONG_TEXT",
|
|
/* 180 */
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"T|LOAD_VIDEO",
|
|
"|PLAY_VIDEO",
|
|
/* 184 */
|
|
"W|UNLOAD_ZONE",
|
|
NULL,
|
|
"|UNFREEZE_ZONES",
|
|
"|CENTRE_SCROLL",
|
|
/* 188 */
|
|
"BSJ|STRING2_IS",
|
|
"|CLEAR_MARKS",
|
|
"B|WAIT_FOR_MARK",
|
|
"|RESET_PV_COUNT",
|
|
/* 192 */
|
|
"BBBB|SET_PATH_VALUES",
|
|
"|STOP_CLOCK",
|
|
"|RESTART_CLOCK",
|
|
"BBBB|SET_COLOR",
|
|
/* 196 */
|
|
"B|B3_SET",
|
|
"B|B3_CLEAR",
|
|
"B|B3_ZERO",
|
|
"B|B3_NOT_ZERO",
|
|
};
|
|
|
|
const char *const simon1_video_opcode_name_table[] = {
|
|
/* 0 */
|
|
"x|RET",
|
|
"ddd|FADEOUT",
|
|
"d|CALL",
|
|
"ddddd|NEW_SPRITE",
|
|
/* 4 */
|
|
"ddd|FADEIN",
|
|
"vd|SKIP_IF_NEQ",
|
|
"d|SKIP_IFN_SIB_WITH_A",
|
|
"d|SKIP_IF_SIB_WITH_A",
|
|
/* 8 */
|
|
"dd|SKIP_IF_PARENT_IS",
|
|
"dd|SKIP_IF_UNK3_IS",
|
|
"ddddd|DRAW",
|
|
"|CLEAR_PATHFIND_ARRAY",
|
|
/* 12 */
|
|
"d|DELAY",
|
|
"d|SET_SPRITE_OFFSET_X",
|
|
"d|SET_SPRITE_OFFSET_Y",
|
|
"d|IDENT_WAKEUP",
|
|
/* 16 */
|
|
"d|IDENT_SLEEP",
|
|
"dq|SET_PATHFIND_ITEM",
|
|
"i|JUMP_REL",
|
|
"|CHAIN_TO",
|
|
/* 20 */
|
|
"dd|SET_REPEAT",
|
|
"i|END_REPEAT",
|
|
"dd|SET_PALETTE",
|
|
"d|SET_PRIORITY",
|
|
/* 24 */
|
|
"diid|SET_SPRITE_XY",
|
|
"x|HALT_SPRITE",
|
|
"ddddd|SET_WINDOW",
|
|
"|RESET",
|
|
/* 28 */
|
|
"dddd|PLAY_SOUND",
|
|
"|STOP_ALL_SOUNDS",
|
|
"d|SET_FRAME_RATE",
|
|
"d|SET_WINDOW",
|
|
/* 32 */
|
|
"vv|COPY_VAR",
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"dd|CLEAR_WINDOW",
|
|
/* 36 */
|
|
"dd|SAVELOAD_THING",
|
|
"v|SET_SPRITE_OFFSET_Y",
|
|
"v|SKIP_IF_VAR_ZERO",
|
|
"vd|SET_VAR",
|
|
/* 40 */
|
|
"vd|ADD_VAR",
|
|
"vd|SUB_VAR",
|
|
"vd|DELAY_IF_NOT_EQ",
|
|
"d|SKIP_IF_BIT_CLEAR",
|
|
/* 44 */
|
|
"d|SKIP_IF_BIT_SET",
|
|
"v|SET_SPRITE_X",
|
|
"v|SET_SPRITE_Y",
|
|
"vv|ADD_VAR_F",
|
|
/* 48 */
|
|
"|COMPUTE_YOFS",
|
|
"d|SET_BIT",
|
|
"d|CLEAR_BIT",
|
|
"d|ENABLE_BOX",
|
|
/* 52 */
|
|
"d|PLAY_EFFECT",
|
|
"dd|DUMMY_53",
|
|
"ddd|DUMMY_54",
|
|
"ddd|MOVE_BOX",
|
|
/* 56 */
|
|
"|DUMMY_56",
|
|
"|BLACK_PALETTE",
|
|
"|SET_PRIORITIES",
|
|
"|SKIP_IF_VOICE",
|
|
/* 60 */
|
|
"d|STOP_ANIMATE",
|
|
"ddd|MASK",
|
|
"|FASTFADEOUT",
|
|
"|FASTFADEIN",
|
|
};
|
|
|
|
const char *const simon2_video_opcode_name_table[] = {
|
|
/* 0 */
|
|
"x|RET",
|
|
"ddd|FADEOUT",
|
|
"d|CALL",
|
|
"ddddd|NEW_SPRITE",
|
|
/* 4 */
|
|
"ddd|FADEIN",
|
|
"vd|SKIP_IF_NEQ",
|
|
"d|SKIP_IFN_SIB_WITH_A",
|
|
"d|SKIP_IF_SIB_WITH_A",
|
|
/* 8 */
|
|
"dd|SKIP_IF_PARENT_IS",
|
|
"dd|SKIP_IF_UNK3_IS",
|
|
"ddddb|DRAW",
|
|
"|CLEAR_PATHFIND_ARRAY",
|
|
/* 12 */
|
|
"b|DELAY",
|
|
"d|SET_SPRITE_OFFSET_X",
|
|
"d|SET_SPRITE_OFFSET_Y",
|
|
"d|IDENT_WAKEUP",
|
|
/* 16 */
|
|
"d|IDENT_SLEEP",
|
|
"dq|SET_PATHFIND_ITEM",
|
|
"i|JUMP_REL",
|
|
"|CHAIN_TO",
|
|
/* 20 */
|
|
"dd|SET_REPEAT",
|
|
"i|END_REPEAT",
|
|
"dd|SET_PALETTE",
|
|
"d|SET_PRIORITY",
|
|
/* 24 */
|
|
"diib|SET_SPRITE_XY",
|
|
"x|HALT_SPRITE",
|
|
"ddddd|SET_WINDOW",
|
|
"|RESET",
|
|
/* 28 */
|
|
"dddd|PLAY_SOUND",
|
|
"|STOP_ALL_SOUNDS",
|
|
"d|SET_FRAME_RATE",
|
|
"d|SET_WINDOW",
|
|
/* 32 */
|
|
"vv|COPY_VAR",
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"dd|CLEAR_WINDOW",
|
|
/* 36 */
|
|
"dd|SAVELOAD_THING",
|
|
"v|SET_SPRITE_OFFSET_Y",
|
|
"v|SKIP_IF_VAR_ZERO",
|
|
"vd|SET_VAR",
|
|
/* 40 */
|
|
"vd|ADD_VAR",
|
|
"vd|SUB_VAR",
|
|
"vd|DELAY_IF_NOT_EQ",
|
|
"d|SKIP_IF_BIT_CLEAR",
|
|
/* 44 */
|
|
"d|SKIP_IF_BIT_SET",
|
|
"v|SET_SPRITE_X",
|
|
"v|SET_SPRITE_Y",
|
|
"vv|ADD_VAR_F",
|
|
/* 48 */
|
|
"|COMPUTE_YOFS",
|
|
"d|SET_BIT",
|
|
"d|CLEAR_BIT",
|
|
"d|ENABLE_BOX",
|
|
/* 52 */
|
|
"d|PLAY_EFFECT",
|
|
"dd|DUMMY_53",
|
|
"ddd|DUMMY_54",
|
|
"ddd|MOVE_BOX",
|
|
/* 56 */
|
|
"i|WAIT_BIG",
|
|
"|BLACK_PALETTE",
|
|
"|SET_PRIORITIES",
|
|
"ddd|STOP_ANIMATIONS",
|
|
/* 60 */
|
|
"dd|STOP_ANIMATE",
|
|
"ddd|MASK",
|
|
"|FASTFADEOUT",
|
|
"|FASTFADEIN",
|
|
/* 64 */
|
|
"|SKIP_IF_VOICE",
|
|
"|SLOW_FADE_IN",
|
|
"|SKIP_IF_NZ",
|
|
"|SKIP_IF_GE",
|
|
/* 68 */
|
|
"|SKIP_IF_LE",
|
|
"dd|PLAY_TRACK",
|
|
"dd|QUEUE_MUSIC",
|
|
"|CHECK_MUSIC_QUEUE",
|
|
/* 72 */
|
|
"dd|PLAY_TRACK_2",
|
|
"bb|SET_MARK",
|
|
"bb|CLEAR_MARK",
|
|
};
|
|
|
|
const char *const feeblefiles_video_opcode_name_table[] = {
|
|
/* 0 */
|
|
"x|RET",
|
|
"ddd|FADEOUT",
|
|
"d|CALL",
|
|
"ddddd|NEW_SPRITE",
|
|
/* 4 */
|
|
"ddd|FADEIN",
|
|
"vd|SKIP_IF_NEQ",
|
|
"d|SKIP_IFN_SIB_WITH_A",
|
|
"d|SKIP_IF_SIB_WITH_A",
|
|
/* 8 */
|
|
"dd|SKIP_IF_PARENT_IS",
|
|
"dd|SKIP_IF_UNK3_IS",
|
|
"ddddb|DRAW",
|
|
"|CLEAR_PATHFIND_ARRAY",
|
|
/* 12 */
|
|
"b|DELAY",
|
|
"d|SET_SPRITE_OFFSET_X",
|
|
"d|SET_SPRITE_OFFSET_Y",
|
|
"d|IDENT_WAKEUP",
|
|
/* 16 */
|
|
"d|IDENT_SLEEP",
|
|
"dq|SET_PATHFIND_ITEM",
|
|
"i|JUMP_REL",
|
|
"|CHAIN_TO",
|
|
/* 20 */
|
|
"dd|SET_REPEAT",
|
|
"i|END_REPEAT",
|
|
"dd|SET_PALETTE",
|
|
"d|SET_PRIORITY",
|
|
/* 24 */
|
|
"diib|SET_SPRITE_XY",
|
|
"x|HALT_SPRITE",
|
|
"ddddd|SET_WINDOW",
|
|
"|RESET",
|
|
/* 28 */
|
|
"dddd|PLAY_SOUND",
|
|
"|STOP_ALL_SOUNDS",
|
|
"d|SET_FRAME_RATE",
|
|
"d|SET_WINDOW",
|
|
/* 32 */
|
|
"vv|COPY_VAR",
|
|
"|MOUSE_ON",
|
|
"|MOUSE_OFF",
|
|
"dd|CLEAR_WINDOW",
|
|
/* 36 */
|
|
"dd|SAVELOAD_THING",
|
|
"v|SET_SPRITE_OFFSET_Y",
|
|
"v|SKIP_IF_VAR_ZERO",
|
|
"vd|SET_VAR",
|
|
/* 40 */
|
|
"vd|ADD_VAR",
|
|
"vd|SUB_VAR",
|
|
"vd|DELAY_IF_NOT_EQ",
|
|
"d|SKIP_IF_BIT_CLEAR",
|
|
/* 44 */
|
|
"d|SKIP_IF_BIT_SET",
|
|
"v|SET_SPRITE_X",
|
|
"v|SET_SPRITE_Y",
|
|
"vv|ADD_VAR_F",
|
|
/* 48 */
|
|
"|COMPUTE_YOFS",
|
|
"d|SET_BIT",
|
|
"d|CLEAR_BIT",
|
|
"d|ENABLE_BOX",
|
|
/* 52 */
|
|
"ddd|PLAY_EFFECT",
|
|
"ddd|PAN_SFX",
|
|
"ddd|DUMMY_54",
|
|
"ddd|MOVE_BOX",
|
|
/* 56 */
|
|
"i|WAIT_BIG",
|
|
"|BLACK_PALETTE",
|
|
"|SET_PRIORITIES",
|
|
"ddd|STOP_ANIMATIONS",
|
|
/* 60 */
|
|
"dd|STOP_ANIMATE",
|
|
"ddd|MASK",
|
|
"|FASTFADEOUT",
|
|
"|FASTFADEIN",
|
|
/* 64 */
|
|
"|SKIP_IF_VOICE",
|
|
"|SLOW_FADE_IN",
|
|
"|SKIP_IF_NZ",
|
|
"|SKIP_IF_GE",
|
|
/* 68 */
|
|
"|SKIP_IF_LE",
|
|
"dd|PLAY_TRACK",
|
|
"dd|QUEUE_MUSIC",
|
|
"|CHECK_MUSIC_QUEUE",
|
|
/* 72 */
|
|
"dd|PLAY_TRACK_2",
|
|
"bb|SET_MARK",
|
|
"bb|CLEAR_MARK",
|
|
"dd|SETSCALE",
|
|
/* 76 */
|
|
"ddd|SETSCALEXOFFS",
|
|
"ddd|SETSCALEYOFFS",
|
|
"|COMPUTEXY",
|
|
"|COMPUTEPOSNUM",
|
|
/* 80 */
|
|
"ddd|SETOVERLAYIMAGE",
|
|
"dd|SETRANDOM",
|
|
"d|GETPATHVALUE",
|
|
"ddd|PLAYSOUNDLOOP",
|
|
"|STOPSOUNDLOOP",
|
|
};
|
|
|
|
} // End of namespace Simon
|
|
|
|
#endif
|
|
|