Fix non-integer expressions in #if

master
Piotr Dziwinski 2015-04-27 18:15:29 +02:00
parent 3dce58c0fa
commit fcd904faf7
8 changed files with 11 additions and 11 deletions

View File

@ -28,8 +28,8 @@
#include "CBotDll.h" // public definitions
#include "CBotToken.h" // token management
#define STACKRUN true /// \def return execution directly on a suspended routine
#define STACKMEM true /// \def preserve memory for the execution stack
#define STACKRUN 1 /// \def return execution directly on a suspended routine
#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
@ -1516,7 +1516,7 @@ extern bool ReadType(FILE* pf, CBotTypResult& type);
extern float GetNumFloat( const char* p );
#if false
#if 0
extern void DEBUG( const char* text, int val, CBotStack* pile );
#endif

View File

@ -27,7 +27,7 @@
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
#if ADJUST_ANGLE

View File

@ -31,7 +31,7 @@
#include <stdio.h>
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
const float START_TIME = 1000.0f; // beginning of the relative time

View File

@ -30,7 +30,7 @@
#include <stdio.h>
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
const float START_TIME = 1000.0f; // beginning of the relative time

View File

@ -37,7 +37,7 @@
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
const int ADJUST_ACTION = (3*3*3*3*MH_SPEC+3*3*3*MHS_SATCOM);
const float START_TIME = 1000.0f; // beginning of the relative time

View File

@ -30,7 +30,7 @@
#include <stdio.h>
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
const float START_TIME = 1000.0f; // beginning of the relative time

View File

@ -31,7 +31,7 @@
#define ADJUST_ANGLE false // true -> adjusts the angles of the members
#define ADJUST_ANGLE 0 // 1 -> adjusts the angles of the members
const float START_TIME = 1000.0f; // beginning of the relative time

View File

@ -89,8 +89,8 @@
#define ADJUST_ONBOARD false // true -> adjusts the camera ONBOARD
#define ADJUST_ARM false // true -> adjusts the manipulator arm
#define ADJUST_ONBOARD 0 // 1 -> adjusts the camera ONBOARD
#define ADJUST_ARM 0 // 1 -> adjusts the manipulator arm
const float VIRUS_DELAY = 60.0f; // duration of virus infection
const float LOSS_SHIELD = 0.24f; // loss of the shield by shot
const float LOSS_SHIELD_H = 0.10f; // loss of the shield for humans