mirror of
https://github.com/zeldaret/mm.git
synced 2026-06-01 01:38:54 -04:00
2fdcdd91b3
* split * bss * z64eff_ss_dead.h * clean eff_blure * eff_shield_particle cleanup * tire?mark * and more cleanup * format * forgot to remove this * review * EffectBlureDrawMode enum * review * review * bss
35 lines
1002 B
C
35 lines
1002 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) \
|
|
{ \
|
|
SEGMENT_ROM_START(ovl_##name), \
|
|
SEGMENT_ROM_END(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
|