aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorBertrand Augereau2011-09-07 03:44:40 +0200
committerBertrand Augereau2011-09-07 03:44:40 +0200
commit3884ec6355d4445c278d9d011d16940c3ef8697b (patch)
tree2fb200ef1384b53eead873320cf85fce7e3449d3 /engines/dreamweb
parent09a734bd25a341ec0483f28c77406d6de41ab30f (diff)
downloadscummvm-rg350-3884ec6355d4445c278d9d011d16940c3ef8697b.tar.gz
scummvm-rg350-3884ec6355d4445c278d9d011d16940c3ef8697b.tar.bz2
scummvm-rg350-3884ec6355d4445c278d9d011d16940c3ef8697b.zip
DREAMWEB: 'getobtextstart' C++ wrapper
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/stubs.cpp9
-rw-r--r--engines/dreamweb/stubs.h2
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index bd589b2d0d..034f794c29 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -1915,6 +1915,15 @@ uint8 DreamGenContext::findnextcolon(uint8 **string) {
return c;
}
+uint8 *DreamGenContext::getobtextstartCPP() {
+ push(es);
+ push(si);
+ getobtextstart();
+ uint8 *result = es.ptr(si, 0);
+ si = pop();
+ es = pop();
+ return result;
+}
} /*namespace dreamgen */
diff --git a/engines/dreamweb/stubs.h b/engines/dreamweb/stubs.h
index 3149363301..26acdde45d 100644
--- a/engines/dreamweb/stubs.h
+++ b/engines/dreamweb/stubs.h
@@ -237,4 +237,6 @@
void hangonp(uint16 count);
uint8 findnextcolon(uint8 **string);
void findnextcolon();
+ uint8 *getobtextstartCPP();
+