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

#include <Outdoor.h>

Public Member Functions

 OutdoorLocation ()
 
 ~OutdoorLocation ()
 
void ExecDraw (unsigned int bRedraw)
 
void PrepareActorsDrawList ()
 
void CreateDebugLocation ()
 
void Release ()
 
void Load (std::string_view filename, int days_played, int respawn_interval_days, bool *outdoors_was_respawned)
 
int UpdateDiscoveredArea (Vec2i gridPos)
 
bool IsMapCellFullyRevealed (signed int a2, signed int a3)
 
bool IsMapCellPartiallyRevealed (signed int a2, signed int a3)
 
bool PrepareDecorations ()
 
void ArrangeSpriteObjects ()
 
bool InitalizeActors (MapId a1)
 
double GetFogDensityByTime ()
 
bool Initialize (std::string_view filename, int days_played, int respawn_interval_days, bool *outdoors_was_respawned)
 
MapId getTravelDestination (int partyX, int partyY)
 
void UpdateSunlightVectors ()
 
void UpdateFog ()
 
int getNumFoodRequiredToRestInCurrentPos (const Vec3f &pos)
 
void SetFog ()
 
void Draw ()
 
double GetPolygonMaxZ (RenderVertexSoft *pVertex, unsigned int unumverts)
 
double GetPolygonMinZ (RenderVertexSoft *pVertices, unsigned int unumverts)
 
ODMFaceface (Pid pid)
 
BSPModelmodel (Pid pid)
 

Static Public Member Functions

static void LoadActualSkyFrame ()
 

Public Attributes

std::string level_filename
 
std::string location_filename
 
std::string location_file_description
 
std::string sky_texture_filename
 
OutdoorTerrain pTerrain
 
std::vector< BSPModelpBModels
 
std::vector< PidpFaceIDLIST
 
std::array< uint32_t, 128 *128 > pOMAP
 
GraphicsImagesky_texture = nullptr
 
std::vector< SpawnPointpSpawnPoints
 
LocationInfo ddm
 
LocationTime loc_time
 
std::array< std::array< uint8_t, 11 >, 88 > uFullyRevealedCellOnMap
 
std::array< std::array< uint8_t, 11 >, 88 > uPartiallyRevealedCellOnMap
 
int max_terrain_dimming_level
 
Vec3f vSunlight
 
float fFogDensity
 
int uLastSunlightUpdateMinute
 
DecalBuilderdecal_builder = nullptr
 
SpellFxRendererspell_fx_renderer = nullptr
 

Constructor & Destructor Documentation

◆ OutdoorLocation()

OutdoorLocation::OutdoorLocation ( )

◆ ~OutdoorLocation()

OutdoorLocation::~OutdoorLocation ( )

Member Function Documentation

◆ ArrangeSpriteObjects()

void OutdoorLocation::ArrangeSpriteObjects ( )

◆ CreateDebugLocation()

void OutdoorLocation::CreateDebugLocation ( )

◆ Draw()

void OutdoorLocation::Draw ( )

◆ ExecDraw()

void OutdoorLocation::ExecDraw ( unsigned int  bRedraw)

◆ face()

ODMFace & OutdoorLocation::face ( Pid  pid)
inline

◆ GetFogDensityByTime()

double OutdoorLocation::GetFogDensityByTime ( )

◆ getNumFoodRequiredToRestInCurrentPos()

int OutdoorLocation::getNumFoodRequiredToRestInCurrentPos ( const Vec3f pos)

◆ GetPolygonMaxZ()

double OutdoorLocation::GetPolygonMaxZ ( RenderVertexSoft pVertex,
unsigned int  unumverts 
)

◆ GetPolygonMinZ()

double OutdoorLocation::GetPolygonMinZ ( RenderVertexSoft pVertices,
unsigned int  unumverts 
)

◆ getTravelDestination()

MapId OutdoorLocation::getTravelDestination ( int  partyX,
int  partyY 
)
Original binary offset:
0x48902E

◆ InitalizeActors()

bool OutdoorLocation::InitalizeActors ( MapId  a1)

◆ Initialize()

bool OutdoorLocation::Initialize ( std::string_view  filename,
int  days_played,
int  respawn_interval_days,
bool *  outdoors_was_respawned 
)

◆ IsMapCellFullyRevealed()

bool OutdoorLocation::IsMapCellFullyRevealed ( signed int  a2,
signed int  a3 
)

◆ IsMapCellPartiallyRevealed()

bool OutdoorLocation::IsMapCellPartiallyRevealed ( signed int  a2,
signed int  a3 
)

◆ Load()

void OutdoorLocation::Load ( std::string_view  filename,
int  days_played,
int  respawn_interval_days,
bool *  outdoors_was_respawned 
)

◆ LoadActualSkyFrame()

void OutdoorLocation::LoadActualSkyFrame ( )
static

◆ model()

BSPModel & OutdoorLocation::model ( Pid  pid)
inline

◆ PrepareActorsDrawList()

void OutdoorLocation::PrepareActorsDrawList ( )

◆ PrepareDecorations()

bool OutdoorLocation::PrepareDecorations ( )

◆ Release()

void OutdoorLocation::Release ( )

◆ SetFog()

void OutdoorLocation::SetFog ( )

◆ UpdateDiscoveredArea()

int OutdoorLocation::UpdateDiscoveredArea ( Vec2i  gridPos)

◆ UpdateFog()

void OutdoorLocation::UpdateFog ( )

◆ UpdateSunlightVectors()

void OutdoorLocation::UpdateSunlightVectors ( )

Member Data Documentation

◆ ddm

LocationInfo OutdoorLocation::ddm

◆ decal_builder

DecalBuilder* OutdoorLocation::decal_builder = nullptr

◆ fFogDensity

float OutdoorLocation::fFogDensity

◆ level_filename

std::string OutdoorLocation::level_filename

◆ loc_time

LocationTime OutdoorLocation::loc_time

◆ location_file_description

std::string OutdoorLocation::location_file_description

◆ location_filename

std::string OutdoorLocation::location_filename

◆ max_terrain_dimming_level

int OutdoorLocation::max_terrain_dimming_level

◆ pBModels

std::vector<BSPModel> OutdoorLocation::pBModels

◆ pFaceIDLIST

std::vector<Pid> OutdoorLocation::pFaceIDLIST

◆ pOMAP

std::array<uint32_t, 128 * 128> OutdoorLocation::pOMAP

◆ pSpawnPoints

std::vector<SpawnPoint> OutdoorLocation::pSpawnPoints

◆ pTerrain

OutdoorTerrain OutdoorLocation::pTerrain

◆ sky_texture

GraphicsImage* OutdoorLocation::sky_texture = nullptr

◆ sky_texture_filename

std::string OutdoorLocation::sky_texture_filename

◆ spell_fx_renderer

SpellFxRenderer* OutdoorLocation::spell_fx_renderer = nullptr

◆ uFullyRevealedCellOnMap

std::array<std::array<uint8_t, 11>, 88> OutdoorLocation::uFullyRevealedCellOnMap

◆ uLastSunlightUpdateMinute

int OutdoorLocation::uLastSunlightUpdateMinute

◆ uPartiallyRevealedCellOnMap

std::array<std::array<uint8_t, 11>, 88> OutdoorLocation::uPartiallyRevealedCellOnMap

◆ vSunlight

Vec3f OutdoorLocation::vSunlight

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