Oops. That last one wasn't supposed to be committed. Here's the log for the

last one + this one:

A couple of tweaks against accidental overwriting of maps.
- first, fix a bug where the map name wasn't reset to 'newboard.map' when starting a
  new map
- When saving with Ctrl-S, query the user for confirmation and also show the file name
  where the map will be written
- when going into the ESC-menu, print the file name where the map will be written
  on pressing 'S' above the '(S)ave' text

git-svn-id: https://svn.eduke32.com/eduke32@2096 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-10-31 19:50:06 +00:00
parent 004b98e2b3
commit 4322bae14c
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ const char *mapster32_fullpath;
char *testplay_addparam = 0;
static char boardfilename[BMAX_PATH], selectedboardfilename[BMAX_PATH];
extern char levelname[BMAX_PATH]; // in astub.c XXX: clean up this mess!!!
//extern char levelname[BMAX_PATH]; // in astub.c XXX: clean up this mess!!!
static CACHE1D_FIND_REC *finddirs=NULL, *findfiles=NULL, *finddirshigh=NULL, *findfileshigh=NULL;
static int32_t numdirs=0, numfiles=0;

View file

@ -62,7 +62,7 @@ static int32_t g_fillCurSector = 0;
static char g_modDir[BMAX_PATH];
char defsfilename[BMAX_PATH] = "duke3d.def";
char levelname[BMAX_PATH];
static char levelname[BMAX_PATH];
// static char *startwin_labeltext = "Starting Mapster32...";
static char *setupfilename = "mapster32.cfg";