From 3884ec6355d4445c278d9d011d16940c3ef8697b Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Wed, 7 Sep 2011 03:44:40 +0200 Subject: DREAMWEB: 'getobtextstart' C++ wrapper --- engines/dreamweb/stubs.cpp | 9 +++++++++ engines/dreamweb/stubs.h | 2 ++ 2 files changed, 11 insertions(+) (limited to 'engines/dreamweb') 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(); + -- cgit v1.2.3