Files
Bubberstation/code/_experiments.dm
LemonInTheDark 91719a400a 516 Compile Compatibility (#88611)
Renames all uses of caller, as they (currently) shadow the new byond var
and will in future error
Ups our "wan if compiled after" experiement compile version to 516
Adds an alternate 516 unit test
2024-12-27 01:04:50 +00:00

23 lines
775 B
Plaintext

// This file contains experimental flags that may not be production ready yet,
// but that we want to be able to easily flip as well as run on CI.
// Any flag you see here can be flipped with the `-D` CLI argument.
// For example, if you want to enable EXPERIMENT_MY_COOL_FEATURE, compile with -DEXPERIMENT_MY_COOL_FEATURE
// EXPERIMENT_MY_COOL_FEATURE
// - Does something really cool, just so neat, absolutely banging, gaming and chill
#if DM_VERSION < 515
// You can't X-macro custom names :(
#ifdef EXPERIMENT_MY_COOL_FEATURE
#warn EXPERIMENT_MY_COOL_FEATURE is only available on 515+
#undef EXPERIMENT_MY_COOL_FEATURE
#endif
#elif defined(UNIT_TESTS)
#define EXPERIMENT_MY_COOL_FEATURE
#endif
#if DM_VERSION >= 517
#error "Remove all 516 experiments"
#endif