BWAPI
SnippyHolloW-BroodwarBotQ-f01ab56/src/Defines.h
Go to the documentation of this file.
00001 #pragma once
00002 //our defin
00003 
00004 #undef _SECURE_SCL
00005 #define _SECURE_SCL 0 // remove iterator runtime checkses
00006 
00007 //#define __DEBUG__
00008 //#define __NON_IMPLEMENTE__
00009 #define BW_POS_MOUSE
00010 //#define __LEARNING_PROB_TABLES__
00011 
00012 #define WALK_TILES_SIZE 8
00013 
00014 //#define __DO_NOT_HARASS_SCOUT__ // will not compile the harassing part in the FirstScoutGoal (to play against the built-in AI)
00015 #define __CONTROL_BO_UNTIL_SECOND_PYLON__ // no supply management before the second pylon, if you don't place it in the BO, you're locked
00016 #define __ETECH_ESTIMATOR__ // use the ETechEstimator (or not if undef)
00017 #define __BENS_LABELS__ // use Ben Weber's openings/strategies labels in the ETechEstimator
00018 #define __WORKERS_FACTOR__ 1.18 // how much more workers we want on top of the optimal count (nb workers = optimal * __WORKERS_FACTOR__)
00019 #define __MAX_WORKERS__ 75
00020 #define __TILES_RADIUS_DEFEND_BASE__ 26
00021 #define __MAX_TRIES_BUILD_SOMETHING__ 1440 // IN FRAMES, 1 minute here
00022 
00023 #ifdef __DEBUG__
00024 //#include <vld.h>
00025 #endif
00026 
00027 #ifndef __DEBUG__ // Perf
00028 #undef __DO_NOT_HARASS_SCOUT__
00029 #define __RELEASE_OPTIM__
00030 #ifdef __RELEASE_OPTIM__
00031 #undef _SECURE_SCL
00032 #define _SECURE_SCL 0 // remove iterator runtime checks
00033 #endif
00034 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines