|
|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
|
|
|
|
|
namespace devilution { |
|
|
|
|
|
|
|
|
|
static constexpr unsigned MAXDEAD = 31; |
|
|
|
|
static constexpr unsigned MaxDead = 31; |
|
|
|
|
|
|
|
|
|
struct DeadStruct { |
|
|
|
|
std::array<uint8_t *, 8> _deadData; |
|
|
|
|
@ -21,11 +21,11 @@ struct DeadStruct {
|
|
|
|
|
uint8_t _deadtrans; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
extern DeadStruct dead[MAXDEAD]; |
|
|
|
|
extern DeadStruct dead[MaxDead]; |
|
|
|
|
extern int8_t stonendx; |
|
|
|
|
|
|
|
|
|
void InitDead(); |
|
|
|
|
void AddDead(Point loc, int8_t dv, direction ddir); |
|
|
|
|
void AddDead(Point tilePosition, int8_t dv, direction ddir); |
|
|
|
|
void SetDead(); |
|
|
|
|
|
|
|
|
|
} // namespace devilution
|
|
|
|
|
|