- fixed placement of map rename screen
- changed to version 1.8b
This commit is contained in:
parent
f2a1804571
commit
15b28974be
|
@ -3,8 +3,12 @@ Ideas for future versions:
|
|||
Solaris (and possibly other platforms)
|
||||
- Perhaps change to SVG for objects
|
||||
|
||||
Version 1.8b:
|
||||
- Fixed placement of text fields in dialog screens
|
||||
|
||||
Version 1.8a:
|
||||
- Netmapr window can now be re-sized
|
||||
- Fixed infinite loop bug when using "findnext"
|
||||
|
||||
Version 1.8:
|
||||
- Fixed many crashes
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define VERSION "1.8a"
|
||||
#define VERSION "1.8b"
|
||||
|
||||
/* variable sizes */
|
||||
#define SMALLBUFLEN 64 /* small text buffer */
|
||||
|
|
|
@ -871,7 +871,7 @@ int main (int argc, char **argv) {
|
|||
} else if (isonmapname(event.button.x, event.button.y)) {
|
||||
/* rename current map */
|
||||
startx = 1;
|
||||
starty = (map[curmap].height/2)-2;
|
||||
starty = ((screen->h - STATUSH)/2)-2;
|
||||
bg = NULL;
|
||||
strcpy(text, map[curmap].name);
|
||||
changestate(S_MAPNAMING);
|
||||
|
@ -1208,7 +1208,7 @@ int main (int argc, char **argv) {
|
|||
break;
|
||||
case TB_SAVE:
|
||||
startx = 1;
|
||||
starty = (map[curmap].height/2)-2;
|
||||
starty = ((screen->h - STATUSH)/2)-2;
|
||||
bg = NULL;
|
||||
strcpy(text, currentfilename);
|
||||
changestate(S_SAVING);
|
||||
|
@ -1216,7 +1216,7 @@ int main (int argc, char **argv) {
|
|||
break;
|
||||
case TB_LOAD:
|
||||
startx = 1;
|
||||
starty = (map[curmap].height/2)-2;
|
||||
starty = ((screen->h - STATUSH)/2)-2;
|
||||
bg = NULL;
|
||||
strcpy(text, currentfilename);
|
||||
changestate(S_LOADING);
|
||||
|
@ -8990,7 +8990,7 @@ void drillto(int mapnum) {
|
|||
sprintf(statustext,"Drilled down (new map created).");
|
||||
|
||||
startx = 1;
|
||||
starty = (map[curmap].height/2)-2;
|
||||
starty = ((screen->h - STATUSH)/2)-2;
|
||||
bg = NULL;
|
||||
strcpy(text, map[curmap].name);
|
||||
changestate(S_MAPNAMING);
|
||||
|
|
Loading…
Reference in New Issue