Colobot
Public Member Functions | Static Public Member Functions | List of all members
CBotCall Class Reference

Public Member Functions

 CBotCall (const char *name, bool rExec(CBotVar *pVar, CBotVar *pResult, int &Exception, void *pUser), CBotTypResult rCompile(CBotVar *&pVar, void *pUser))
 
bool Run (CBotStack *pStack)
 
CBotString GetName ()
 
CBotCallNext ()
 

Static Public Member Functions

static bool AddFunction (const char *name, bool rExec(CBotVar *pVar, CBotVar *pResult, int &Exception, void *pUser), CBotTypResult rCompile(CBotVar *&pVar, void *pUser))
 
static CBotTypResult CompileCall (CBotToken *&p, CBotVar **ppVars, CBotCStack *pStack, long &nIdent)
 
static bool CheckCall (const char *name)
 
static int DoCall (long &nIdent, CBotToken *token, CBotVar **ppVars, CBotStack *pStack, CBotTypResult &rettype)
 
static bool RestoreCall (long &nIdent, CBotToken *token, CBotVar **ppVar, CBotStack *pStack)
 
static void SetPUser (void *pUser)
 
static void Free ()
 

The documentation for this class was generated from the following files: