2020-10-03 15:22:44 +00:00
|
|
|
#include "global.h"
|
2020-05-18 18:24:00 +00:00
|
|
|
|
2021-08-30 01:24:32 +00:00
|
|
|
// Linker symbol declarations (used in the table below)
|
|
|
|
#define DEFINE_EFFECT_SS(name, _1) DECLARE_OVERLAY_SEGMENT(name)
|
|
|
|
#define DEFINE_EFFECT_SS_UNSET(_0)
|
2020-05-18 18:24:00 +00:00
|
|
|
|
2021-08-30 01:24:32 +00:00
|
|
|
#include "tables/effect_ss_table.h"
|
2020-05-18 18:24:00 +00:00
|
|
|
|
2021-08-30 01:24:32 +00:00
|
|
|
#undef DEFINE_EFFECT_SS
|
|
|
|
#undef DEFINE_EFFECT_SS_UNSET
|
|
|
|
|
2024-08-02 21:50:02 +00:00
|
|
|
// Profile declarations (also used in the table below)
|
|
|
|
#define DEFINE_EFFECT_SS(name, _1) extern EffectSsProfile name##_Profile;
|
2021-08-30 01:24:32 +00:00
|
|
|
#define DEFINE_EFFECT_SS_UNSET(_0)
|
|
|
|
|
|
|
|
#include "tables/effect_ss_table.h"
|
|
|
|
|
|
|
|
#undef DEFINE_EFFECT_SS
|
|
|
|
#undef DEFINE_EFFECT_SS_UNSET
|
|
|
|
|
|
|
|
// Effect SS Overlay Table definition
|
2024-08-02 21:50:02 +00:00
|
|
|
#define DEFINE_EFFECT_SS(name, _1) \
|
|
|
|
{ \
|
|
|
|
ROM_FILE(ovl_##name), _ovl_##name##SegmentStart, _ovl_##name##SegmentEnd, NULL, &name##_Profile, 1, \
|
2021-08-30 01:24:32 +00:00
|
|
|
},
|
|
|
|
|
2024-02-29 13:15:04 +00:00
|
|
|
#define DEFINE_EFFECT_SS_UNSET(_0) \
|
|
|
|
{ \
|
|
|
|
ROM_FILE_UNSET, NULL, NULL, NULL, NULL, 0, \
|
|
|
|
},
|
2020-05-18 18:24:00 +00:00
|
|
|
|
|
|
|
EffectSsOverlay gEffectSsOverlayTable[] = {
|
2021-08-30 01:24:32 +00:00
|
|
|
#include "tables/effect_ss_table.h"
|
2020-05-18 18:24:00 +00:00
|
|
|
};
|
2021-08-30 01:24:32 +00:00
|
|
|
|
|
|
|
#undef DEFINE_EFFECT_SS
|
|
|
|
#undef DEFINE_EFFECT_SS_UNSET
|