|
Colobot
|
Public Member Functions | |
| CBotProgram (CBotVar *pInstance) | |
| bool | Compile (const char *program, CBotStringArray &ListFonctions, void *pUser=NULL) |
| void | SetIdent (long n) |
| long | GetIdent () |
| int | GetError () |
| bool | GetError (int &code, int &start, int &end) |
| bool | GetError (int &code, int &start, int &end, CBotProgram *&pProg) |
| bool | Start (const char *name) |
| bool | Run (void *pUser=NULL, int timer=-1) |
| bool | GetRunPos (const char *&FunctionName, int &start, int &end) |
| CBotVar * | GetStackVars (const char *&FunctionName, int level) |
| void | Stop () |
| bool | SaveState (FILE *pf) |
| bool | RestoreState (FILE *pf) |
| bool | GetPosition (const char *name, int &start, int &stop, CBotGet modestart=GetPosExtern, CBotGet modestop=GetPosBloc) |
| CBotFunction * | GetFunctions () |
Static Public Member Functions | |
| static void | Init () |
| static void | Free () |
| static int | GetVersion () |
| static CBotString | GetErrorText (int code) |
| static void | SetTimer (int n) |
| static bool | AddFunction (const char *name, bool rExec(CBotVar *pVar, CBotVar *pResult, int &Exception, void *pUser), CBotTypResult rCompile(CBotVar *&pVar, void *pUser)) |
| static bool | DefineNum (const char *name, long val) |
Public Attributes | |
| bool | m_bDebugDD |
| bool | m_bCompileClass |
Static Public Attributes | |
| static CBotString | m_DebugVarStr = "" |
Friends | |
| class | CBotFunction |
1.8.8