diff options
Diffstat (limited to 'engines/draci/game.cpp')
| -rw-r--r-- | engines/draci/game.cpp | 12 | 
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index ce09ff42a5..cb8385b741 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -211,7 +211,9 @@ int Game::loadAnimation(uint animNum, uint z) {  	// FIXME: handle these properly  	animationReader.readByte(); // Memory logic field, not used  	animationReader.readByte(); // Disable erasing field, not used -	bool cyclic = animationReader.readByte(); // Cyclic field, not used +	 +	bool cyclic = animationReader.readByte(); +  	animationReader.readByte(); // Relative field, not used  	Animation *anim = _vm->_anims->addAnimation(animNum, z, false); @@ -339,6 +341,14 @@ int Game::getRoomNum() {  	return _currentRoom._roomNum;  } +int Game::getVariable(int numVar) { +	return _variables[numVar]; +} + +void Game::setVariable(int numVar, int value) { +	_variables[numVar] = value; +} +  Game::~Game() {  	delete[] _persons;  	delete[] _variables;  | 
