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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user