diff options
author | Piotr Dziwiński <piotrdz@gmail.com> | 2013-04-27 08:29:34 -0700 |
---|---|---|
committer | Piotr Dziwiński <piotrdz@gmail.com> | 2013-04-27 08:29:34 -0700 |
commit | 0ce02b21f40ed8a0086dffe2c4bb01eeff942e58 (patch) | |
tree | 05527ae7d5bf60b799cf23d3f34b42d427698a3b /src/script/script.h | |
parent | 22c3f44c61c9fbb826c5c0e18baba4e6952364af (diff) | |
parent | 41fb814e99adb1bbb6b62aeb821574713c8c799b (diff) | |
download | colobot-0ce02b21f40ed8a0086dffe2c4bb01eeff942e58.tar.gz colobot-0ce02b21f40ed8a0086dffe2c4bb01eeff942e58.tar.bz2 colobot-0ce02b21f40ed8a0086dffe2c4bb01eeff942e58.zip |
Merge pull request #190 from xiendev/dev
Added "build (category)" instruction for ingame scripting
Diffstat (limited to 'src/script/script.h')
-rw-r--r-- | src/script/script.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/script.h b/src/script/script.h index 0d2726a..597486b 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -104,7 +104,7 @@ private: static CBotTypResult cSearch(CBotVar* &var, void* user); static CBotTypResult cRadar(CBotVar* &var, void* user); static CBotTypResult cDetect(CBotVar* &var, void* user); - static CBotTypResult cDirection(CBotVar* &var, void* user); + static CBotTypResult cDirection(CBotVar* &var, void* user); static CBotTypResult cProduce(CBotVar* &var, void* user); static CBotTypResult cDistance(CBotVar* &var, void* user); static CBotTypResult cSpace(CBotVar* &var, void* user); @@ -139,6 +139,7 @@ private: static bool rRadar(CBotVar* var, CBotVar* result, int& exception, void* user); static bool rDetect(CBotVar* var, CBotVar* result, int& exception, void* user); static bool rDirection(CBotVar* var, CBotVar* result, int& exception, void* user); + static bool rBuild(CBotVar* var, CBotVar* result, int& exception, void* user); static bool rProduce(CBotVar* var, CBotVar* result, int& exception, void* user); static bool rDistance(CBotVar* var, CBotVar* result, int& exception, void* user); static bool rDistance2d(CBotVar* var, CBotVar* result, int& exception, void* user); |