mirror of
https://github.com/nunuhara/xsystem4.git
synced 2026-10-07 14:28:12 +03:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user