aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Augereau2011-12-04 16:52:52 +0100
committerBertrand Augereau2011-12-04 16:54:06 +0100
commit7ce0cee00289d6c3360cdb9350678b29679249f0 (patch)
treea09e92667100ec7fb0808ec8c49747abb28df05f
parent22a7ab4424f4731a998b17725c89621070231380 (diff)
downloadscummvm-rg350-7ce0cee00289d6c3360cdb9350678b29679249f0.tar.gz
scummvm-rg350-7ce0cee00289d6c3360cdb9350678b29679249f0.tar.bz2
scummvm-rg350-7ce0cee00289d6c3360cdb9350678b29679249f0.zip
DREAMWEB: kIcons2 accessor
-rw-r--r--engines/dreamweb/stubs.cpp4
-rw-r--r--engines/dreamweb/stubs.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index c1f8058eef..940d26a487 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -2488,6 +2488,10 @@ Frame * DreamGenContext::icons1() {
return (Frame *)getSegment(data.word(kIcons1)).ptr(0, 0);
}
+Frame * DreamGenContext::icons2() {
+ return (Frame *)getSegment(data.word(kIcons2)).ptr(0, 0);
+}
+
void DreamGenContext::playChannel0(uint8 index, uint8 repeat) {
if (data.byte(kSoundint) == 255)
return;
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index 816499d08c..54e413ff8d 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -319,6 +319,7 @@
Frame *tempGraphics2();
Frame *tempGraphics3();
Frame *icons1();
+ Frame *icons2();
void accessLightOn();
void accessLightOff();
void randomAccess(uint16 count);