diff options
author | krzys-h <krzys_h@interia.pl> | 2013-04-12 23:28:44 +0200 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2013-04-12 23:28:44 +0200 |
commit | 69e52e5f24d3e02dde20bda5ee322697bafc92c8 (patch) | |
tree | 19f8a0076d84f2830811f5bdec8a8ec33c1e9284 /src/CBot/CBot.h | |
parent | 7b2e0e6519525f872fb58df7f287eaefd3c15782 (diff) | |
download | colobot-69e52e5f24d3e02dde20bda5ee322697bafc92c8.tar.gz colobot-69e52e5f24d3e02dde20bda5ee322697bafc92c8.tar.bz2 colobot-69e52e5f24d3e02dde20bda5ee322697bafc92c8.zip |
Removed find() & repeat() functions
Issue #168
Diffstat (limited to 'src/CBot/CBot.h')
-rw-r--r-- | src/CBot/CBot.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/CBot/CBot.h b/src/CBot/CBot.h index 8886308..f5d78c8 100644 --- a/src/CBot/CBot.h +++ b/src/CBot/CBot.h @@ -57,7 +57,6 @@ class CBotExprVar; // a variable name as class CBotWhile; // while (...) {...}; class CBotIf; // if (...) {...} else {...} class CBotDefParam; // paramerer list of a function -class CBotRepeat; // repeat (nb) {...} @@ -492,32 +491,6 @@ public: void RestoreState(CBotStack* &pj, bool bMain); }; -class CBotRepeat : public CBotInstr -{ -private: - /// Number of iterations - CBotInstr* m_NbIter; - - /// Instructions - CBotInstr* m_Block; - - /// Label - CBotString m_label; // a label if there is - -public: - CBotRepeat(); - ~CBotRepeat(); - - /// Static method used for compilation - static CBotInstr* Compile(CBotToken* &p, CBotCStack* pStack); - - /// Execute - bool Execute(CBotStack* &pj); - - /// Restore state - void RestoreState(CBotStack* &pj, bool bMain); -}; - class CBotDo : public CBotInstr { private: |