diff options
author | Eugene Sandulenko | 2016-08-04 15:52:24 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-04 15:52:24 +0200 |
commit | 266e8e6611950e02a9c9feb8492c0a552deee702 (patch) | |
tree | eb1547da7985d5f0f7c1bab61ee480b3c3f992be /engines/director/lingo/lingo.h | |
parent | e7cc065c6ce646acb291d1d7784f20dffa3929d2 (diff) | |
download | scummvm-rg350-266e8e6611950e02a9c9feb8492c0a552deee702.tar.gz scummvm-rg350-266e8e6611950e02a9c9feb8492c0a552deee702.tar.bz2 scummvm-rg350-266e8e6611950e02a9c9feb8492c0a552deee702.zip |
DIRECTOR: Lingo: Add prefix 'v' to all Symbol types.
Helps WinCE backend which has lots of them defined.
Diffstat (limited to 'engines/director/lingo/lingo.h')
-rw-r--r-- | engines/director/lingo/lingo.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/director/lingo/lingo.h b/engines/director/lingo/lingo.h index 51cc649670..fb68dbb4e3 100644 --- a/engines/director/lingo/lingo.h +++ b/engines/director/lingo/lingo.h @@ -82,12 +82,12 @@ struct Symbol { /* symbol table entry */ char *name; int type; union { - int i; /* VAR */ - double f; /* FLOAT */ - ScriptData *defn; /* FUNCTION, PROCEDURE */ - void (*func)(void); /* BUILTIN */ - Common::String *s; /* STRING */ - FloatArray *arr; /* ARRAY, POINT, RECT */ + int i; /* vVAR */ + double f; /* vFLOAT */ + ScriptData *defn; /* vFUNCTION, vPROCEDURE */ + void (*func)(void); /* vBUILTIN */ + Common::String *s; /* vSTRING */ + FloatArray *arr; /* vARRAY, vPOINT, vRECT */ } u; int nargs; bool global; @@ -103,10 +103,10 @@ struct Datum { /* interpreter stack type */ double f; Common::String *s; Symbol *sym; - FloatArray *arr; /* ARRAY, POINT, RECT */ + FloatArray *arr; /* vARRAY, vPOINT, vRECT */ } u; - Datum() { u.sym = NULL; type = VOIDVAL; } + Datum() { u.sym = NULL; type = vVOID; } double toFloat(); int toInt(); |