OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
IndoorLocation Struct Reference

#include <Indoor.h>

Public Member Functions

 IndoorLocation ()
 
int GetSector (float sX, float sY, float sZ)
 
int GetSector (const Vec3f &pos)
 
void Release ()
 
void Load (std::string_view filename, int num_days_played, int respawn_interval_days, bool *indoor_was_respawned)
 
void Draw ()
 
void toggleLight (signed int uLightID, unsigned int bToggle)
 
void DrawIndoorFaces (bool bD3D)
 
void PrepareActorRenderList_BLV ()
 
void PrepareDecorationsRenderList_BLV (unsigned int uDecorationID, int uSectorID)
 
void PrepareItemsRenderList_BLV ()
 

Public Attributes

std::string filename
 
unsigned int bLoaded = 0
 
std::vector< Vec3fpVertices
 
std::vector< BLVFacepFaces
 
std::vector< BLVFaceExtrapFaceExtras
 
std::vector< BLVSectorpSectors
 
std::vector< BLVLightpLights
 
std::vector< BLVDoorpDoors
 
std::vector< BSPNodepNodes
 
std::vector< BLVMapOutlinepMapOutlines
 
std::vector< int16_t > pLFaces
 
std::vector< uint16_t > ptr_0002B0_sector_rdata
 
std::vector< int16_t > ptr_0002B4_doors_ddata
 
std::vector< uint16_t > ptr_0002B8_sector_lrdata
 
std::vector< SpawnPointpSpawnPoints
 
LocationInfo dlv
 
LocationTime stru1
 
std::array< char, 875 > _visible_outlines
 
char padding
 
DecalBuilderdecal_builder = nullptr
 
SpellFxRendererspell_fx_renderer = nullptr
 
std::shared_ptr< ParticleEngineparticle_engine = nullptr
 

Constructor & Destructor Documentation

◆ IndoorLocation()

IndoorLocation::IndoorLocation ( )
inline

Member Function Documentation

◆ Draw()

void IndoorLocation::Draw ( )

◆ DrawIndoorFaces()

void IndoorLocation::DrawIndoorFaces ( bool  bD3D)

◆ GetSector() [1/2]

int IndoorLocation::GetSector ( const Vec3f pos)
inline

◆ GetSector() [2/2]

int IndoorLocation::GetSector ( float  sX,
float  sY,
float  sZ 
)
Parameters
sXX coordinate.
sYY coordinate.
sZZ coordinate.
Returns
Sector id at (X,Y,Z), or zero if (X,Y,Z) is outside the level bounds.

◆ Load()

void IndoorLocation::Load ( std::string_view  filename,
int  num_days_played,
int  respawn_interval_days,
bool *  indoor_was_respawned 
)

◆ PrepareActorRenderList_BLV()

void IndoorLocation::PrepareActorRenderList_BLV ( )

◆ PrepareDecorationsRenderList_BLV()

void IndoorLocation::PrepareDecorationsRenderList_BLV ( unsigned int  uDecorationID,
int  uSectorID 
)

◆ PrepareItemsRenderList_BLV()

void IndoorLocation::PrepareItemsRenderList_BLV ( )

◆ Release()

void IndoorLocation::Release ( )

◆ toggleLight()

void IndoorLocation::toggleLight ( signed int  uLightID,
unsigned int  bToggle 
)
Original binary offset:
0x4488F7

Member Data Documentation

◆ _visible_outlines

std::array<char, 875> IndoorLocation::_visible_outlines

◆ bLoaded

unsigned int IndoorLocation::bLoaded = 0

◆ decal_builder

DecalBuilder* IndoorLocation::decal_builder = nullptr

◆ dlv

LocationInfo IndoorLocation::dlv

◆ filename

std::string IndoorLocation::filename

◆ padding

char IndoorLocation::padding

◆ particle_engine

std::shared_ptr<ParticleEngine> IndoorLocation::particle_engine = nullptr

◆ pDoors

std::vector<BLVDoor> IndoorLocation::pDoors

◆ pFaceExtras

std::vector<BLVFaceExtra> IndoorLocation::pFaceExtras

◆ pFaces

std::vector<BLVFace> IndoorLocation::pFaces

◆ pLFaces

std::vector<int16_t> IndoorLocation::pLFaces

◆ pLights

std::vector<BLVLight> IndoorLocation::pLights

◆ pMapOutlines

std::vector<BLVMapOutline> IndoorLocation::pMapOutlines

◆ pNodes

std::vector<BSPNode> IndoorLocation::pNodes

◆ pSectors

std::vector<BLVSector> IndoorLocation::pSectors

◆ pSpawnPoints

std::vector<SpawnPoint> IndoorLocation::pSpawnPoints

◆ ptr_0002B0_sector_rdata

std::vector<uint16_t> IndoorLocation::ptr_0002B0_sector_rdata

◆ ptr_0002B4_doors_ddata

std::vector<int16_t> IndoorLocation::ptr_0002B4_doors_ddata

◆ ptr_0002B8_sector_lrdata

std::vector<uint16_t> IndoorLocation::ptr_0002B8_sector_lrdata

◆ pVertices

std::vector<Vec3f> IndoorLocation::pVertices

◆ spell_fx_renderer

SpellFxRenderer* IndoorLocation::spell_fx_renderer = nullptr

◆ stru1

LocationTime IndoorLocation::stru1

The documentation for this struct was generated from the following files: