diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-30 11:00:04 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-30 11:00:04 -0700 |
commit | 59f94f34ea25ce8613849bad43faf022b9ed5f5d (patch) | |
tree | 987aaeab8fbe4635018be1d2d31ea5c21e2edb69 /src/gamestate.h | |
parent | 9e6dc529833d17374a73bae1f30c7970f936f7cc (diff) | |
download | stage-59f94f34ea25ce8613849bad43faf022b9ed5f5d.tar.gz stage-59f94f34ea25ce8613849bad43faf022b9ed5f5d.tar.bz2 stage-59f94f34ea25ce8613849bad43faf022b9ed5f5d.tar.xz stage-59f94f34ea25ce8613849bad43faf022b9ed5f5d.zip |
Looks like commands work, mostly.
Diffstat (limited to 'src/gamestate.h')
-rw-r--r-- | src/gamestate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gamestate.h b/src/gamestate.h index 61e18e8..d88fecb 100644 --- a/src/gamestate.h +++ b/src/gamestate.h | |||
@@ -25,6 +25,7 @@ public: | |||
25 | void push( const Variable &v ) { lStack.push( v ); } | 25 | void push( const Variable &v ) { lStack.push( v ); } |
26 | 26 | ||
27 | void callFunction( const Bu::String &sName ); | 27 | void callFunction( const Bu::String &sName ); |
28 | void execCommand( const Bu::String &sCmd ); | ||
28 | 29 | ||
29 | bool hasVariable( const Bu::String &sName, ScopeId id ); | 30 | bool hasVariable( const Bu::String &sName, ScopeId id ); |
30 | void delVariable( const Bu::String &sName, ScopeId id ); | 31 | void delVariable( const Bu::String &sName, ScopeId id ); |
@@ -32,6 +33,7 @@ public: | |||
32 | void setVariable( const Bu::String &sName, const Variable &v, ScopeId id=sidLocal ); | 33 | void setVariable( const Bu::String &sName, const Variable &v, ScopeId id=sidLocal ); |
33 | 34 | ||
34 | Variable deref( const Variable &src ); | 35 | Variable deref( const Variable &src ); |
36 | Bu::StringList tokenize( const Bu::String &sSrc ); | ||
35 | 37 | ||
36 | private: | 38 | private: |
37 | void parse( const AstBranch::NodeList &lCode ); | 39 | void parse( const AstBranch::NodeList &lCode ); |