cfg var cleanups

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2605 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-09-15 02:07:20 +00:00
parent 44cb59f383
commit 5811c51c1a
12 changed files with 49 additions and 31 deletions
+3 -1
View File
@@ -574,6 +574,7 @@ int main(int argc, char **argv)
if(!notexture) fatal("could not find core textures (hint: run AssaultCube from the parent of the bin directory)");
initlog("console");
persistidents = false;
if(!execfile("config/font.cfg")) fatal("cannot find font definitions");
if(!setfont("default")) fatal("no default font specified");
@@ -597,7 +598,6 @@ int main(int argc, char **argv)
docmenu = addmenu("reference", NULL, true, renderdocmenu);
applymenu = addmenu("apply", "apply changes now?", true, refreshapplymenu);
persistidents = false;
exec("config/scontext.cfg");
exec("config/keymap.cfg");
exec("config/menus.cfg");
@@ -641,7 +641,9 @@ int main(int argc, char **argv)
preload_entmodels();
initlog("docs");
persistidents = false;
execfile("config/docs.cfg");
persistidents = true;
initlog("localconnect");
localconnect();