You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
C
50 lines
1.1 KiB
C
#pragma once
|
|
|
|
#ifdef SERVER_ADDRESS
|
|
#error Dont define server address from the build system, use the build settings header
|
|
#endif
|
|
|
|
#define SERVER_PORT 2551
|
|
// must be unsigned integer
|
|
#define GIT_RELEASE_TAG 31
|
|
|
|
#ifdef DEBUG
|
|
|
|
#define SERVER_ADDRESS "127.0.0.1"
|
|
#define ASSERT_DO_POPUP_AND_CRASH
|
|
// #define SERVER_ADDRESS "207.246.80.160"
|
|
|
|
#define CONSOLE_CREATE
|
|
// #define PROFILING
|
|
// Intensive profiling means profiling a lot of little tiny stuff. Not always enabled because tanks performance
|
|
// #define INTENSIVE_PROFILING
|
|
// #define DEBUG_RENDERING
|
|
// #define DEBUG_WORLD
|
|
// #define UNLOCK_ALL
|
|
#define TIME_BETWEEN_WORLD_SAVE 1000000.0f
|
|
// #define TIME_BETWEEN_WORLD_SAVE 1.0f
|
|
// #define INFINITE_RESOURCES
|
|
#define DEBUG_TOOLS
|
|
#define CHIPMUNK_INTEGRITY_CHECK
|
|
// #define FAT_THRUSTERS
|
|
// #define NO_GRAVITY
|
|
// #define NO_SUNS
|
|
|
|
#else
|
|
|
|
#ifdef RELEASE
|
|
|
|
// DANGER modifying these, make sure to change them back before releasing
|
|
|
|
#define CONSOLE_ATTACH
|
|
// #define PROFILING
|
|
// #define SERVER_ADDRESS "127.0.0.1"
|
|
#define SERVER_ADDRESS "207.246.80.160"
|
|
#define ASSERT_DO_POPUP_AND_CRASH
|
|
|
|
#else
|
|
#error Define either DEBUG or RELEASE
|
|
#endif
|
|
|
|
#endif
|