Xonotic
|
#include "skin-customizables.inc"
Go to the source code of this file.
Macros | |
#define | SKINBEGIN |
#define | SKINBEGIN void Skin_ApplySetting(string key, string _value) { switch(key) { |
#define | SKINEND |
#define | SKINEND case "": break; case "//": break; default: LOG_TRACE("Invalid key in skin file: ", key); } } |
#define | SKINFLOAT(name, def) float SKIN##name = def |
#define | SKINFLOAT(name, def) case #name: SKIN##name = stof(_value); break |
#define | SKINSTRING(name, def) string SKIN##name = def |
#define | SKINSTRING(name, def) case #name: SKIN##name = strzone(_value); break |
#define | SKINVECTOR(name, def) vector SKIN##name = def |
#define | SKINVECTOR(name, def) case #name: SKIN##name = stov(_value); break |