|
OpenEnroth 9cf7432
|
#include "LightmapBuilder.h"#include "Engine/Engine.h"#include "Engine/Graphics/LightsStack.h"#include "Engine/Graphics/Outdoor.h"#include "Engine/Graphics/Indoor.h"#include "Engine/Graphics/ClippingFunctions.h"#include "Engine/Graphics/Weather.h"#include "Engine/OurMath.h"#include "Engine/Party.h"#include "Library/Color/ColorTable.h"Functions | |
| void | DrawLightsDebugOutlines (char bit_one_for_list1__bit_two_for_list2) |
| Color | GetActorTintColor (int max_dimm, int min_dimm, float distance, int bNoLight, const RenderBillboard *pBillboard) |
| int | GetLightLevelAtPoint (unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z) |
| int | _43F55F_get_billboard_light_level (const RenderBillboard *a1, int uBaseLightLevel) |
Variables | |
| LightsStack_StationaryLight_ * | pStationaryLightsStack = nullptr |
| LightsStack_MobileLight_ * | pMobileLightsStack = nullptr |
| int _43F55F_get_billboard_light_level | ( | const RenderBillboard * | a1, |
| int | uBaseLightLevel | ||
| ) |
| *a1 | Pointer to billboard to check. |
| uBaseLightLevel | Base light dimming value (0-31). |
| void DrawLightsDebugOutlines | ( | char | bit_one_for_list1__bit_two_for_list2 | ) |
| Color GetActorTintColor | ( | int | max_dimm, |
| int | min_dimm, | ||
| float | distance, | ||
| int | bNoLight, | ||
| const RenderBillboard * | pBillboard | ||
| ) |
| max_dimm | Maximum dimming level allowed (0-31). 31 * 8 ~ 255. |
| min_dimm | Minimum dimming level allowed (0-31). |
| distance | Depth distance to billboard. |
| bNoLight | No light dimming. |
| pBillboard | Pointer to the billboard to test against or Nullptr. |
| int GetLightLevelAtPoint | ( | unsigned int | uBaseLightLevel, |
| int | uSectorID, | ||
| float | x, | ||
| float | y, | ||
| float | z | ||
| ) |
| uBaseLightLevel | Starting dimming level at point (0-31). |
| uSectorID | Sector ID if indoors or 0. |
| x,y,z | Co-ords of point. |
| LightsStack_MobileLight_* pMobileLightsStack = nullptr |
| LightsStack_StationaryLight_* pStationaryLightsStack = nullptr |