diff options
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index fa3b59d9d1..a566f8f222 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -2311,8 +2311,7 @@ void DreamGenContext::loadfolder() { loadintotemp2("DREAMWEB.G10"); loadintotemp3("DREAMWEB.G11"); loadtempcharset("DREAMWEB.C02"); - dx = kFoldertext; // "DREAMWEB.T50" - loadtemptext(); + loadtemptext("DREAMWEB.T50"); } void DreamGenContext::showfolder() { @@ -2498,5 +2497,17 @@ void DreamGenContext::folderexit() { showframe(tempGraphics2(), 296, 178, 6, 0); } +void DreamGenContext::loadtraveltext() { + data.word(kTraveltext) = standardload("DREAMWEB.T81"); +} + +void DreamGenContext::loadtemptext() { + loadtemptext((const char *)cs.ptr(dx, 0)); +} + +void DreamGenContext::loadtemptext(const char *fileName) { + data.word(kTextfile1) = standardload(fileName); +} + } /*namespace dreamgen */ |