naev 0.12.5
TrailSpec Struct Reference

represents a set of styles for trails. More...

#include <spfx.h>

Collaboration diagram for TrailSpec:

Data Fields

char * name
char * filename
double ttl
double accel_mod
float def_thick
TrailStyle style [MODE_MAX]
int nebula
char * shader_path
struct { 
   GLuint   program 
   GLuint   vertex 
   GLuint   projection 
   GLuint   r 
   GLuint   dt 
   GLuint   c1 
   GLuint   c2 
   GLuint   t 
   GLuint   z 
   GLuint   pos1 
   GLuint   pos2 
   GLuint   nebu_col 
shader

Detailed Description

represents a set of styles for trails.

Definition at line 52 of file spfx.h.

Field Documentation

◆ accel_mod

double TrailSpec::accel_mod

How acceleration is added to it (defaults to 0.).

Definition at line 56 of file spfx.h.

◆ c1

GLuint TrailSpec::c1

Definition at line 70 of file spfx.h.

◆ c2

GLuint TrailSpec::c2

Definition at line 71 of file spfx.h.

◆ def_thick

float TrailSpec::def_thick

Default thickness, relevant while loading.

Definition at line 57 of file spfx.h.

◆ dt

GLuint TrailSpec::dt

Definition at line 69 of file spfx.h.

◆ filename

char* TrailSpec::filename

Definition at line 54 of file spfx.h.

◆ name

char* TrailSpec::name

Trail definition's name.

Definition at line 53 of file spfx.h.

◆ nebu_col

GLuint TrailSpec::nebu_col

Definition at line 76 of file spfx.h.

◆ nebula

int TrailSpec::nebula

Whether or not the trail should be only active in the nebula.

Definition at line 60 of file spfx.h.

◆ pos1

GLuint TrailSpec::pos1

Definition at line 74 of file spfx.h.

◆ pos2

GLuint TrailSpec::pos2

Definition at line 75 of file spfx.h.

◆ program

GLuint TrailSpec::program

Definition at line 65 of file spfx.h.

◆ projection

GLuint TrailSpec::projection

Definition at line 67 of file spfx.h.

◆ r

GLuint TrailSpec::r

Definition at line 68 of file spfx.h.

◆ shader_path

char* TrailSpec::shader_path

Shader path.

Definition at line 63 of file spfx.h.

◆ style

TrailStyle TrailSpec::style[MODE_MAX]

Appearance characteristics for each trail mode.

Definition at line 59 of file spfx.h.

◆ t

GLuint TrailSpec::t

Definition at line 72 of file spfx.h.

◆ ttl

double TrailSpec::ttl

File the the trail spec is loaded from. Time To Life (in seconds).

Definition at line 55 of file spfx.h.

◆ vertex

GLuint TrailSpec::vertex

Definition at line 66 of file spfx.h.

◆ z

GLuint TrailSpec::z

Definition at line 73 of file spfx.h.


The documentation for this struct was generated from the following file: