aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/hires5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/hires5.cpp')
-rw-r--r--engines/adl/hires5.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/adl/hires5.cpp b/engines/adl/hires5.cpp
index 299d1ec5dd..c1ada9e7d3 100644
--- a/engines/adl/hires5.cpp
+++ b/engines/adl/hires5.cpp
@@ -111,10 +111,10 @@ void HiRes5Engine::setupOpcodeTables() {
Opcode(o4_moveAllItems);
Opcode(o1_quit);
Opcode(o4_setRegion);
- Opcode(o2_save); // TODO
+ Opcode(o4_save);
// 0x10
- Opcode(o2_restore); // TODO
- Opcode(o1_restart); // TODO
+ Opcode(o4_restore);
+ Opcode(o4_restart);
Opcode(o4_setRegionRoom);
Opcode(o_startAnimation);
// 0x14
@@ -244,7 +244,11 @@ void HiRes5Engine::init() {
stream.reset(_disk->createReadStream(0x7, 0xc));
_strings.lineFeeds = readString(*stream);
- // TODO: opcode strings
+ stream.reset(_disk->createReadStream(0x8, 0x3, 0x00, 2));
+ _strings_v2.saveInsert = readStringAt(*stream, 0x66);
+ _strings_v2.saveReplace = readStringAt(*stream, 0x112);
+ _strings_v2.restoreInsert = readStringAt(*stream, 0x180);
+ _strings.playAgain = readStringAt(*stream, 0x247, 0xff);
_messageIds.cantGoThere = 110;
_messageIds.dontUnderstand = 112;