diff options
Diffstat (limited to 'src/parsec/include/obj_part.h')
| -rw-r--r-- | src/parsec/include/obj_part.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/parsec/include/obj_part.h b/src/parsec/include/obj_part.h new file mode 100644 index 0000000..cee0be3 --- /dev/null +++ b/src/parsec/include/obj_part.h @@ -0,0 +1,32 @@ +/* + * PARSEC HEADER: obj_part.h + */ + +#ifndef _OBJ_PART_H_ +#define _OBJ_PART_H_ + + +// render modes for attached particles + +enum { + + PARTICLE_RENDERMODE_POSLIGHT, + PARTICLE_RENDERMODE_THRUST, + PARTICLE_RENDERMODE_MISSILE +}; + + +// function pointer type for particle attachment +typedef void (*attach_particles_fpt)( GenObject *obj ); + + +// external functions + +void OBJ_AttachClassParticles( GenObject *obj ); +void OBJ_ResetRegisteredClassParticles( dword objclass ); +int OBJ_RegisterClassParticle( dword objclass, const char *pdefname, float refz, int rendmode, Vector3 *pos ); + + +#endif // _OBJ_PART_H_ + + |
