mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
## About The Pull Request Removed the 516 warning from the statpanel, and updated incorrect compiler warning note about 517 experiments. ## Why It's Good For The Game Our servers now nag you to update to 516, makes no sense to have a warning saying that you should downgrade. ## Changelog 🆑 code: Removed the 516 beta warning entirely /🆑
23 lines
775 B
Plaintext
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 517 experiments"
|
|
#endif
|