OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions | Variables
Engine.cpp File Reference
#include <cstring>
#include <string>
#include <algorithm>
#include <memory>
#include "Engine/Engine.h"
#include "Engine/EngineGlobals.h"
#include "Engine/AssetsManager.h"
#include "Engine/Events/Processor.h"
#include "Engine/Graphics/Camera.h"
#include "Engine/Graphics/DecalBuilder.h"
#include "Engine/Objects/DecorationList.h"
#include "Engine/Graphics/Renderer/Renderer.h"
#include "Engine/Objects/Decoration.h"
#include "Engine/Graphics/LightmapBuilder.h"
#include "Engine/Graphics/LightsStack.h"
#include "Engine/Graphics/Outdoor.h"
#include "Engine/Graphics/Indoor.h"
#include "Engine/Graphics/BspRenderer.h"
#include "Engine/Graphics/Image.h"
#include "Engine/Graphics/Overlays.h"
#include "Engine/Graphics/PaletteManager.h"
#include "Engine/Graphics/ParticleEngine.h"
#include "Engine/Graphics/Sprites.h"
#include "Engine/Graphics/TextureFrameTable.h"
#include "Engine/Graphics/Viewport.h"
#include "Engine/Graphics/Vis.h"
#include "Engine/Graphics/Weather.h"
#include "Engine/Graphics/PortalFunctions.h"
#include "Engine/Graphics/TurnBasedOverlay.h"
#include "Engine/LodTextureCache.h"
#include "Engine/LodSpriteCache.h"
#include "Engine/Localization.h"
#include "Engine/Objects/Actor.h"
#include "Engine/Objects/Chest.h"
#include "Engine/Objects/ObjectList.h"
#include "Engine/Objects/SpriteObject.h"
#include "Engine/Objects/NPC.h"
#include "Engine/Objects/MonsterEnumFunctions.h"
#include "Engine/OurMath.h"
#include "Engine/Party.h"
#include "Engine/Random/Random.h"
#include "Engine/SaveLoad.h"
#include "Engine/Snapshots/TableSerialization.h"
#include "Engine/SpellFxRenderer.h"
#include "Engine/Spells/CastSpellInfo.h"
#include "Engine/Spells/Spells.h"
#include "Engine/Tables/AwardTable.h"
#include "Engine/Tables/HouseTable.h"
#include "Engine/Tables/ItemTable.h"
#include "Engine/Tables/IconFrameTable.h"
#include "Engine/Tables/PortraitFrameTable.h"
#include "Engine/Tables/TileTable.h"
#include "Engine/Tables/FactionTable.h"
#include "Engine/Tables/HistoryTable.h"
#include "Engine/Tables/AutonoteTable.h"
#include "Engine/Tables/QuestTable.h"
#include "Engine/Tables/TransitionTable.h"
#include "Engine/Tables/MerchantTable.h"
#include "Engine/Tables/MessageScrollTable.h"
#include "Engine/Time/Timer.h"
#include "Engine/AttackList.h"
#include "Engine/GameResourceManager.h"
#include "Engine/MapInfo.h"
#include "Engine/EngineFileSystem.h"
#include "GUI/GUIProgressBar.h"
#include "GUI/GUIWindow.h"
#include "GUI/UI/UIStatusBar.h"
#include "GUI/UI/UIPopup.h"
#include "GUI/UI/UIMessageScroll.h"
#include "GUI/GUIMessageQueue.h"
#include "GUI/Overlay/OverlaySystem.h"
#include "Media/Audio/AudioPlayer.h"
#include "Media/Audio/SoundList.h"
#include "Media/MediaPlayer.h"
#include "Io/Mouse.h"
#include "Library/Logger/Logger.h"
#include "Library/BuildInfo/BuildInfo.h"
#include "Utility/String/Transformations.h"

Functions

void PlayButtonClickSound ()
 
void UpdateUserInput_and_MapSpecificStuff ()
 
void PrepareWorld (int _0_box_loading_1_fullscreen)
 
void DoPrepareWorld (bool bLoading, int _1_fullscreen_loading_2_box)
 
void FinalInitialization ()
 
void MM7_LoadLods ()
 
void MM6_Initialize ()
 
void MM7Initialization ()
 
void InitializeTurnBasedAnimations (void *_this)
 
int GetGravityStrength ()
 
void sub_44861E_set_texture_indoor (unsigned int uFaceCog, std::string_view filename)
 
void sub_44861E_set_texture_outdoor (unsigned int uFaceCog, std::string_view filename)
 
void setTexture (unsigned int uFaceCog, std::string_view pFilename)
 
void setFacesBit (int sCogNumber, FaceAttribute bit, int on)
 
void setDecorationSprite (uint16_t uCog, bool bHide, std::string_view pFileName)
 
void back_to_game ()
 
void _494035_timed_effects__water_walking_damage__etc (Duration dt)
 
void maybeWakeSoloSurvivor ()
 
void updatePartyDeathState ()
 
void RegeneratePartyHealthMana ()
 
Duration timeUntilDawn ()
 
void initLevelStrings (const Blob &blob)
 
void loadMapEventsAndStrings (MapId mapid)
 
bool _44100D_should_alter_right_panel ()
 
void Transition_StopSound_Autosave (std::string_view pMapName, MapStartPoint start_point)
 
void TeleportToNWCDungeon ()
 

Variables

Engineengine
 
GameState uGameState
 

Function Documentation

◆ _44100D_should_alter_right_panel()

bool _44100D_should_alter_right_panel ( )

◆ _494035_timed_effects__water_walking_damage__etc()

void _494035_timed_effects__water_walking_damage__etc ( Duration  dt)

◆ back_to_game()

void back_to_game ( )

◆ DoPrepareWorld()

void DoPrepareWorld ( bool  bLoading,
int  _1_fullscreen_loading_2_box 
)

◆ FinalInitialization()

void FinalInitialization ( )

◆ GetGravityStrength()

int GetGravityStrength ( )

◆ InitializeTurnBasedAnimations()

void InitializeTurnBasedAnimations ( void *  _this)

◆ initLevelStrings()

void initLevelStrings ( const Blob blob)
Original binary offset:
0x443E31

◆ loadMapEventsAndStrings()

void loadMapEventsAndStrings ( MapId  mapid)

◆ maybeWakeSoloSurvivor()

void maybeWakeSoloSurvivor ( )

◆ MM6_Initialize()

void MM6_Initialize ( )

◆ MM7_LoadLods()

void MM7_LoadLods ( )

◆ MM7Initialization()

void MM7Initialization ( )

◆ PlayButtonClickSound()

void PlayButtonClickSound ( )
Original binary offset:
0x42FC15

◆ PrepareWorld()

void PrepareWorld ( int  _0_box_loading_1_fullscreen)

◆ RegeneratePartyHealthMana()

void RegeneratePartyHealthMana ( )

Modify party health or mana based on party or players conditions/buffs.

Original binary offset:
0x493938.

◆ setDecorationSprite()

void setDecorationSprite ( uint16_t  uCog,
bool  bHide,
std::string_view  pFileName 
)
Original binary offset:
0x44882F

◆ setFacesBit()

void setFacesBit ( int  sCogNumber,
FaceAttribute  bit,
int  on 
)
Original binary offset:
0x44892E

◆ setTexture()

void setTexture ( unsigned int  uFaceCog,
std::string_view  pFilename 
)
Original binary offset:
0x44861E

◆ sub_44861E_set_texture_indoor()

void sub_44861E_set_texture_indoor ( unsigned int  uFaceCog,
std::string_view  filename 
)

◆ sub_44861E_set_texture_outdoor()

void sub_44861E_set_texture_outdoor ( unsigned int  uFaceCog,
std::string_view  filename 
)

◆ TeleportToNWCDungeon()

void TeleportToNWCDungeon ( )

◆ timeUntilDawn()

Duration timeUntilDawn ( )
Original binary offset:
0x494820

◆ Transition_StopSound_Autosave()

void Transition_StopSound_Autosave ( std::string_view  pMapName,
MapStartPoint  start_point 
)

◆ updatePartyDeathState()

void updatePartyDeathState ( )

◆ UpdateUserInput_and_MapSpecificStuff()

void UpdateUserInput_and_MapSpecificStuff ( )

Variable Documentation

◆ engine

Engine* engine

◆ uGameState

GameState uGameState