OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
Engine.h File Reference
#include <memory>
#include <string>
#include <vector>
#include <array>
#include "Application/GameConfig.h"
#include "Engine/Events/EventMap.h"
#include "Engine/MapEnums.h"
#include "Engine/TeleportPoint.h"
#include "Engine/mm7_data.h"
#include "Engine/Time/Time.h"
#include "Utility/Memory/Blob.h"

Classes

struct  PersistentVariables
 
class  Engine
 

Namespaces

namespace  Io
 

Enumerations

enum class  GameState {
  GAME_STATE_PLAYING = 0 , GAME_FINISHED = 1 , GAME_STATE_CHANGE_LOCATION = 2 , GAME_STATE_LOADING_GAME = 3 ,
  GAME_STATE_NEWGAME_OUT_GAMEMENU = 4 , GAME_STATE_5 = 5 , GAME_STATE_STARTING_NEW_GAME = 6 , GAME_STATE_GAME_QUITTING_TO_MAIN_MENU = 7 ,
  GAME_STATE_PARTY_DIED = 8 , GAME_STATE_FINAL_WINDOW = 9 , GAME_STATE_A = 10
}
 

Functions

void PlayButtonClickSound ()
 
void back_to_game ()
 
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 MM6_Initialize ()
 
void MM7Initialization ()
 
void InitializeTurnBasedAnimations (void *)
 
int GetGravityStrength ()
 
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 _494035_timed_effects__water_walking_damage__etc (Duration dt)
 
void maybeWakeSoloSurvivor ()
 
void updatePartyDeathState ()
 
void RegeneratePartyHealthMana ()
 
std::string GetReputationString (int reputation)
 
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 point)
 
void TeleportToNWCDungeon ()
 

Variables

GameState uGameState
 
Engineengine
 

Enumeration Type Documentation

◆ GameState

enum class GameState
strong
Enumerator
GAME_STATE_PLAYING 
GAME_FINISHED 
GAME_STATE_CHANGE_LOCATION 
GAME_STATE_LOADING_GAME 
GAME_STATE_NEWGAME_OUT_GAMEMENU 
GAME_STATE_5 
GAME_STATE_STARTING_NEW_GAME 
GAME_STATE_GAME_QUITTING_TO_MAIN_MENU 
GAME_STATE_PARTY_DIED 
GAME_STATE_FINAL_WINDOW 
GAME_STATE_A 

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 ( )

◆ GetReputationString()

std::string GetReputationString ( int  reputation)

◆ 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 ( )

◆ 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

◆ TeleportToNWCDungeon()

void TeleportToNWCDungeon ( )

◆ timeUntilDawn()

Duration timeUntilDawn ( )
Original binary offset:
0x494820

◆ Transition_StopSound_Autosave()

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

◆ updatePartyDeathState()

void updatePartyDeathState ( )

◆ UpdateUserInput_and_MapSpecificStuff()

void UpdateUserInput_and_MapSpecificStuff ( )

Variable Documentation

◆ engine

Engine* engine
extern

◆ uGameState

GameState uGameState
extern