ReC98/th04/main/player/bombanim.cpp
nmlgc 5d76fd6f64 [Reverse-engineering] [th04] Bombs: Star animation structure
The trivial one first, while I try to wrap my head around what's going
on with Reimu's TH05 bomb animation…

Part of P0111, funded by [Anonymous] and Blue Bolt.
2020-08-28 15:04:39 +02:00

18 lines
383 B
C++

// Star animation
// --------------
static const int BOMB_STAR_COUNT = 48;
static const pixel_t BOMB_STAR_W = 16;
static const pixel_t BOMB_STAR_H = 16;
struct bomb_star_t {
SPPoint center;
unsigned char angle;
SubpixelLength8 speed;
};
extern bomb_star_t bomb_stars[BOMB_STAR_COUNT];
void pascal near bomb_stars_update_and_render_for(playchars_t playchar)
;
// --------------