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

#include <Engine.h>

Public Member Functions

 Engine (std::shared_ptr< GameConfig > config, OverlaySystem &overlaySystem)
 
virtual ~Engine ()
 
void Initialize ()
 
Vis_PIDAndDepth PickMouse (float fPickDepth, int uMouseX, int uMouseY, Vis_SelectionFilter *sprite_filter, Vis_SelectionFilter *face_filter)
 
Vis_PIDAndDepth PickKeyboard (float pick_depth, Vis_SelectionFilter *sprite_filter, Vis_SelectionFilter *face_filter)
 
Vis_PIDAndDepth PickMouseInfoPopup ()
 
Vis_PIDAndDepth PickMouseTarget ()
 
Vis_PIDAndDepth PickMouseNormal ()
 
void onGameViewportClick ()
 
int _44ED0A_saturate_face_blv (BLVFace *a2, int *a3, signed int a4)
 
bool draw_debug_outlines ()
 
void StackPartyTorchLight ()
 
void DrawParticles ()
 
void Draw ()
 
void drawWorld ()
 
void drawHUD ()
 
void drawOverlay ()
 
void DrawGUI ()
 
void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows ()
 
void SecondaryInitialization ()
 
void _461103_load_level_sub ()
 
void MM7_Initialize ()
 
bool IsUnderwater () const
 
void SetUnderwater (bool is_underwater)
 
bool IsSaturateFaces () const
 
void SetSaturateFaces (bool is_saturate_faces)
 
bool IsFog () const
 
void SetFog (bool is_fog)
 
void toggleOverlays ()
 
void disableOverlays ()
 

Static Public Member Functions

static void LogEngineBuildInfo ()
 

Public Attributes

bool is_underwater = false
 
bool is_saturate_faces = false
 
bool is_fog = false
 
std::shared_ptr< GameConfigconfig
 
int uNumStationaryLights_in_pStationaryLightsStack
 
float fSaturation
 
BloodsplatContainerbloodsplat_container = nullptr
 
DecalBuilderdecal_builder = nullptr
 
SpellFxRendererspell_fx_renedrer = nullptr
 
EngineCallObservercallObserver = nullptr
 
std::shared_ptr< Io::Mousemouse
 
std::shared_ptr< ParticleEngineparticle_engine
 
Visvis = nullptr
 
std::shared_ptr< Io::KeyboardInputHandlerkeyboardInputHandler
 
std::shared_ptr< Io::KeyboardActionMappingkeyboardActionMapping
 
EventMap _globalEventMap
 
EventMap _localEventMap
 
std::vector< std::string > _levelStrings
 
PersistentVariables _persistentVariables
 
MapId _currentLoadedMapId = MAP_INVALID
 
MapId _transitionMapId = MAP_INVALID
 
TeleportPoint _teleportPoint
 
OverlaySystem_overlaySystem
 
std::unique_ptr< GUIMessageQueue_messageQueue
 
std::unique_ptr< GameResourceManager_gameResourceManager
 
std::unique_ptr< StatusBar_statusBar
 
std::unique_ptr< IndoorLocation_indoor
 
std::unique_ptr< OutdoorLocation_outdoor
 
std::unique_ptr< LightsStack_StationaryLight__stationaryLights
 
std::unique_ptr< LightsStack_MobileLight__mobileLights
 

Constructor & Destructor Documentation

◆ Engine()

Engine::Engine ( std::shared_ptr< GameConfig config,
OverlaySystem overlaySystem 
)
explicit

◆ ~Engine()

Engine::~Engine ( )
virtual

Member Function Documentation

◆ _44ED0A_saturate_face_blv()

int Engine::_44ED0A_saturate_face_blv ( BLVFace a2,
int *  a3,
signed int  a4 
)

◆ _461103_load_level_sub()

void Engine::_461103_load_level_sub ( )

◆ disableOverlays()

void Engine::disableOverlays ( )

◆ Draw()

void Engine::Draw ( )

◆ draw_debug_outlines()

bool Engine::draw_debug_outlines ( )

◆ DrawGUI()

void Engine::DrawGUI ( )

◆ drawHUD()

void Engine::drawHUD ( )

◆ drawOverlay()

void Engine::drawOverlay ( )

◆ DrawParticles()

void Engine::DrawParticles ( )

◆ drawWorld()

void Engine::drawWorld ( )

◆ Initialize()

void Engine::Initialize ( )

◆ IsFog()

bool Engine::IsFog ( ) const
inline

◆ IsSaturateFaces()

bool Engine::IsSaturateFaces ( ) const
inline

◆ IsUnderwater()

bool Engine::IsUnderwater ( ) const
inline

◆ LogEngineBuildInfo()

void Engine::LogEngineBuildInfo ( )
static

◆ MM7_Initialize()

void Engine::MM7_Initialize ( )

◆ onGameViewportClick()

void Engine::onGameViewportClick ( )
Original binary offset:
0x42213C

◆ PickKeyboard()

Vis_PIDAndDepth Engine::PickKeyboard ( float  pick_depth,
Vis_SelectionFilter sprite_filter,
Vis_SelectionFilter face_filter 
)

◆ PickMouse()

Vis_PIDAndDepth Engine::PickMouse ( float  fPickDepth,
int  uMouseX,
int  uMouseY,
Vis_SelectionFilter sprite_filter,
Vis_SelectionFilter face_filter 
)

◆ PickMouseInfoPopup()

Vis_PIDAndDepth Engine::PickMouseInfoPopup ( )

◆ PickMouseNormal()

Vis_PIDAndDepth Engine::PickMouseNormal ( )

◆ PickMouseTarget()

Vis_PIDAndDepth Engine::PickMouseTarget ( )

◆ ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows()

void Engine::ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows ( )

◆ SecondaryInitialization()

void Engine::SecondaryInitialization ( )

◆ SetFog()

void Engine::SetFog ( bool  is_fog)
inline

◆ SetSaturateFaces()

void Engine::SetSaturateFaces ( bool  is_saturate_faces)
inline

◆ SetUnderwater()

void Engine::SetUnderwater ( bool  is_underwater)
inline

◆ StackPartyTorchLight()

void Engine::StackPartyTorchLight ( )

◆ toggleOverlays()

void Engine::toggleOverlays ( )

Member Data Documentation

◆ _currentLoadedMapId

MapId Engine::_currentLoadedMapId = MAP_INVALID

◆ _gameResourceManager

std::unique_ptr<GameResourceManager> Engine::_gameResourceManager

◆ _globalEventMap

EventMap Engine::_globalEventMap

◆ _indoor

std::unique_ptr<IndoorLocation> Engine::_indoor

◆ _levelStrings

std::vector<std::string> Engine::_levelStrings

◆ _localEventMap

EventMap Engine::_localEventMap

◆ _messageQueue

std::unique_ptr<GUIMessageQueue> Engine::_messageQueue

◆ _mobileLights

std::unique_ptr<LightsStack_MobileLight_> Engine::_mobileLights

◆ _outdoor

std::unique_ptr<OutdoorLocation> Engine::_outdoor

◆ _overlaySystem

OverlaySystem& Engine::_overlaySystem

◆ _persistentVariables

PersistentVariables Engine::_persistentVariables

◆ _stationaryLights

std::unique_ptr<LightsStack_StationaryLight_> Engine::_stationaryLights

◆ _statusBar

std::unique_ptr<StatusBar> Engine::_statusBar

◆ _teleportPoint

TeleportPoint Engine::_teleportPoint

◆ _transitionMapId

MapId Engine::_transitionMapId = MAP_INVALID

◆ bloodsplat_container

BloodsplatContainer* Engine::bloodsplat_container = nullptr

◆ callObserver

EngineCallObserver* Engine::callObserver = nullptr

◆ config

std::shared_ptr<GameConfig> Engine::config

◆ decal_builder

DecalBuilder* Engine::decal_builder = nullptr

◆ fSaturation

float Engine::fSaturation

◆ is_fog

bool Engine::is_fog = false

◆ is_saturate_faces

bool Engine::is_saturate_faces = false

◆ is_underwater

bool Engine::is_underwater = false

◆ keyboardActionMapping

std::shared_ptr<Io::KeyboardActionMapping> Engine::keyboardActionMapping

◆ keyboardInputHandler

std::shared_ptr<Io::KeyboardInputHandler> Engine::keyboardInputHandler

◆ mouse

std::shared_ptr<Io::Mouse> Engine::mouse

◆ particle_engine

std::shared_ptr<ParticleEngine> Engine::particle_engine

◆ spell_fx_renedrer

SpellFxRenderer* Engine::spell_fx_renedrer = nullptr

◆ uNumStationaryLights_in_pStationaryLightsStack

int Engine::uNumStationaryLights_in_pStationaryLightsStack

◆ vis

Vis* Engine::vis = nullptr

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