rename explosion symbols
Use a slightly more meaningful name for each one rather than a sequential numerical name. S_explode1 to S_expl_tl S_explode2 to S_expl_tc S_explode3 to S_expl_tr S_explode4 to S_expl_ml S_explode5 to S_expl_mc S_explode6 to S_expl_mr S_explode7 to S_expl_bl S_explode8 to S_expl_bc S_explode9 to S_expl_br
This commit is contained in:
@@ -379,7 +379,7 @@ enum explosion_types {
|
||||
|
||||
#define cmap_to_glyph(cmap_idx) ((int) (cmap_idx) + GLYPH_CMAP_OFF)
|
||||
#define explosion_to_glyph(expltype, idx) \
|
||||
((((expltype) * MAXEXPCHARS) + ((idx) - S_explode1)) + GLYPH_EXPLODE_OFF)
|
||||
((((expltype) * MAXEXPCHARS) + ((idx) - S_expl_tl)) + GLYPH_EXPLODE_OFF)
|
||||
|
||||
#define trap_to_glyph(trap) \
|
||||
cmap_to_glyph(trap_to_defsym((trap)->ttyp))
|
||||
|
||||
Reference in New Issue
Block a user