diff options
author | Sven Hesse | 2011-01-29 22:47:53 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-29 22:47:53 +0000 |
commit | 65bc46d3ab7ba1102c46c475bb145a4c64403109 (patch) | |
tree | a0e4c008684085ae6c93b7217d94e7fa110f09a4 /engines/gob/script.h | |
parent | 40bf0286a1054b09eeb95445499518f7c84aaa04 (diff) | |
download | scummvm-rg350-65bc46d3ab7ba1102c46c475bb145a4c64403109.tar.gz scummvm-rg350-65bc46d3ab7ba1102c46c475bb145a4c64403109.tar.bz2 scummvm-rg350-65bc46d3ab7ba1102c46c475bb145a4c64403109.zip |
GOB: Add Script::evalInt() and Script::evalString()
svn-id: r55634
Diffstat (limited to 'engines/gob/script.h')
-rw-r--r-- | engines/gob/script.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/gob/script.h b/engines/gob/script.h index ffdb4d6340..0e8ac0d69f 100644 --- a/engines/gob/script.h +++ b/engines/gob/script.h @@ -84,8 +84,11 @@ public: void skipExpr(char stopToken); // Higher-level expression parsing functions - char evalExpr(int16 *pRes); - bool evalBool(); + char evalExpr(int16 *pRes); + bool evalBool(); + int32 evalInt(); + + const char *evalString(); // Accessing the result of expressions int32 getResultInt() const; |