2021-08-15 16:31:15 +00:00
|
|
|
static const int SHAPE8X8_INVINCIBILITY_CELS = 4;
|
|
|
|
|
2021-04-17 18:08:30 +00:00
|
|
|
typedef enum {
|
|
|
|
SHAPE8X8_DIAMOND,
|
|
|
|
SHAPE8X8_STAR,
|
|
|
|
SHAPE8X8_FLAKE,
|
2021-08-15 16:31:15 +00:00
|
|
|
SHAPE8X8_INVINCIBILITY,
|
|
|
|
SHAPE8X8_INVINCIBILITY_last = (
|
|
|
|
SHAPE8X8_INVINCIBILITY + SHAPE8X8_INVINCIBILITY_CELS - 1
|
|
|
|
),
|
2021-04-17 18:08:30 +00:00
|
|
|
SHAPE8X8_COUNT
|
|
|
|
} shape8x8_t;
|
|
|
|
|
2021-05-25 16:27:27 +00:00
|
|
|
// For consistency in usage code...
|
|
|
|
static const pixel_t DIAMOND_W = 8;
|
|
|
|
static const pixel_t DIAMOND_H = 8;
|
2022-01-02 02:24:44 +00:00
|
|
|
static const pixel_t FLAKE_W = 8;
|
|
|
|
static const pixel_t FLAKE_H = 8;
|
2021-05-25 16:27:27 +00:00
|
|
|
|
2021-04-17 18:08:30 +00:00
|
|
|
extern const dot_rect_t(8, 8) sSHAPE8X8[SHAPE8X8_COUNT];
|