mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-11 02:28:18 +00:00
5b27758650
Removed client ID stuff Removed console stuff Resolved merge conflicts Upgraded Banmaster Cleaned up
29 lines
718 B
C
29 lines
718 B
C
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
|
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
|
#ifndef ENGINE_SHARED_CONFIG_H
|
|
#define ENGINE_SHARED_CONFIG_H
|
|
|
|
struct CConfiguration
|
|
{
|
|
#define MACRO_CONFIG_INT(Name,ScriptName,Def,Min,Max,Save,Desc) int m_##Name;
|
|
#define MACRO_CONFIG_STR(Name,ScriptName,Len,Def,Save,Desc) 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,
|
|
CFGFLAG_MASTER=16,
|
|
// DDRace
|
|
CMDFLAG_TEST=32
|
|
};
|
|
|
|
#endif
|