2023-08-09 23:45:58 +03:00
|
|
|
#ifndef _SLDRLIGHTPARAMETERS
|
|
|
|
|
#define _SLDRLIGHTPARAMETERS
|
|
|
|
|
|
|
|
|
|
#include "Kyoto/Graphics/CColor.hpp"
|
|
|
|
|
#include "Kyoto/Math/CVector3f.hpp"
|
|
|
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
|
|
|
|
|
|
|
|
struct SLdrLightParameters {
|
|
|
|
|
SLdrLightParameters();
|
|
|
|
|
~SLdrLightParameters();
|
|
|
|
|
|
2023-08-11 22:35:54 +03:00
|
|
|
bool castShadow;
|
|
|
|
|
float shadowScale;
|
2023-08-09 23:45:58 +03:00
|
|
|
int unknown_0xecda4163;
|
2023-08-11 22:35:54 +03:00
|
|
|
float shadowAlpha;
|
|
|
|
|
float maxShadowHeight;
|
|
|
|
|
CColor ambientColor;
|
2023-08-09 23:45:58 +03:00
|
|
|
bool unknown_0xa71810e9;
|
2023-08-11 22:35:54 +03:00
|
|
|
int worldLightingOptions;
|
|
|
|
|
int lightRecalculation;
|
|
|
|
|
CVector3f lightingPositionOffset;
|
|
|
|
|
int numDynamicLights;
|
|
|
|
|
int numAreaLights;
|
|
|
|
|
bool useOldLighting;
|
|
|
|
|
bool ignoreAmbientLighting;
|
|
|
|
|
int useLightSet;
|
2023-08-09 23:45:58 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void LoadTypedefSLdrLightParameters(SLdrLightParameters&, CInputStream&);
|
|
|
|
|
|
|
|
|
|
#endif // _SLDRLIGHTPARAMETERS
|