mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 18:33:22 +00:00
* Adds config inclusion system * Revert debug code * Fix bad braces * Remove unused var * Tested, working * Config fixes
10 lines
299 B
Plaintext
10 lines
299 B
Plaintext
//config files
|
|
#define CONFIG_GET(X) global.config.Get(/datum/config_entry/##X)
|
|
#define CONFIG_SET(X, Y) global.config.Set(/datum/config_entry/##X, ##Y)
|
|
|
|
#define CONFIG_MAPS_FILE "maps.txt"
|
|
|
|
//flags
|
|
#define CONFIG_ENTRY_LOCKED 1 //can't edit
|
|
#define CONFIG_ENTRY_HIDDEN 2 //can't see value
|