mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix militia issue in auto-resolve: Militia were not always being promoted even when it said they were. Since first X slots are for militia already in the sector, militia from other sectors are not sorted by rank. This actually affects battle outcome! Added fix to editor to skip cached tiles in RaiseWorldLand. Otherwise it can crash when invoked within the game. ja2_2005Express projects: Added output directory for JA2 exe based on environment variable JA2GAMEPATH Restored editor built by default for debug mode Removed #define LUA_CONSOLE. It is no longer relevant. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1081 3b4a5df2-a311-0410-b5c6-a8a6f20db521
52 lines
1.2 KiB
C
52 lines
1.2 KiB
C
#ifndef _BUILDDEFINES_H
|
|
#define _BUILDDEFINES_H
|
|
|
|
#include "Language Defines.h"
|
|
|
|
// Remove comment to build Beta version (with lot of debug infos) including the Editor
|
|
//#define JA2BETAVERSION
|
|
|
|
// Normal test version
|
|
//#define JA2TESTVERSION
|
|
|
|
//#define JA2EDITOR
|
|
|
|
//#define DEBUG_ATTACKBUSY
|
|
|
|
#define ROBOT_ALWAYS_READY
|
|
|
|
//#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
|
|
|
|
#endif |