ReignEngine: Add loader for particle effects

This implements a parser for particle effect definition files (.pae)
and a set of field accessor functions for the RE_ITYPE_PARTICLE_EFFECT
instance type. Rendering of effects is not yet implemented.
This commit is contained in:
kichikuou
2022-09-04 10:17:03 +09:00
parent 30b810b309
commit 0ff9c5a62c
8 changed files with 1479 additions and 131 deletions
+2
View File
@@ -96,6 +96,8 @@ static void print_instance(struct RE_instance *inst, int index, int indent)
print_motion("next_motion", inst->next_motion, indent);
if (inst->motion_blend)
indent_printf(indent, "motion_blend_rate = %f,\n", inst->motion_blend_rate);
if (inst->effect)
indent_printf(indent, "path = \"%s\",\n", inst->effect->path);
indent--;
indent_printf(indent, "},\n");