Moving some define from CBot.h to CBotDefines.h.

dev-time-step
Grunaka 2015-11-22 17:38:16 +01:00
parent 751999064b
commit b28e2aec01
3 changed files with 7 additions and 5 deletions

View File

@ -29,11 +29,6 @@
#include "CBotToken.h" // token management #include "CBotToken.h" // token management
#include "CBotProgram.h" #include "CBotProgram.h"
#define STACKMEM 1 /// \def preserve memory for the execution stack
#define MAXSTACK 990 /// \def stack size reserved
#define EOX (reinterpret_cast<CBotStack*>(-1)) /// \def tag special condition
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
// forward declaration // forward declaration

View File

@ -28,6 +28,11 @@
// Global include // Global include
#define STACKMEM 1 /// \def preserve memory for the execution stack
#define MAXSTACK 990 /// \def stack size reserved
#define EOX (reinterpret_cast<CBotStack*>(-1)) /// \def tag special condition
#define MAXARRAYSIZE 9999 #define MAXARRAYSIZE 9999
// variable type SetPrivate / IsPrivate // variable type SetPrivate / IsPrivate

View File

@ -22,6 +22,8 @@
// Modules inlcude // Modules inlcude
#include "CBot.h" #include "CBot.h"
#include "CBotDefines.h"
// Local include // Local include
// Global include // Global include