Merge branch 'NetHack-3.6'
This commit is contained in:
@@ -1067,6 +1067,30 @@ int x, y;
|
||||
} /* end case */
|
||||
}
|
||||
|
||||
/*
|
||||
* flash_glyph_at(x, y, glyph)
|
||||
*
|
||||
* Briefly flash between the passed glyph and the glyph that's
|
||||
* meant to be at the location.
|
||||
*/
|
||||
void
|
||||
flash_glyph_at(x, y, tg)
|
||||
int x, y, tg;
|
||||
{
|
||||
int i, glyph[2];
|
||||
|
||||
glyph[0] = tg;
|
||||
glyph[1] = (level.flags.hero_memory)
|
||||
? levl[x][y].glyph
|
||||
: back_to_glyph(x, y);
|
||||
for (i = 0; i < 15; i++) {
|
||||
show_glyph(x, y, glyph[i % 2]);
|
||||
flush_screen(1);
|
||||
delay_output();
|
||||
}
|
||||
newsym(x, y);
|
||||
}
|
||||
|
||||
/*
|
||||
* swallowed()
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user