aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-02-24 22:40:54 +0000
committerPaweł Kołodziejski2009-02-24 22:40:54 +0000
commite7b0c975d9ff3c8c1053f30c89d3fe4b7e992685 (patch)
tree54a3fbd3509ba923a4008348d8dbbfa010b5ff42 /engines/sci/engine/game.cpp
parenta9dfa2575a7f0406afcbfa9ceec5db31a89f5d20 (diff)
downloadscummvm-rg350-e7b0c975d9ff3c8c1053f30c89d3fe4b7e992685.tar.gz
scummvm-rg350-e7b0c975d9ff3c8c1053f30c89d3fe4b7e992685.tar.bz2
scummvm-rg350-e7b0c975d9ff3c8c1053f30c89d3fe4b7e992685.zip
bring back comments but as TODO comment
svn-id: r38866
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r--engines/sci/engine/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index 447de7b837..5b73fc80e0 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -727,6 +727,7 @@ void script_free_breakpoints(EngineState *s) {
/*************************************************************/
int game_init(EngineState *s) {
+ // FIXME Use new VM instantiation code all over the place"
reg_t game_obj; // Address of the game object
dstack_t *stack;
@@ -819,11 +820,14 @@ int game_exit(EngineState *s) {
sciprintf("Freeing miscellaneous data...\n");
+ // TODO Free parser segment here
if (send_calls_allocated) {
free(send_calls);
send_calls_allocated = 0;
}
+ // TODO Free scripts here
+
menubar_free(s->menubar);
_free_graphics_input(s);