aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge_main.h
diff options
context:
space:
mode:
authoreriktorbjorn2011-06-19 11:17:54 +0200
committereriktorbjorn2011-06-19 11:17:54 +0200
commit78e3f2a57bc0442066e00c9b625bbdde3c80ddf9 (patch)
treedd3083c98c7865fcb2664a5843c77924068860ab /engines/cge/cge_main.h
parent3871c71f0e6f5202e935ac7119fefedde1f8e449 (diff)
downloadscummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.tar.gz
scummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.tar.bz2
scummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.zip
CGE: Get rid of some static initializing
ScummVM itself (not the engine; I haven't tried that) now starts without crashing. It exits immediately, but as far as I can tell it does not crash. It still produces lots of Valgrind warnings, though...
Diffstat (limited to 'engines/cge/cge_main.h')
-rw-r--r--engines/cge/cge_main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cge/cge_main.h b/engines/cge/cge_main.h
index 3c9fede6fb..fe50e7bab3 100644
--- a/engines/cge/cge_main.h
+++ b/engines/cge/cge_main.h
@@ -169,6 +169,9 @@ void ExpandSprite(SPRITE *spr);
void ContractSprite(SPRITE *spr);
void cge_main(void);
+extern VGA *Vga;
+extern int OffUseCount;
+
} // End of namespace CGE
#endif