mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
8901057944
Signed-off-by: GreYFoXGTi <GreYFoXGTi@GMaiL.CoM>
24 lines
512 B
C
24 lines
512 B
C
#ifndef ENGINE_SHARED_E_CONFIG_H
|
|
#define ENGINE_SHARED_E_CONFIG_H
|
|
|
|
struct CConfiguration
|
|
{
|
|
#define MACRO_CONFIG_INT(Name,ScriptName,Def,Min,Max,Save,Desc,Level) int m_##Name;
|
|
#define MACRO_CONFIG_STR(Name,ScriptName,Len,Def,Save,Desc,Level) char m_##Name[Len]; // Flawfinder: ignore
|
|
#include "config_variables.h"
|
|
#undef MACRO_CONFIG_INT
|
|
#undef MACRO_CONFIG_STR
|
|
};
|
|
|
|
extern CConfiguration g_Config;
|
|
|
|
enum
|
|
{
|
|
CFGFLAG_SAVE=1,
|
|
CFGFLAG_CLIENT=2,
|
|
CFGFLAG_SERVER=4,
|
|
CFGFLAG_STORE=8
|
|
};
|
|
|
|
#endif
|