Searched refs:what_mon (Results 1 - 6 of 6) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/include/
H A Ddisplay.h151 * what_mon()
158 #define what_mon(mon) (Hallucination ? random_monster() : mon) macro
282 #define mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_MON_OFF)
283 #define detected_mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_DETECT_OFF)
284 #define ridden_mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_RIDDEN_OFF)
285 #define pet_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_PET_OFF)
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/include/
H A Ddisplay.h151 * what_mon()
158 #define what_mon(mon) (Hallucination ? random_monster() : mon) macro
282 #define mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_MON_OFF)
283 #define detected_mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_DETECT_OFF)
284 #define ridden_mon_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_RIDDEN_OFF)
285 #define pet_to_glyph(mon) ((int) what_mon(monsndx((mon)->data))+GLYPH_PET_OFF)
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dworm.c450 detected_monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL)) :
451 monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
H A Ddisplay.c413 show_glyph(x,y, monnum_to_glyph(what_mon((int)mon->mappearance)));
428 num = detected_monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
438 num = monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
1483 * a random monster in swallowed() and don't use what_mon() here.
1494 return ((int) (what_mon(mnum)<<3) | (loc - S_sw_tl)) + GLYPH_SWALLOW_OFF;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dworm.c450 detected_monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL)) :
451 monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
H A Ddisplay.c413 show_glyph(x,y, monnum_to_glyph(what_mon((int)mon->mappearance)));
428 num = detected_monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
438 num = monnum_to_glyph(what_mon(PM_LONG_WORM_TAIL));
1483 * a random monster in swallowed() and don't use what_mon() here.
1494 return ((int) (what_mon(mnum)<<3) | (loc - S_sw_tl)) + GLYPH_SWALLOW_OFF;

Completed in 51 milliseconds