Files
source/builddefines.h
T
Wanne 06a0249994 I just added a comment to builddefines.h for building the editor:
You should build the map editor in "Release" mode and not "MapEditor" mode.
You also have to enable the 2 defines in builddefines.h for the map editor.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2228 3b4a5df2-a311-0410-b5c6-a8a6f20db521
2008-06-20 10:35:51 +00:00

68 lines
1.6 KiB
C

#ifndef _BUILDDEFINES_H
#define _BUILDDEFINES_H
#include "Language Defines.h"
// -------------------------------------
// Remove comment of the 2 defines to build a exe including the Map Editor!
// Build the exe with "Release" and not "MapEditor".
// Then you have to make a shortcut of the EXE adding -EDITORAUTO as a starting parameter.
//#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
#define BLOOD_N_GORE_ENABLED
//#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
#include "Profiler.h"
#endif