DayZ 1.24
Loading...
Searching...
No Matches
FlareLight.c File Reference

Go to the source code of this file.

Classes

class  PointLightBase
 
class  FlareLight
 
class  FlareLightRed
 

Functions

class FlareLight extends PointLightBase FlareLightRed ()
 
void FlareLight ()
 
class FlareLightGreen extends FlareLight FlareLightBlue ()
 
void FlareLightGreen ()
 

Variables

static float m_FlareRadius = 100
 
static float m_FlareBrightness = 10.0
 
static string m_MemoryPoint = "light"
 

Function Documentation

◆ FlareLight()

void FlareLightRed::FlareLight ( )

Definition at line 43 of file FlareLight.c.

46{
47 void FlareLightGreen()
48 {
49 SetDiffuseColor(0.3, 1.0, 0.3);
50 SetAmbientColor(0.3, 1.0, 0.3);
51 }
52}
53
54class FlareLightBlue extends FlareLight
55{
56 void FlareLightBlue()
57 {
58 SetDiffuseColor(0.3, 0.3, 1.0);
59 SetAmbientColor(0.3, 0.3, 1.0);
60 }
61}
62
63class FlareLightContamination extends FlareLightRed
64{
66 {
67 SetLifetime(20);
68 }
void FlareLightGreen()
Definition FlareLight.c:57
class FlareLightGreen extends FlareLight FlareLightBlue()
Definition FlareLight.c:56
void FlareLightContamination()
Definition FlareLight.c:65

Referenced by FlareSimulation::FlareSimulation().

◆ FlareLightBlue()

Definition at line 45 of file FlareLight.c.

57 {
58 SetDiffuseColor(0.3, 0.3, 1.0);
59 SetAmbientColor(0.3, 0.3, 1.0);
60 }

Referenced by FlareSimulation_Green().

◆ FlareLightGreen()

void FlareLightBlue::FlareLightGreen ( )

Definition at line 57 of file FlareLight.c.

57 {
58 SetDiffuseColor(0.3, 0.3, 1.0);
59 SetAmbientColor(0.3, 0.3, 1.0);
60 }
61}

◆ FlareLightRed()

Definition at line 1 of file FlareLight.c.

39 {
40 SetDiffuseColor(1.0, 0.3, 0.3);
41 SetAmbientColor(1.0, 0.3, 0.3);
42 }

Variable Documentation

◆ m_FlareBrightness

float m_FlareBrightness = 10.0
static

Definition at line 40 of file FlareLight.c.

Referenced by PointLightBase::FlareLight().

◆ m_FlareRadius

float m_FlareRadius = 100
static

Definition at line 39 of file FlareLight.c.

Referenced by PointLightBase::FlareLight().

◆ m_MemoryPoint

string m_MemoryPoint = "light"
static

Definition at line 41 of file FlareLight.c.