Open source remastering of the Freespace 2 engine
trails.h File Reference

Go to the source code of this file.


struct  trail_info
struct  trail


#define NUM_TRAIL_SECTIONS   128


typedef struct trail_info trail_info
typedef struct trail trail


void trail_level_init ()
void trail_level_close ()
void trail_move_all (float frametime)
void trail_render_all ()
trailtrail_create (trail_info *info)
void trail_add_segment (trail *trailp, vec3d *pos)
void trail_set_segment (trail *trailp, vec3d *pos)
void trail_object_died (trail *trailp)
int trail_stamp_elapsed (trail *trailp)
void trail_set_stamp (trail *trailp)

Macro Definition Documentation

#define NUM_TRAIL_SECTIONS   128

Definition at line 18 of file trails.h.

Typedef Documentation

typedef struct trail trail
typedef struct trail_info trail_info

Function Documentation

void trail_add_segment ( trail trailp,
vec3d pos 

Definition at line 480 of file trails.cpp.

trail* trail_create ( trail_info info)

Definition at line 52 of file trails.cpp.

void trail_level_close ( )

Definition at line 36 of file trails.cpp.

void trail_level_init ( )

Definition at line 26 of file trails.cpp.

void trail_move_all ( float  frametime)

Definition at line 508 of file trails.cpp.

void trail_object_died ( trail trailp)

Definition at line 551 of file trails.cpp.

void trail_render_all ( )

Definition at line 556 of file trails.cpp.

void trail_set_segment ( trail trailp,
vec3d pos 

Definition at line 498 of file trails.cpp.

void trail_set_stamp ( trail trailp)

Definition at line 577 of file trails.cpp.

int trail_stamp_elapsed ( trail trailp)

Definition at line 572 of file trails.cpp.