ADL: Separate game-specific state init
This commit is contained in:
parent
8cc5100afd
commit
5fe95d51ea
10 changed files with 25 additions and 14 deletions
|
@ -379,6 +379,12 @@ void AdlEngine::setupOpcodeTables() {
|
|||
Opcode(o1_setRoomPic);
|
||||
}
|
||||
|
||||
void AdlEngine::initState() {
|
||||
_state = State();
|
||||
|
||||
initGameState();
|
||||
}
|
||||
|
||||
byte AdlEngine::roomArg(byte room) const {
|
||||
return room;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue