summaryrefslogtreecommitdiff
path: root/src/astfunction.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-12-29 13:06:40 -0700
committerMike Buland <eichlan@xagasoft.com>2011-12-29 13:06:40 -0700
commit1bc10d1408eb29b0675a030e029155dd046b1dd8 (patch)
tree6d649015bdfa69df9de1cb964906fd396b9db82b /src/astfunction.h
parent79dce6268850fb1b0d76c15d5399d66bcd286e5f (diff)
downloadstage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.gz
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.bz2
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.tar.xz
stage-1bc10d1408eb29b0675a030e029155dd046b1dd8.zip
Functions can be called now, at least manually.
A little more work needs to be done before they're being called from code correctly.
Diffstat (limited to 'src/astfunction.h')
-rw-r--r--src/astfunction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/astfunction.h b/src/astfunction.h
index e6470e4..4b2a049 100644
--- a/src/astfunction.h
+++ b/src/astfunction.h
@@ -10,7 +10,7 @@ public:
10 virtual ~AstFunction(); 10 virtual ~AstFunction();
11 11
12 virtual Bu::String getName() const { return sName; } 12 virtual Bu::String getName() const { return sName; }
13 virtual Variable call( const VariableList &lParams ); 13 virtual Variable call( class GameState &gState );
14 14
15 void addParam( const Bu::String &sName ); 15 void addParam( const Bu::String &sName );
16 void setAst( class AstBranch *pAst ); 16 void setAst( class AstBranch *pAst );