aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/game.cpp
diff options
context:
space:
mode:
authorMax Horn2009-04-11 09:58:30 +0000
committerMax Horn2009-04-11 09:58:30 +0000
commit57f367acb5804f8cd8a530e1247bbc6668ec194b (patch)
tree5d0ae3da75d412e79119841892eb038efb7a39a5 /engines/sci/engine/game.cpp
parent5749b363d58d49c79db0a63f7eb136b34e3c641f (diff)
downloadscummvm-rg350-57f367acb5804f8cd8a530e1247bbc6668ec194b.tar.gz
scummvm-rg350-57f367acb5804f8cd8a530e1247bbc6668ec194b.tar.bz2
scummvm-rg350-57f367acb5804f8cd8a530e1247bbc6668ec194b.zip
SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated & send_calls vars by a local Common::Stack instance
svn-id: r39930
Diffstat (limited to 'engines/sci/engine/game.cpp')
-rw-r--r--engines/sci/engine/game.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index 3da6caa54d..4c76a72272 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -37,11 +37,6 @@
namespace Sci {
-// Structures and data from vm.c:
-extern CallsStruct *send_calls;
-extern int send_calls_allocated;
-extern int bp_flag;
-
static int _init_vocabulary(EngineState *s) { // initialize vocabulary and related resources
s->parser_lastmatch_word = SAID_NO_MATCH;
s->parser_rules = NULL;
@@ -602,13 +597,6 @@ int game_init(EngineState *s) {
s->_synonyms.clear(); // No synonyms
- // Initialize send_calls buffer
-
- if (!send_calls_allocated) {
- send_calls_allocated = 16;
- send_calls = (CallsStruct*)sci_calloc(sizeof(CallsStruct), send_calls_allocated);
- }
-
if (s->gfx_state && _reset_graphics_input(s))
return 1;
@@ -679,8 +667,6 @@ int game_exit(EngineState *s) {
sciprintf("Freeing miscellaneous data...\n");
// TODO Free parser segment here
- free(send_calls);
- send_calls_allocated = 0;
// TODO Free scripts here