Touhou/src/images.c

41 lines
1.2 KiB
C

#include <gint/display.h>
// TODO: generate those tables in `fxconv` instead of this dirty file
extern image_t img_witch1_back;
extern image_t img_witch2_back;
extern image_t img_witch3_back;
extern image_t img_witch4_back;
extern image_t img_witch5_back;
extern image_t img_witch6_back;
extern image_t img_witch7_back;
extern image_t img_witch8_back;
image_t *img_witches[8] = {
&img_witch1_back, &img_witch2_back, &img_witch3_back, &img_witch4_back,
&img_witch5_back, &img_witch6_back, &img_witch7_back, &img_witch8_back
};
extern image_t img_battlefield1;
extern image_t img_battlefield2;
extern image_t img_battlefield3;
image_t *img_battlefields[3] = {
&img_battlefield1, &img_battlefield2, &img_battlefield3
};
extern image_t img_bullet1_1;
extern image_t img_bullet1_2;
extern image_t img_bullet1_3;
extern image_t img_bullet2_1;
extern image_t img_bullet2_2;
extern image_t img_bullet2_3;
extern image_t img_bullet3_1;
extern image_t img_bullet3_2;
extern image_t img_bullet3_3;
image_t *img_bullets[3][3] = {
{&img_bullet1_1, &img_bullet1_2, &img_bullet1_3},
{&img_bullet2_1, &img_bullet2_2, &img_bullet2_3},
{&img_bullet3_1, &img_bullet3_2, &img_bullet3_3},
};