aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/vm.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-04 14:22:17 +0000
committerFilippos Karapetis2009-11-04 14:22:17 +0000
commitc8fbac1517cd2cd60791d598fb1922846ff0b867 (patch)
treeaffd460231664aa124193e0611af1c05a89589b7 /engines/sci/engine/vm.h
parentf83d7c6339258cef9d1c53d91a4e2d7b2637d1ec (diff)
downloadscummvm-rg350-c8fbac1517cd2cd60791d598fb1922846ff0b867.tar.gz
scummvm-rg350-c8fbac1517cd2cd60791d598fb1922846ff0b867.tar.bz2
scummvm-rg350-c8fbac1517cd2cd60791d598fb1922846ff0b867.zip
- Changed the segment manager to be a static part of the engine, and stopped deleting and recreating it when restoring games
- Merged game_exit(), script_free_vm_memory() and script_free_engine() - Cleanup svn-id: r45666
Diffstat (limited to 'engines/sci/engine/vm.h')
-rw-r--r--engines/sci/engine/vm.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/sci/engine/vm.h b/engines/sci/engine/vm.h
index d09cb27e30..391338ec09 100644
--- a/engines/sci/engine/vm.h
+++ b/engines/sci/engine/vm.h
@@ -420,20 +420,6 @@ void script_debug(EngineState *s, bool bp);
int script_init_engine(EngineState *);
/**
- * Frees all additional memory associated with a EngineState block
- * @param[in] s The EngineState whose elements should be cleared
- */
-void script_free_engine(EngineState *s);
-
-/**
- * Frees all script memory (heap, hunk, and class tables).
- * This operation is implicit in script_free_engine(), but is required for
- * restoring the game state.
- * @param[in] s The EngineState to free
- */
-void script_free_vm_memory(EngineState *s);
-
-/**
* Looks up a selector and returns its type and value
* varindex is written to iff it is non-NULL and the selector indicates a property of the object.
* @param[in] segMan The Segment Manager