- SQ5 floppy starts now
- Added a new console command, "room", which shows the current room svn-id: r40943
This commit is contained in:
parent
9fd5611fe4
commit
c75bdbc8e9
4 changed files with 17 additions and 2 deletions
|
@ -88,6 +88,7 @@ Console::Console(SciEngine *vm) : GUI::Debugger() {
|
|||
DCmd_Register("man", WRAP_METHOD(Console, cmdMan));
|
||||
DCmd_Register("hexdump", WRAP_METHOD(Console, cmdHexDump));
|
||||
DCmd_Register("dissect_script", WRAP_METHOD(Console, cmdDissectScript));
|
||||
DCmd_Register("room", WRAP_METHOD(Console, cmdRoomNumber));
|
||||
}
|
||||
|
||||
Console::~Console() {
|
||||
|
@ -323,4 +324,10 @@ bool Console::cmdDissectScript(int argc, const char **argv) {
|
|||
return true;
|
||||
}
|
||||
|
||||
bool Console::cmdRoomNumber(int argc, const char **argv) {
|
||||
DebugPrintf("Current room number is %d\n", g_EngineState->currentRoomNumber());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
} // End of namespace Sci
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue