diff options
Diffstat (limited to 'engines/draci/game.cpp')
-rw-r--r-- | engines/draci/game.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index 4d6c77a169..e7f1b2d454 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -144,7 +144,7 @@ void Game::init() { changeRoom(0); } -void Game::loadRoom(uint roomNum) { +void Game::loadRoom(int roomNum) { BAFile *f; f = _vm->_roomsArchive->getFile(roomNum * 4); @@ -208,7 +208,7 @@ int Game::loadAnimation(uint animNum, uint z) { BAFile *animFile = _vm->_animationsArchive->getFile(animNum); Common::MemoryReadStream animationReader(animFile->_data, animFile->_length); - int numFrames = animationReader.readByte(); + uint numFrames = animationReader.readByte(); // FIXME: handle these properly animationReader.readByte(); // Memory logic field, not used @@ -356,6 +356,10 @@ void Game::setVariable(int numVar, int value) { _variables[numVar] = value; } +int Game::getIconStatus(int iconID) { + return _iconStatus[iconID]; +} + Game::~Game() { delete[] _persons; delete[] _variables; |