Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MY(f) this.effectinfo_##f
- #define DEF(name) EFFECTINFO(name)
- #define SUB(name) \
- [[accumulate]] void effectinfo_##name(EffectInfoGroup parent, EffectInfo this) { parent = EFFECTINFO_##name; parent.children[parent.children_count++] = this = NEW(EffectInfo, #name); } \
- [[accumulate]] void effectinfo_##name(EffectInfoGroup parent, EffectInfo this)
- #include "effectinfo.inc"
- #undef MY
- #undef DEF
- #undef SUB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement