ReC98/th05/boss/b3puppet.hpp

25 lines
464 B
C++
Raw Normal View History

#define PUPPET_COUNT 2
#define PUPPET_W 32
#define PUPPET_H 32
#define PUPPET_HP 500
typedef struct {
unsigned char flag;
unsigned char angle;
motion_t pos;
unsigned int phase_frame;
union {
subpixel_t motion;
unsigned int gather;
} radius;
int patnum;
int hp;
int damage_this_frame;
int16_t padding;
} puppet_t;
#define puppets (reinterpret_cast<puppet_t *>(custom_entities))
void pascal near puppets_update();
void pascal near puppets_render();