Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AtmosphericFogMesh Struct Reference

#include <star_system_generic.h>

Public Member Functions

 AtmosphericFogMesh ()
 

Public Attributes

std::string meshname
 
double scale
 
float er
 
float eg
 
float eb
 
float ea
 
float dr
 
float dg
 
float db
 
float da
 
double focus
 
double concavity
 
int tail_mode_start
 
int tail_mode_end
 
int min_alpha
 
int max_alpha
 

Detailed Description

Definition at line 24 of file star_system_generic.h.

Constructor & Destructor Documentation

AtmosphericFogMesh::AtmosphericFogMesh ( )

Definition at line 39 of file star_system_xml.cpp.

References concavity, da, db, dg, dr, ea, eb, eg, er, focus, max_alpha, meshname, min_alpha, scale, tail_mode_end, and tail_mode_start.

40 {
41  er = eg = eb = ea = .5;
42  dr = dg = db = da = .5;
43  meshname = "sphereatm.bfxm";
44  scale = 1.05;
45  focus = .5;
46  concavity = 0;
47  tail_mode_start = -1;
48  tail_mode_end = -1;
49  min_alpha = 0;
50  max_alpha = 255;
51 }

Member Data Documentation

double AtmosphericFogMesh::concavity

Definition at line 37 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::da

Definition at line 35 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::db

Definition at line 34 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::dg

Definition at line 33 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::dr

Definition at line 32 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::ea

Definition at line 31 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::eb

Definition at line 30 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::eg

Definition at line 29 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

float AtmosphericFogMesh::er

Definition at line 28 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

double AtmosphericFogMesh::focus

Definition at line 36 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

int AtmosphericFogMesh::max_alpha

Definition at line 41 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

std::string AtmosphericFogMesh::meshname

Definition at line 26 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

int AtmosphericFogMesh::min_alpha

Definition at line 40 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

double AtmosphericFogMesh::scale

Definition at line 27 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

int AtmosphericFogMesh::tail_mode_end

Definition at line 39 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().

int AtmosphericFogMesh::tail_mode_start

Definition at line 38 of file star_system_generic.h.

Referenced by AtmosphericFogMesh(), and MakeFogMesh().


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