sc2-gamedata
Light.h
Go to the documentation of this file.
1 // Light.h generated from model.xml using generate-code.xsl
2 
3 #ifndef LIGHT_H
4 #define LIGHT_H
5 
6 #include "UnderlyingTypes.h"
7 
12 typedef enum
13 {
19 
21 
23 
28 typedef enum
29 {
35 
41 
43 
45 
50 typedef enum
51 {
57 
63 
69 
71 
73 
78 typedef enum
79 {
85 
91 
97 
103 
109 
115 
121 
127 
133 
139 
145 
151 
157 
163 
169 
175 
181 
187 
193 
199 
205 
211 
217 
223 
229 
235 
241 
247 
253 
259 
265 
271 
277 
283 
289 
290 } ELightParam;
291 
293 
298 typedef enum
299 {
305 
311 
317 
319 
320 const int32 e_trCount = 3;
321 
326 typedef enum
327 {
333 
339 
345 
351 
357 
363 
369 
375 
381 
387 
389 
390 const int32 e_hcCount = 10;
391 
396 {
402 
408 };
409 
414 {
420 
426 
432 
438 
444 
450 };
451 
456 {
463 
469 
475 };
476 
481 {
487 
493 
499  std::vector<C3Vector> DiffuseColor;
500 
506  std::vector<real32> DiffuseMultiplier;
507 
513 
519 };
520 
525 {
531 
537 
543 
549 
557  std::vector<real32> Param;
558 
564  std::vector<SDirectionalLight> DirectionalLight;
565 
571 
577 
583 
589 
595 
600  std::vector<SVariationConfig> Variations;
601 
606  std::vector<SLightRegionInfo> LightRegions;
607 };
608 
613 {
619 
625 
630  std::vector<SVariationConfig> Variations;
631 };
632 
637 class CLight
638 {
639 public:
646 
653 
660 
666  std::vector<STimeEvent> TimeEventArray;
667 
672  std::vector<SLightInfo> ToDInfoArray;
673 
679 
685 
691 };
692 
693 #endif // LIGHT_H
CTimeOfDay TimePerDay
Time Per Day.
Definition: Light.h:645
More Saturation.
Definition: Light.h:386
real32 ColorMultiplier
Color Multiplier.
Definition: Light.h:431
Highlight.
Definition: Light.h:316
Definition: Light.h:395
ETonemapRegionTypes
Tonemap Region Types.
Definition: Light.h:298
Detail Occlusion Power.
Definition: Light.h:288
flag Colorize
Colored.
Definition: Light.h:588
Occlusion Power.
Definition: Light.h:264
Definition: UnderlyingTypes.h:1063
HDR Specular Multiplier.
Definition: Light.h:114
Midtone.
Definition: Light.h:310
ETonemapRegionTypes Region
Region.
Definition: Light.h:474
std::vector< real32 > Param
Parameters.
Definition: Light.h:557
Creep HDR Specular Multiplier.
Definition: Light.h:168
uint8 flag8
Definition: UnderlyingTypes.h:57
flag UseAmbientOcclusion
Use Ambient Occlusion.
Definition: Light.h:419
CTimeOfDay TimeOfDay
Time of Day.
Definition: Light.h:536
C3Vector SpecularColor
Specular Color.
Definition: Light.h:512
EVariationCommands Command
Command.
Definition: Light.h:462
CTimeOfDay TimePerLoop
Time Per Game Loop.
Definition: Light.h:652
CString Id
ID.
Definition: Light.h:530
More Green.
Definition: Light.h:332
flag CorrectGamma
Gamma Correction.
Definition: Light.h:582
std::vector< real32 > DiffuseMultiplier
Diffuse Multiplier.
Definition: Light.h:506
More Magenta.
Definition: Light.h:362
Terrain Specular Exponent.
Definition: Light.h:138
std::vector< SVariationConfig > Variations
Variations.
Definition: Light.h:600
std::vector< SLightInfo > ToDInfoArray
Time of Day Info Array.
Definition: Light.h:672
Output High.
Definition: Light.h:204
Terrain HDR Specular Multiplier.
Definition: Light.h:150
qint32 int32
Definition: UnderlyingTypes.h:42
EGameTimeEvent
Time Event.
Definition: Light.h:28
Input Gamma.
Definition: Light.h:192
Back Light.
Definition: Light.h:68
More Cyan.
Definition: Light.h:344
More Blue.
Definition: Light.h:356
Full Occlusion Threshold.
Definition: Light.h:258
Input High.
Definition: Light.h:186
qint8 int8
Definition: UnderlyingTypes.h:32
std::vector< SLightRegionInfo > LightRegions
Light Regions.
Definition: Light.h:606
C3Vector AmbientColor
Ambient Color.
Definition: Light.h:492
HDR Ambient Multiplier.
Definition: Light.h:96
Definition: UnderlyingTypes.h:931
const int32 e_gameTimeEventCount
Definition: Light.h:44
quint32 uint32
Definition: UnderlyingTypes.h:22
uint32 TriggerTransition
Transition.
Definition: Light.h:576
bool flag
Definition: UnderlyingTypes.h:62
CTimeOfDay Time
Time.
Definition: Light.h:401
const int32 e_directionalLightCount
Definition: Light.h:72
int8 OperatorHDR
HDR Operator.
Definition: Light.h:570
TEditorCategories EditorCategories
Editor Categories.
Definition: Light.h:678
C3Vector Color
Color.
Definition: Light.h:425
Blend.
Definition: Light.h:240
Hue.
Definition: Light.h:222
Lighter.
Definition: Light.h:368
flag UseSeparateDetailSSAO
Use Separate Detail (Ambient Occlusion)
Definition: Light.h:594
uint32 Sensitivity
Sensitivity.
Definition: Light.h:468
Generic.
Definition: Light.h:18
HDR Exposure.
Definition: Light.h:84
Creep HDR Diffuse Multiplier.
Definition: Light.h:162
No Occlusion Threshold.
Definition: Light.h:252
flag8 TerrainUseBackLight
Terrain Uses Back Light.
Definition: Light.h:548
Definition: UnderlyingTypes.h:1406
HDR Bloom Threshold.
Definition: Light.h:90
Saturation.
Definition: Light.h:228
float real32
Definition: UnderlyingTypes.h:52
Creep Specular Exponent.
Definition: Light.h:156
Creep HDR Emissive Multiplier.
Definition: Light.h:174
ELightParam
Light Parameter.
Definition: Light.h:78
Terrain HDR Diffuse Multiplier.
Definition: Light.h:144
Definition: Light.h:480
real32 SpecColorMultiplier
Specular Color Multiplier.
Definition: Light.h:443
EVariationCommands
Variation Commands.
Definition: Light.h:326
Definition: Light.h:413
Less Saturation.
Definition: Light.h:380
std::vector< C3Vector > DiffuseColor
Diffuse Color.
Definition: Light.h:499
HDR Diffuse Multiplier.
Definition: Light.h:102
EClassIdCLight
Light Type.
Definition: Light.h:12
flag UseDefault
Use Default.
Definition: Light.h:486
std::vector< SVariationConfig > Variations
Variations.
Definition: Light.h:630
Definition: Light.h:612
Darker.
Definition: Light.h:374
CTexturePath AmbientEnvironmentMap
Ambient Environment Map.
Definition: Light.h:684
HDR White Point.
Definition: Light.h:108
Fill Light.
Definition: Light.h:62
CTexturePath LightingRegionMap
Lighting Region Map.
Definition: Light.h:690
EDirectionalLight
Directional Light.
Definition: Light.h:50
SLightInfo LightInfo
Light Info.
Definition: Light.h:618
std::vector< STimeEvent > TimeEventArray
Time Events.
Definition: Light.h:666
C3Vector Direction
Direction.
Definition: Light.h:449
Dusk.
Definition: Light.h:40
Definition: Light.h:455
std::vector< SDirectionalLight > DirectionalLight
Directional Lights.
Definition: Light.h:564
Full Detail Occlusion Threshold.
Definition: Light.h:282
const int32 e_hcCount
Definition: Light.h:390
Definition: Light.h:524
CStringLink Name
Name.
Definition: Light.h:407
Dark.
Definition: Light.h:304
Definition: UnderlyingTypes.h:854
More Red.
Definition: Light.h:350
HDR Scale.
Definition: Light.h:132
Generic.
Definition: Light.h:637
CTimeOfDay TimeStart
Time Start.
Definition: Light.h:659
real32 SpecularMultiplier
Specular Multiplier.
Definition: Light.h:518
Brightness.
Definition: Light.h:210
More Yellow.
Definition: Light.h:338
Output Low.
Definition: Light.h:198
const int32 e_classIdCLightCount
Definition: Light.h:22
Lightness.
Definition: Light.h:234
const int32 e_trCount
Definition: Light.h:320
Occlusion Radius.
Definition: Light.h:246
Detail Occlusion Radius.
Definition: Light.h:270
Dawn.
Definition: Light.h:34
uint32 VariationCount
Variation Count.
Definition: Light.h:624
Input Low.
Definition: Light.h:180
No Detail Occlusion Threshold.
Definition: Light.h:276
Key Light.
Definition: Light.h:56
C3Vector AmbientColor
Ambient Color.
Definition: Light.h:542
HDR Gain.
Definition: Light.h:126
Contrast.
Definition: Light.h:216
HDR Emissive Multiplier.
Definition: Light.h:120
C3Vector SpecularColor
Specular Color.
Definition: Light.h:437
const int32 e_lightParamCount
Definition: Light.h:292