diff options
author | Eugene Sandulenko | 2004-08-12 23:57:45 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-08-12 23:57:45 +0000 |
commit | 3fe739efb24e72a97fd9212657cd692df8d97c90 (patch) | |
tree | a063d8ab02f7cf19e179e4ae8c8f7e7504f30ac7 /saga/interface.cpp | |
parent | cdb88416a850cea68baab90685c14aa1d7624111 (diff) | |
download | scummvm-rg350-3fe739efb24e72a97fd9212657cd692df8d97c90.tar.gz scummvm-rg350-3fe739efb24e72a97fd9212657cd692df8d97c90.tar.bz2 scummvm-rg350-3fe739efb24e72a97fd9212657cd692df8d97c90.zip |
Merge SDEBUG_*, SF_* and STHREAD_* into Script class.
svn-id: r14568
Diffstat (limited to 'saga/interface.cpp')
-rw-r--r-- | saga/interface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/saga/interface.cpp b/saga/interface.cpp index a87957b818..f16dd19e50 100644 --- a/saga/interface.cpp +++ b/saga/interface.cpp @@ -32,7 +32,7 @@ #include "saga/font.h" #include "saga/objectmap.h" #include "saga/rscfile_mod.h" -#include "saga/script_mod.h" +#include "saga/script.h" #include "saga/sprite.h" #include "saga/interface.h" @@ -142,7 +142,7 @@ Interface::Interface(SagaEngine *vm) : _vm(vm), _initialized(false) { return; } - _iThread = STHREAD_Create(); + _iThread = _vm->_script->SThreadCreate(); if (_iThread == NULL) { warning("Interface::Interface(): Error creating script thread for game interface module"); return; @@ -504,7 +504,7 @@ int Interface::handlePlayfieldClick(R_SURFACE *ds, R_POINT *imouse_pt) { // Execute object script if present if (script_num != 0) { - STHREAD_Execute(_iThread, script_num); + _vm->_script->SThreadExecute(_iThread, script_num); } } } else { |