From 69e52e5f24d3e02dde20bda5ee322697bafc92c8 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Fri, 12 Apr 2013 23:28:44 +0200 Subject: Removed find() & repeat() functions Issue #168 --- src/CBot/CBot.h | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'src/CBot/CBot.h') 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: -- cgit v1.2.3-1-g7c22