eliminate hack.h usage from win/share/*.c
Switch win/share/*.c from hack.h to config.h plus miscellaenous other headers. It's possible that there is conditional code that didn't get exercised in my testing. The Unix Makefiles don't deal with safeproc.c or tileset.c so I just compiled those without any attempt to link.
This commit is contained in:
@@ -13,6 +13,18 @@
|
||||
#include "mondata.h" /* for mindless() */
|
||||
#endif
|
||||
|
||||
/* types of explosions */
|
||||
enum explosion_types {
|
||||
EXPL_DARK = 0,
|
||||
EXPL_NOXIOUS = 1,
|
||||
EXPL_MUDDY = 2,
|
||||
EXPL_WET = 3,
|
||||
EXPL_MAGICAL = 4,
|
||||
EXPL_FIERY = 5,
|
||||
EXPL_FROSTY = 6,
|
||||
EXPL_MAX = 7
|
||||
};
|
||||
|
||||
/*
|
||||
* vobj_at()
|
||||
*
|
||||
@@ -260,7 +272,7 @@
|
||||
* explosions A set of nine for each of the following seven explosion types:
|
||||
* dark, noxious, muddy, wet, magical, fiery, frosty.
|
||||
* The nine positions represent those surrounding the hero.
|
||||
* Count: MAXEXPCHARS * EXPL_MAX (EXPL_MAX is defined in hack.h)
|
||||
* Count: MAXEXPCHARS * EXPL_MAX
|
||||
*
|
||||
* zap beam A set of four (there are four directions) for each beam type.
|
||||
* The beam type is shifted over 2 positions and the direction
|
||||
|
||||
Reference in New Issue
Block a user