showmapdims - maybe useful for mappers

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5481 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-30 18:31:39 +00:00
parent eeaf9ee023
commit cd2c4bc85b
+8
View File
@@ -441,6 +441,14 @@ void save_world(char *mname)
conoutf("wrote map file %s", cgzname);
}
void showmapdims()
{
conoutf(" min X|Y: %3d : %3d", mapdims[0], mapdims[1]);
conoutf(" max X|Y: %3d : %3d", mapdims[2], mapdims[3]);
conoutf("delta X|Y: %3d : %3d", mapdims[4], mapdims[5]);
}
COMMAND(showmapdims, ARG_NONE);
extern void preparectf(bool cleanonly = false);
int numspawn[3], maploaded = 0, numflagspawn[2];
VAR(curmaprevision, 1, 0, 0);