diff options
author | Max Horn | 2010-11-16 09:53:55 +0000 |
---|---|---|
committer | Max Horn | 2010-11-16 09:53:55 +0000 |
commit | 1dbf8d73d56052654522cf4076490090a41f336b (patch) | |
tree | 4ec9fd566c75859793a1fe72b78d025a87ac03d0 /engines/tinsel/sysvar.cpp | |
parent | ada9c9af608f1af9d00289f4aa2b7be868e2944f (diff) | |
download | scummvm-rg350-1dbf8d73d56052654522cf4076490090a41f336b.tar.gz scummvm-rg350-1dbf8d73d56052654522cf4076490090a41f336b.tar.bz2 scummvm-rg350-1dbf8d73d56052654522cf4076490090a41f336b.zip |
TINSEL: Mark all (?) global vars with a FIXME comment
Use of global vars is what prevents RTL from working in Tinsel (and
probably in other engines). More specifically, the fact that many
global vars are not explicitly inited when the engine is (re)launched.
svn-id: r54262
Diffstat (limited to 'engines/tinsel/sysvar.cpp')
-rw-r--r-- | engines/tinsel/sysvar.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/tinsel/sysvar.cpp b/engines/tinsel/sysvar.cpp index 1732207659..7003d34feb 100644 --- a/engines/tinsel/sysvar.cpp +++ b/engines/tinsel/sysvar.cpp @@ -42,6 +42,8 @@ extern int NewestSavedGame(); //----------------- LOCAL GLOBAL DATA -------------------- +// FIXME: Avoid non-const global vars + static int systemVars[SV_TOPVALID] = { INV_1, // Default inventory @@ -104,7 +106,7 @@ static int systemVars[SV_TOPVALID] = { 0 // ISV_GHOST_COLOUR }; -static SCNHANDLE systemStrings[SS_MAX_VALID]; +static SCNHANDLE systemStrings[SS_MAX_VALID]; // FIXME: Avoid non-const global vars //static bool bFlagNoBlocking = false; |