ADL: Separate game-specific state init

This commit is contained in:
Walter van Niftrik 2016-04-10 15:20:17 +02:00 committed by Walter van Niftrik
parent 8cc5100afd
commit 5fe95d51ea
10 changed files with 25 additions and 14 deletions

View file

@ -379,6 +379,12 @@ void AdlEngine::setupOpcodeTables() {
Opcode(o1_setRoomPic);
}
void AdlEngine::initState() {
_state = State();
initGameState();
}
byte AdlEngine::roomArg(byte room) const {
return room;
}