mirror of
https://github.com/nmlgc/ReC98.git
synced 2025-02-26 20:55:09 +00:00

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.
18 lines
383 B
C++
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)
|
|
;
|
|
// --------------
|