ReC98/th01/main/player/shots.hpp

16 lines
335 B
C++
Raw Normal View History

static const int SHOT_COUNT = 8;
struct CShots {
int left[SHOT_COUNT];
int top[SHOT_COUNT];
int unknown[SHOT_COUNT];
// A shot slot can be considered "alive" if either of these are nonzero.
unsigned char moving[SHOT_COUNT];
unsigned char decay_frame[SHOT_COUNT];
void add(int new_left, int new_top);
};
extern CShots Shots;