aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/parse.h')
-rw-r--r--engines/gob/parse.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/gob/parse.h b/engines/gob/parse.h
index 2048acca49..4a13a3154b 100644
--- a/engines/gob/parse.h
+++ b/engines/gob/parse.h
@@ -111,6 +111,9 @@ enum {
class Parse {
public:
+ Parse(GobEngine *vm);
+ virtual ~Parse() {}
+
void skipExpr(char stopToken);
void printExpr(char stopToken);
void printVarIndex(void);
@@ -119,11 +122,9 @@ public:
int16 parseValExpr(byte stopToken = 99);
int16 parseExpr(byte stopToken, byte *type);
- Parse(GobEngine *vm);
- virtual ~Parse() {}
+ int32 getResultInt();
char _resultStr[200];
- int32 _resultInt;
private:
class Stack {
@@ -154,6 +155,8 @@ private:
GobEngine *_vm;
+ int32 _resultInt;
+
int32 encodePtr(byte *ptr, int type);
byte *decodePtr(int32 n);