mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-06 03:28:27 -04:00
6d315fa2ae
* DmaEntry * KaleidoMgrOverlay * ActorOverlay * EffectSsOverlay * GameStateOverlay * TransitionOverlay
29 lines
930 B
C
29 lines
930 B
C
#include "z64effect_ss.h"
|
|
#include "segment_symbols.h"
|
|
|
|
// Init Vars and linker symbol declarations (used in the table below)
|
|
#define DEFINE_EFFECT_SS(name, _enumValue) \
|
|
extern EffectSsInit name##_InitVars; \
|
|
DECLARE_OVERLAY_SEGMENT(name)
|
|
|
|
#define DEFINE_EFFECT_SS_UNSET(_enumValue)
|
|
|
|
#include "tables/effect_ss_table.h"
|
|
|
|
#undef DEFINE_EFFECT_SS
|
|
#undef DEFINE_EFFECT_SS_UNSET
|
|
|
|
#define DEFINE_EFFECT_SS(name, _enumValue) \
|
|
{ \
|
|
ROM_FILE(ovl_##name), SEGMENT_START(ovl_##name), SEGMENT_END(ovl_##name), NULL, &name##_InitVars, 1, \
|
|
},
|
|
|
|
#define DEFINE_EFFECT_SS_UNSET(_enumValue) { 0 },
|
|
|
|
EffectSsOverlay gParticleOverlayTable[EFFECT_SS_MAX] = {
|
|
#include "tables/effect_ss_table.h"
|
|
};
|
|
|
|
#undef DEFINE_EFFECT_SS
|
|
#undef DEFINE_EFFECT_SS_UNSET
|