Colobot
|
Interpreter of the language CBot for COLOBOT game. More...
Go to the source code of this file.
Macros | |
#define | STACKRUN 1 |
#define | STACKMEM 1 |
#define | MAXSTACK 990 |
#define | EOX (reinterpret_cast<CBotStack*>(-1)) |
#define | MAX(a, b) ((a>b) ? a : b) |
#define | MAXARRAYSIZE 9999 |
Functions | |
bool | SaveVar (FILE *pf, CBotVar *pVar) |
CBotInstr * | CompileParams (CBotToken *&p, CBotCStack *pStack, CBotVar **ppVars) |
bool | TypeCompatible (CBotTypResult &type1, CBotTypResult &type2, int op=0) |
bool | TypesCompatibles (const CBotTypResult &type1, const CBotTypResult &type2) |
bool | WriteWord (FILE *pf, unsigned short w) |
bool | ReadWord (FILE *pf, unsigned short &w) |
bool | ReadLong (FILE *pf, long &w) |
bool | WriteFloat (FILE *pf, float w) |
bool | WriteLong (FILE *pf, long w) |
bool | ReadFloat (FILE *pf, float &w) |
bool | WriteString (FILE *pf, CBotString s) |
bool | ReadString (FILE *pf, CBotString &s) |
bool | WriteType (FILE *pf, CBotTypResult type) |
bool | ReadType (FILE *pf, CBotTypResult &type) |
float | GetNumFloat (const char *p) |
Interpreter of the language CBot for COLOBOT game.