2022-03-14 15:45:05 +00:00
|
|
|
/// Extra Stage Boss #2 - Gengetsu
|
|
|
|
/// ------------------------------
|
|
|
|
|
|
|
|
#include "platform.h"
|
2023-05-12 12:51:14 +00:00
|
|
|
#include "pc98.h"
|
|
|
|
#include "th01/math/subpixel.hpp"
|
|
|
|
#include "th04/main/playfld.hpp"
|
|
|
|
#include "th04/main/custom.hpp"
|
|
|
|
|
|
|
|
// Structures
|
|
|
|
// ----------
|
|
|
|
|
|
|
|
#define SPAWNCOLUMN_COUNT 16
|
|
|
|
|
|
|
|
struct spawncolumn_t {
|
|
|
|
int8_t unused[2];
|
|
|
|
PlayfieldPoint pos;
|
|
|
|
int8_t padding[20];
|
|
|
|
};
|
|
|
|
|
|
|
|
#define spawncolumns (reinterpret_cast<spawncolumn_t *>(custom_entities))
|
|
|
|
// ----------
|
2022-03-14 15:45:05 +00:00
|
|
|
|
|
|
|
#define wave_amp gengetsu_wave_amp
|
|
|
|
uint8_t wave_amp = 0x00; // Should really have been signed.
|