Files
source/builddefines.h
T
Wanne b2ab0a29c8 - Exception patch update note from previous commit (5141)
o The command line option hidden in the exception patch would be used like the following:

o This overrides the vfs config to use the aimnas config. (useful for desktop shortcuts)
  JA2_EN_Release.exe /VFS_CONFIG_INI=vfs_config.JA2113AIMNAS.ini

o This overrides vfs file and disables the highspeed timer:
  JA2_EN_Release.exe /VFS_CONFIG_INI=vfs_config.JA2113AIMNAS.ini /HIGHSPEED_TIMER=FALSE 


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5142 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2012-04-02 09:01:17 +00:00

76 lines
1.7 KiB
C

#ifndef _BUILDDEFINES_H
#define _BUILDDEFINES_H
#include "Language Defines.h"
// -----------------------------
// *****************************
// WANNE: Enable those 2 defines, if you want to build UB-Version!!
//JA2/Unfinished Business
//#define JA2UB
//Unfinished Business - Titles (ja2set.dat)
//#define JA2UBMAPS
// *****************************
// -----------------------------
// Map Editor version - you should use the MapEditor configuration instead of messing with these defines (ChrisL)
//#define JA2BETAVERSION
//#define JA2EDITOR
// Normal test version
//#define JA2TESTVERSION
//#define SGP_DEBUG
//#define DEBUG_ATTACKBUSY
//#define DEBUGDECISIONS
#define ROBOT_ALWAYS_READY
#define FORCE_ASSERTS_ON
//#ifdef _DEBUG
// #ifndef JA2TESTVERSION
// #define JA2TESTVERSION
// #endif
//#endif
// Do combinations
//#ifdef JA2TESTVERSION
// #define JA2BETAVERSION
// #define JA2EDITOR
//#endif
#ifdef JA2BETAVERSION
#ifndef JA2EDITOR
// #define SGP_DEBUG
// #define FORCE_ASSERTS_ON
// #define SGP_VIDEO_DEBUGGING
#endif
#endif
//#define CRIPPLED_VERSION
// Huge speed and memory hog, but thorough -- will work with release builds.
// #define EXTREME_MEMORY_DEBUGGING
// 0verhaul
// These squelch warnings in VC2K5 about printf's and string operations being unsafe. Maybe we should work on building a better
// system that gives buffer sizes for copies (which would prevent future problems like a stack corruption issue I fixed a while back),
// but for now, just tell the compiler to shut up so I can see the real errors.
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_NON_CONFORMING_SWPRINTFS
#define _SCL_SECURE_NO_WARNINGS
#include "Profiler.h"
#endif