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