diff options
Diffstat (limited to 'engines/draci/game.h')
-rw-r--r-- | engines/draci/game.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h index 14140f44e3..5ba0626557 100644 --- a/engines/draci/game.h +++ b/engines/draci/game.h @@ -106,6 +106,20 @@ public: int getRoomNum(); + // HACK: this is only for testing + void incRoomNum() { + int n = _currentRoom._roomNum; + n = n < 25 ? n+1 : n; + _currentRoom._roomNum = n; + } + + // HACK: same as above + void decRoomNum() { + int n = _currentRoom._roomNum; + n = n > 0 ? n-1 : n; + _currentRoom._roomNum = n; + } + void loadRoom(uint roomNum); int loadAnimation(uint animNum); void loadOverlays(); |