27 #define C4DEFAULT_FONT_NAME "Endeavour"
165 #ifdef WITH_AUTOMATIC_UPDATE
167 int32_t AutomaticUpdate;
168 int32_t LastUpdateTime;
177 void SetLeagueLoginData(
const char *server_name,
const char *player_name,
const char *account,
const char *login_token);
272 bool Load(
const char *config_file =
nullptr);
275 const char *
AtExePath(
const char *filename);
290 bool IsModule(
const char *path,
char *modules);
291 bool AddModule(
const char *path,
char *modules);
const int C4ConfigMaxGamepads
C4PlayerControlAssignmentSets UserSets
int32_t GamepadGuiControl
void CompileFunc(StdCompiler *compiler)
char RecentlyEditedSzenarios[CFG_MaxEditorMRU][CFG_MaxString+1]
void CompileFunc(StdCompiler *compiler)
char AltTodoFilename[CFG_MaxString+1]
void AddRecentlyEditedScenario(const char *filename)
char TodoFilename[CFG_MaxString+1]
int32_t DebugShapeTextures
void CompileFunc(StdCompiler *compiler, bool buttons_only=false)
char Participants[CFG_MaxString+1]
char ConfigUserPath[CFG_MaxString+1]
char SystemDataPath[CFG_MaxString+1]
char Name[CFG_MaxString+1]
StdStrBuf ScreenshotFolder
char LanguageEx[CFG_MaxString+1]
char DebugRecExternalFile[_MAX_PATH_LEN]
char Language[CFG_MaxString+1]
char UserDataPath[CFG_MaxString+1]
void CompileFunc(StdCompiler *compiler)
int32_t OpenScenarioInGameMode
char TempUpdatePath[CFG_MaxString+1]
int32_t ConfigResetSafety
char ModsDataPath[CFG_MaxString+1]
char MissionAccess[CFG_MaxString+1]
char RXFontName[CFG_MaxString+1]
bool CreateSaveFolder(const char *directory, const char *language_title)
char ScreenshotPath[CFG_MaxString+1]
static int GetLanguageSequence(const char *source, char *target)
int32_t VerboseObjectLoading
int32_t SplitscreenDividers
void CompileFunc(StdCompiler *compiler)
int32_t ShowStartupMessages
const char * AtSystemDataRelativePath(const char *filename)
const char * AtSystemDataPath(const char *filename)
const char * GetRegistrationData(const char *field)
void ForceRelativePath(StdStrBuf *filename)
bool AddModule(const char *path, char *modules)
const char * AtRelativePath(const char *filename)
bool IsModule(const char *path, char *modules)
const char * AtExePath(const char *filename)
void CleanupTempUpdateFolder()
bool RemoveModule(const char *path, char *modules)
const char * AtTempPath(const char *filename)
const char * AtUserDataPath(const char *filename)
C4ConfigGamepad Gamepads[C4ConfigMaxGamepads]
const char * MakeTempUpdateFolder()
const char * GetSubkeyPath(const char *subkey)
C4ConfigSecurity Security
const char * AtTempUpdatePath(const char *filename)
static void ExpandEnvironmentVariables(char *path, size_t max_length)
C4ConfigControls Controls
bool Load(const char *config_file=nullptr)
void GetConfigFileName(StdStrBuf &filename, const char *config_file)
const char * AtScreenshotPath(const char *filename)
const char * AtUserDataRelativePath(const char *filename)
const char * AtNetworkPath(const char *filename)
C4ConfigDeveloper Developer
C4ConfigGraphics Graphics
void CompileFunc(StdCompiler *compiler)
char Channel[CFG_MaxString+1]
void CompileFunc(StdCompiler *compiler)
char Nick[CFG_MaxString+1]
char RealName[CFG_MaxString+1]
char Server[CFG_MaxString+1]
void CompileFunc(StdCompiler *compiler)
int32_t MasterServerActive
int32_t UseAlternateModDatabaseServer
void CompileFunc(StdCompiler *compiler)
ValidatedStdCopyStrBuf< C4InVal::VAL_Comment > Comment
char WorkPath[CFG_MaxString+1]
bool GetLeagueLoginData(const char *server_name, const char *player_name, StdStrBuf *account, StdStrBuf *login_token) const
int32_t MasterServerSignUp
const char * GetModDatabaseServerAddress()
int32_t MasterReferencePeriod
StdCopyStrBuf LastLeagueServer
int32_t MaxResSearchRecursion
StdCopyStrBuf LastLeagueLoginToken
void CheckPortsForCollisions()
const char * GetLeagueServerAddress()
char AlternateModDatabaseServerAddress[CFG_MaxString+1]
int32_t NoReferenceRequest
char LastPassword[CFG_MaxString+1]
void SetLeagueLoginData(const char *server_name, const char *player_name, const char *account, const char *login_token)
char PuncherAddress[CFG_MaxString+1]
int32_t LeagueServerSignUp
StdCopyStrBuf LastLeagueAccount
int32_t UseAlternateServer
char AlternateServerAddress[CFG_MaxString+1]
StdCopyStrBuf LastLeaguePlayerName
ValidatedStdCopyStrBuf< C4InVal::VAL_NameAllowEmpty > Nick
void CompileFunc(StdCompiler *compiler)
char KeyPath[CFG_MaxString+1]
void CompileFunc(StdCompiler *compiler)
int32_t HideMsgStartDedicated
int32_t HideMsgGfxBitDepthChange
int32_t HideMsgIRCDangerous
int32_t HideMsgPlrNoTakeOver
int32_t AlphabeticalSorting
int32_t LastPortraitFolderIdx
int32_t HideMsgNoOfficialLeague
int32_t HideMsgPlrTakeOver
void CompileFunc(StdCompiler *compiler)
int32_t HideMsgMMTimerChange
int32_t HideMsgGfxEngineChange