mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds define to run the world in a reduced memory usage mode by skipping the creating of the space zlevels loading only centcom and runtime station. Mainly for lummox.
45 lines
1.6 KiB
Plaintext
45 lines
1.6 KiB
Plaintext
#define DEBUG //Enables byond profiling and full runtime logs - note, this may also be defined in your .dme file
|
|
//Enables in-depth debug messages to runtime log (used for debugging)
|
|
//#define TESTING //By using the testing("message") proc you can create debug-feedback for people with this
|
|
//uncommented, but not visible in the release version)
|
|
|
|
#ifdef TESTING
|
|
//#define GC_FAILURE_HARD_LOOKUP //makes paths that fail to GC call find_references before del'ing.
|
|
//implies FIND_REF_NO_CHECK_TICK
|
|
|
|
//#define FIND_REF_NO_CHECK_TICK //Sets world.loop_checks to false and prevents find references from sleeping
|
|
|
|
|
|
//#define VISUALIZE_ACTIVE_TURFS //Highlights atmos active turfs in green
|
|
#endif
|
|
|
|
#ifndef PRELOAD_RSC //set to:
|
|
#define PRELOAD_RSC 0 // 0 to allow using external resources or on-demand behaviour;
|
|
#endif // 1 to use the default behaviour;
|
|
// 2 for preloading absolutely everything;
|
|
|
|
#ifdef LOWMEMORYMODE
|
|
#define FORCE_MAP "_maps/runtimestation.json"
|
|
#endif
|
|
|
|
//Update this whenever you need to take advantage of more recent byond features
|
|
#define MIN_COMPILER_VERSION 511
|
|
#if DM_VERSION < MIN_COMPILER_VERSION
|
|
//Don't forget to update this part
|
|
#error Your version of BYOND is too out-of-date to compile this project. Go to byond.com/download and update.
|
|
#error You need version 511 or higher
|
|
#endif
|
|
|
|
//Additional code for the above flags.
|
|
#ifdef TESTING
|
|
#warn compiling in TESTING mode. testing() debug messages will be visible.
|
|
#endif
|
|
|
|
#ifdef GC_FAILURE_HARD_LOOKUP
|
|
#define FIND_REF_NO_CHECK_TICK
|
|
#endif
|
|
|
|
#ifdef TRAVISTESTING
|
|
#define TESTING
|
|
#endif
|