Skip to content

Commit

Permalink
ADL: Stub init disk opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
waltervn committed Jun 6, 2016
1 parent 905e2cd commit 3afcf67
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions engines/adl/adl_v2.cpp
Expand Up @@ -102,6 +102,8 @@ void AdlEngine_v2::setupOpcodeTables() {
Opcode(o1_setRoomPic);
Opcode(o2_tellTime);
Opcode(o2_setRoomFromVar);
// 0x20
Opcode(o2_initDisk);
}

bool AdlEngine_v2::matchesCurrentPic(byte pic) const {
Expand Down Expand Up @@ -287,4 +289,9 @@ int AdlEngine_v2::o2_setRoomFromVar(ScriptEnv &e) {
return 1;
}

int AdlEngine_v2::o2_initDisk(ScriptEnv &e) {
printString("NOT REQUIRED");
return 0;
}

} // End of namespace Adl
1 change: 1 addition & 0 deletions engines/adl/adl_v2.h
Expand Up @@ -63,6 +63,7 @@ class AdlEngine_v2 : public AdlEngine {
int o2_placeItem(ScriptEnv &e);
int o2_tellTime(ScriptEnv &e);
int o2_setRoomFromVar(ScriptEnv &e);
int o2_initDisk(ScriptEnv &e);

struct {
Common::String time;
Expand Down

0 comments on commit 3afcf67

Please sign in to comment.