Created
November 29, 2014 23:23
-
-
Save kahrl/c61a3ef46eae4770f165 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
coresettings.inc | |
to be used e.g. as follows: | |
#define CORE_SETTING(name, default, type, getter) settings->setDefault(#name, default) | |
#include "coresettings.inc" | |
#undef CORE_SETTING | |
or: | |
struct CoreSettings { | |
#define CORE_SETTING(name, default, type, getter) type name | |
#include "coresettings.inc" | |
#undef CORE_SETTING | |
}; | |
extern CoreSettings g_core_settings; | |
*/ | |
CORE_SETTING(new_style_leaves, "true", bool, getBool); | |
CORE_SETTING(enable_shaders, "true", bool, getBool); | |
//... | |
CORE_SETTING(viewing_range_nodes_max, "240", s16, getS16); | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment