variables.h: Add stub macros definitions to enable code highlight

This commit is contained in:
Alexander Akulich 2022-06-27 19:25:52 +03:00
parent 9faea2ff6e
commit 9db49d9f74

View file

@ -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")