forked from Mirrors/openclonk
config: Remove General/Definitions
parent
5d6a1f7bf2
commit
2126851f87
|
@ -194,7 +194,6 @@ bool C4Application::DoInit(int argc, char * argv[])
|
|||
|
||||
void C4Application::ClearCommandLine()
|
||||
{
|
||||
SCopy(Config.General.Definitions, Game.DefinitionFilenames);
|
||||
*Game.PlayerFilenames = 0;
|
||||
Game.StartupPlayerCount = 0;
|
||||
}
|
||||
|
@ -545,8 +544,6 @@ bool C4Application::OpenGame()
|
|||
|
||||
void C4Application::Quit()
|
||||
{
|
||||
// Clear definitions passed by frontend for this round
|
||||
Config.General.Definitions[0] = 0;
|
||||
// Participants should not be cleared for usual startup dialog
|
||||
//Config.General.Participants[0] = 0;
|
||||
// Save config if there was no loading error
|
||||
|
|
|
@ -62,7 +62,6 @@ void C4ConfigGeneral::CompileFunc(StdCompiler *pComp)
|
|||
pComp->Value(mkNamingAdapt(s(Name), "Name", "" ));
|
||||
pComp->Value(mkNamingAdapt(s(Language), "Language", "", false, true));
|
||||
pComp->Value(mkNamingAdapt(s(LanguageEx), "LanguageEx", "", false, true));
|
||||
pComp->Value(mkNamingAdapt(s(Definitions), "Definitions", "" ));
|
||||
pComp->Value(mkNamingAdapt(s(Participants), "Participants", "" ));
|
||||
|
||||
// deliberately not grandfathering UserPath setting, since it was written to config by default
|
||||
|
|
|
@ -42,7 +42,6 @@ public:
|
|||
char Name[CFG_MaxString+1];
|
||||
char Language[CFG_MaxString+1]; // entered by user in frontend options (may contain comma separated list or long language descriptions)
|
||||
char LanguageEx[CFG_MaxString+1]; // full fallback list composed by frontend options (condensed comma separated list)
|
||||
char Definitions[CFG_MaxString+1];
|
||||
char Participants[CFG_MaxString+1];
|
||||
int32_t AlwaysDebug; // if set: turns on debugmode whenever engine is started
|
||||
char RXFontName[CFG_MaxString+1];
|
||||
|
|
Loading…
Reference in New Issue