OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Macros | Functions | Variables
LightmapBuilder.h File Reference

Macros

#define LIGHTMAP_FLAGS_USE_SPECULAR   0x01
 

Functions

void DrawLightsDebugOutlines (char bit_one_for_list1__bit_two_for_list2)
 
int _43F55F_get_billboard_light_level (const RenderBillboard *a1, int uBaseLightLevel)
 
int GetLightLevelAtPoint (unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z)
 

Variables

LightsStack_StationaryLight_pStationaryLightsStack
 
LightsStack_MobileLight_pMobileLightsStack
 

Macro Definition Documentation

◆ LIGHTMAP_FLAGS_USE_SPECULAR

#define LIGHTMAP_FLAGS_USE_SPECULAR   0x01

Function Documentation

◆ _43F55F_get_billboard_light_level()

int _43F55F_get_billboard_light_level ( const RenderBillboard a1,
int  uBaseLightLevel 
)
Original binary offset:
0x0043F55F.
Parameters
*a1Pointer to billboard to check.
uBaseLightLevelBase light dimming value (0-31).
Returns
Billboard dimming value (0-31) with lights applied.

◆ DrawLightsDebugOutlines()

void DrawLightsDebugOutlines ( char  bit_one_for_list1__bit_two_for_list2)

◆ GetLightLevelAtPoint()

int GetLightLevelAtPoint ( unsigned int  uBaseLightLevel,
int  uSectorID,
float  x,
float  y,
float  z 
)
Original binary offset:
0x0043F5C8.
Parameters
uBaseLightLevelStarting dimming level at point (0-31).
uSectorIDSector ID if indoors or 0.
x,y,zCo-ords of point.
Returns
Dimming level (0-31) with lights effect added.

Variable Documentation

◆ pMobileLightsStack

LightsStack_MobileLight_* pMobileLightsStack
extern

◆ pStationaryLightsStack

LightsStack_StationaryLight_* pStationaryLightsStack
extern