merged branch

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7382 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lucas GAUTHERON
2013-03-22 19:49:21 +00:00
parent eb5b6ffd99
commit a7a1e46bcc
36 changed files with 2944 additions and 514 deletions
+7
View File
@@ -34,6 +34,7 @@ void quit() // normal exit
extern void writeinitcfg();
writeinitcfg();
writeservercfg();
writepcksourcecfg();
if(resetcfg) deletecfg();
else writecfg();
cleanup(NULL);
@@ -1125,6 +1126,9 @@ int main(int argc, char **argv)
notexture = noworldtexture = textureload("packages/misc/notexture.jpg");
if(!notexture) fatal("could not find core textures (hint: run AssaultCube from the parent of the bin directory)");
nomodel = loadmodel("misc/gib01", -1); //FIXME: need actual placeholder model
if(!notexture) fatal("could not find core models");
initlog("console");
per_idents = false;
// Main font file, all other font files execute from here.
@@ -1202,6 +1206,9 @@ int main(int argc, char **argv)
initlog("models");
preload_playermodels();
preload_hudguns();
initlog("curl");
setupcurl();
preload_entmodels();
initlog("docs");