Global changes for qt, qt4, amiga, x11 and curses.
This commit is contained in:
@@ -2317,7 +2317,7 @@ register int x, y;
|
||||
clipymax = saveymax;
|
||||
clipxmax = savexmax;
|
||||
#endif
|
||||
if (on_level(&u.uz0, &u.uz) && !restoring && moves > 1)
|
||||
if (on_level(&u.uz0, &u.uz) && !restoring && g.moves > 1)
|
||||
(void) doredraw();
|
||||
flush_glyph_buffer(amii_wins[WIN_MAP]->win);
|
||||
}
|
||||
|
||||
@@ -51,12 +51,12 @@ int fd;
|
||||
#else
|
||||
#if (defined(MICRO)) && !defined(NO_FSTAT)
|
||||
if(fstat(fd, &buf)) {
|
||||
if(moves > 1) pline("Cannot get status of saved level? ");
|
||||
if(g.moves > 1) pline("Cannot get status of saved level? ");
|
||||
else pline("Cannot get status of saved game.");
|
||||
return(0);
|
||||
}
|
||||
if(comp_times(buf.st_mtime)) {
|
||||
if(moves > 1) pline("Saved level is out of date.");
|
||||
if(g.moves > 1) pline("Saved level is out of date.");
|
||||
else pline("Saved game is out of date. ");
|
||||
/* This problem occurs enough times we need to give the player
|
||||
* some more information about what causes it, and how to fix.
|
||||
|
||||
@@ -237,7 +237,7 @@ FormatStatusString(char *text, int format)
|
||||
hp = 0;
|
||||
(void) describe_level(nb = eos(nb));
|
||||
Sprintf(nb = eos(nb), "%c:%-2ld HP:%d(%d) Pw:%d(%d) AC:%-2d",
|
||||
showsyms[COIN_CLASS + SYM_OFF_O], money_cnt(invent), hp, hpmax,
|
||||
showsyms[COIN_CLASS + SYM_OFF_O], money_cnt(g.invent), hp, hpmax,
|
||||
u.uen, u.uenmax, u.uac);
|
||||
|
||||
if (Upolyd)
|
||||
@@ -253,7 +253,7 @@ FormatStatusString(char *text, int format)
|
||||
|
||||
/* forth line */
|
||||
if (flags.time)
|
||||
Sprintf(nb = eos(nb), "T:%ld ", moves);
|
||||
Sprintf(nb = eos(nb), "T:%ld ", g.moves);
|
||||
|
||||
if (strcmp(hu_stat[u.uhs], " ")) {
|
||||
Strcat(text, hu_stat[u.uhs]);
|
||||
|
||||
Reference in New Issue
Block a user