no message

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@337 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2006-08-19 18:37:35 +00:00
parent 1243b95b8a
commit 49d592c2d6
18 changed files with 295 additions and 227 deletions
+4 -2
View File
@@ -207,6 +207,7 @@ void save_world(char *mname)
};
extern void preparectf(bool cleanonly = false);
extern void preload_mapmodels();
void load_world(char *mname) // still supports all map formats that have existed since the earliest cube betas!
{
@@ -349,8 +350,6 @@ void load_world(char *mname) // still supports all map formats that have
gzclose(f);
calclight();
settagareas();
int xs, ys;
loopi(256) if(texuse) lookuptexture(i, xs, ys);
conoutf("read map %s (%d milliseconds)", (int)cgzname, SDL_GetTicks()-lastmillis);
conoutf("%s", (int)hdr.maptitle);
startmap(mname);
@@ -362,6 +361,9 @@ void load_world(char *mname) // still supports all map formats that have
execfile("config/default_map_settings.cfg");
execfile(pcfname);
execfile(mcfname);
int xs, ys;
loopi(256) if(texuse) lookuptexture(i, xs, ys);
preload_mapmodels();
};
COMMANDN(savemap, save_world, ARG_1STR);