aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Hesse2009-06-15 23:09:04 +0000
committerSven Hesse2009-06-15 23:09:04 +0000
commit236fad1f192c62e159df118a8164ddd33ee29e42 (patch)
tree8b4d02a062b014a72139f95c0b9ed4eb38ce076b
parent75b44536b17f1a5c01a8ae91e734207b8d036bb2 (diff)
downloadscummvm-rg350-236fad1f192c62e159df118a8164ddd33ee29e42.tar.gz
scummvm-rg350-236fad1f192c62e159df118a8164ddd33ee29e42.tar.bz2
scummvm-rg350-236fad1f192c62e159df118a8164ddd33ee29e42.zip
Adding a TYPE_ enum
svn-id: r41567
-rw-r--r--engines/gob/parse.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/gob/parse.h b/engines/gob/parse.h
index 61ea674132..51a56cd228 100644
--- a/engines/gob/parse.h
+++ b/engines/gob/parse.h
@@ -81,6 +81,22 @@ enum {
};
enum {
+ TYPE_IMM_INT8 = OP_LOAD_IMM_INT8, // 21
+ TYPE_IMM_INT32 = OP_LOAD_IMM_INT32, // 19
+ TYPE_IMM_INT16 = OP_LOAD_IMM_INT16, // 20
+ TYPE_IMM_STR = OP_LOAD_IMM_STR, // 22
+ TYPE_VAR_INT8 = OP_LOAD_VAR_INT8, // 18
+ TYPE_VAR_INT16 = OP_LOAD_VAR_INT16, // 17
+ TYPE_VAR_INT32 = OP_LOAD_VAR_INT32, // 23
+ TYPE_VAR_STR = OP_LOAD_VAR_STR, // 25
+ TYPE_ARRAY_INT8 = OP_ARRAY_INT8, // 16
+ TYPE_ARRAY_INT16 = OP_ARRAY_INT16, // 27
+ TYPE_ARRAY_INT32 = OP_ARRAY_INT32, // 26
+ TYPE_ARRAY_STR = OP_ARRAY_STR, // 28
+ TYPE_VAR_INT32_AS_INT16 = OP_LOAD_VAR_INT32_AS_INT16 // 24
+};
+
+enum {
// FIXME: The following two 'truth values' are stored inside the list
// of "operators". So they somehow coincide with OP_LOAD_VAR_INT32
// and OP_LOAD_VAR_INT32_AS_INT16. I haven't yet quite understood