diff options
author | Torbjörn Andersson | 2004-12-03 19:15:44 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-12-03 19:15:44 +0000 |
commit | c64c7eb4d4edd087031603df446abf271f616480 (patch) | |
tree | dcd747faca1c7f8d8fc0a9ba42a1bf1d076e83a7 /saga/script.h | |
parent | 2cfdcb5a59dec0e66e81dc91be142224156de473 (diff) | |
download | scummvm-rg350-c64c7eb4d4edd087031603df446abf271f616480.tar.gz scummvm-rg350-c64c7eb4d4edd087031603df446abf271f616480.tar.bz2 scummvm-rg350-c64c7eb4d4edd087031603df446abf271f616480.zip |
First pass at migrating from the old Reinherit console to the ScummVM
console.
Some things are likely to have broken. For instance, I believe the old
console was could be visible during gameplay, while ScummVM's is modal. So
any place where we output something to the console during gameplay should
probably be removed.
Some things I've stubbed out. Basically any code that registers a variable.
Most of the debugging commands are untested.
Syntax may have changed because of different command-line parsing. (I never
actually used the old console, so I don't know for sure. :-)
Actually, I'm not that interested in reproducing the old console commands
faithfully. What we should do now is to make the immediately useful console
stuff work. Anything that remains unimplemented should probably be removed.
svn-id: r15976
Diffstat (limited to 'saga/script.h')
-rw-r--r-- | saga/script.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/saga/script.h b/saga/script.h index b45c64e6fd..6777393c55 100644 --- a/saga/script.h +++ b/saga/script.h @@ -186,7 +186,8 @@ public: Script(); ~Script(); - int reg(void); + void CF_script_togglestep(); + int loadScript(int scriptNum); int freeScript(); SCRIPT_BYTECODE *loadBytecode(byte *bytecode_p, size_t bytecode_len); @@ -201,8 +202,8 @@ public: SCRIPT_DATABUF *dataBuffer(int idx) { return _dataBuf[idx]; } YS_DL_LIST *threadList() { return _threadList; } - void scriptInfo(int argc, char *argv[]); - void scriptExec(int argc, char *argv[]); + void scriptInfo(); + void scriptExec(int argc, const char **argv); protected: bool _initialized; |