formatting bit: display_self()
This commit is contained in:
+6
-7
@@ -235,16 +235,15 @@
|
|||||||
: (otherwise_self))
|
: (otherwise_self))
|
||||||
|
|
||||||
#define display_self() \
|
#define display_self() \
|
||||||
show_glyph(u.ux, u.uy, \
|
show_glyph(u.ux, u.uy, maybe_display_usteed( \
|
||||||
maybe_display_usteed( \
|
((int) U_AP_TYPE == M_AP_NOTHING) \
|
||||||
((int) U_AP_TYPE == M_AP_NOTHING) ? hero_glyph \
|
? hero_glyph \
|
||||||
: ((int) U_AP_TYPE == M_AP_FURNITURE) \
|
: ((int) U_AP_TYPE == M_AP_FURNITURE) \
|
||||||
? cmap_to_glyph((int) g.youmonst.mappearance) \
|
? cmap_to_glyph((int) g.youmonst.mappearance) \
|
||||||
: ((int) U_AP_TYPE == M_AP_OBJECT) \
|
: ((int) U_AP_TYPE == M_AP_OBJECT) \
|
||||||
? objnum_to_glyph( \
|
? objnum_to_glyph((int) g.youmonst.mappearance) \
|
||||||
(int) g.youmonst.mappearance) /* else U_AP_TYPE == \
|
/* else U_AP_TYPE == M_AP_MONSTER */ \
|
||||||
M_AP_MONSTER */ \
|
: monnum_to_glyph((int) g.youmonst.mappearance, Ugender)))
|
||||||
: monnum_to_glyph((int) g.youmonst.mappearance, (int) Ugender)))
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NetHack glyphs
|
* NetHack glyphs
|
||||||
|
|||||||
Reference in New Issue
Block a user