aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-16 09:53:55 +0000
committerMax Horn2010-11-16 09:53:55 +0000
commit1dbf8d73d56052654522cf4076490090a41f336b (patch)
tree4ec9fd566c75859793a1fe72b78d025a87ac03d0 /engines/tinsel/tinsel.cpp
parentada9c9af608f1af9d00289f4aa2b7be868e2944f (diff)
downloadscummvm-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/tinsel.cpp')
-rw-r--r--engines/tinsel/tinsel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index 9eb4bcbdfe..44035db4ed 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -98,6 +98,8 @@ void SetNewScene(SCNHANDLE scene, int entrance, int transition);
//----------------- GLOBAL GLOBAL DATA --------------------
+// FIXME: Avoid non-const global vars
+
bool bRestart = false;
bool bHasRestarted = false;
bool loadingFromGMM = false;
@@ -634,6 +636,7 @@ void RestoreMasterProcess(INT_CONTEXT *pic) {
}
// FIXME: CountOut is used by ChangeScene
+// FIXME: Avoid non-const global vars
static int CountOut = 1; // == 1 for immediate start of first scene
/**