statue patch (trunk only)
Pat wrote: > <Someone> has a patch (we've added a couple of > his earlier ones) which changes the statue display from a single > one size fits all "`" to a gray monster symbol instead. > But I think the idea is a good one, and along with the > bouldersym option could make the fairly hard to > distinguish back-tick character go away. Sources tagged before applying NETHACK_PRE_STATUE, and afterwards with NETHACK_POST_STATUE for easy rollback.
This commit is contained in:
@@ -89,6 +89,8 @@ void FDECL( amii_setpens, (int) ); /* use colors from save file */
|
||||
extern int amii_numcolors;
|
||||
#endif
|
||||
|
||||
#include "display.h"
|
||||
|
||||
boolean restoring = FALSE;
|
||||
static NEARDATA struct fruit *oldfruit;
|
||||
static NEARDATA long omoves;
|
||||
@@ -124,6 +126,15 @@ find_lev_obj()
|
||||
fobjtmp = otmp->nobj;
|
||||
place_object(otmp, otmp->ox, otmp->oy);
|
||||
}
|
||||
|
||||
/* statue patch: imagine we're loading a vanilla nh file */
|
||||
for(x=0; x<COLNO; x++)
|
||||
for(y=0; y<ROWNO; y++)
|
||||
if ( level.objects[x][y] != 0 &&
|
||||
level.objects[x][y]->otyp == STATUE &&
|
||||
glyph_is_statue_vanilla(levl[x][y].glyph)) {
|
||||
levl[x][y].glyph = obj_to_glyph(level.objects[x][y]);
|
||||
}
|
||||
}
|
||||
|
||||
/* Things that were marked "in_use" when the game was saved (ex. via the
|
||||
|
||||
Reference in New Issue
Block a user