mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
variables.h: Add stub macros definitions to enable code highlight
This commit is contained in:
parent
9faea2ff6e
commit
9db49d9f74
|
@ -4,6 +4,13 @@
|
|||
#define GAME_VARIABLES_H
|
||||
#undef GAME_VARIABLES_H // this file will be included several times
|
||||
|
||||
#ifndef MACRO_CONFIG_INT
|
||||
#error "The config macros must be defined"
|
||||
#define MACRO_CONFIG_INT(Name, ScriptName, Def, Min, Max, Save, Desc) ;
|
||||
#define MACRO_CONFIG_COL(Name, ScriptName, Def, Save, Desc) ;
|
||||
#define MACRO_CONFIG_STR(Name, ScriptName, Len, Def, Save, Desc) ;
|
||||
#endif
|
||||
|
||||
// client
|
||||
MACRO_CONFIG_INT(ClPredict, cl_predict, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Predict client movements")
|
||||
MACRO_CONFIG_INT(ClPredictDummy, cl_predict_dummy, 1, 0, 1, CFGFLAG_CLIENT | CFGFLAG_SAVE, "Predict dummy movements")
|
||||
|
|
Loading…
Reference in a new issue