OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Variables
mm7_data.cpp File Reference
#include "Engine/mm7_data.h"
#include <string>
#include <vector>
#include "Engine/Graphics/Viewport.h"
#include "OurMath.h"

Variables

ViewportpViewport = new Viewport
 
ViewingParamsviewparams = new ViewingParams
 
std::array< Vec3f, 66 > sphereVertPos
 
std::array< int32_t, 128 *3 > sphereVertInd
 
int game_viewport_width
 
int game_viewport_height
 
int game_viewport_x
 
int game_viewport_y
 
int game_viewport_z
 
int game_viewport_w
 
char _4D864C_force_sw_render_rules
 
float flt_4D84E8 = 0.0f
 
unsigned int uGammaPos = 0
 
std::array< int, 6 > teleportX
 
std::array< int, 6 > teleportY
 
std::array< int, 6 > teleportZ
 
std::array< int, 6 > teleportYaw
 
std::array< float, 10 > flt_4E4A80
 
std::array< std::array< int, 6 >, 6 > pNPCPortraits_x
 
std::array< std::array< int, 6 >, 6 > pNPCPortraits_y
 
std::array< const char *, 11 > pHouse_ExitPictures
 
char _4E94D0_light_type = 5
 
char _4E94D2_light_type = 6
 
char _4E94D3_light_type = 10
 
std::array< const char *, 25 > pPlayerPortraitsNames
 
std::array< std::array< unsigned char, 25 >, 48 > byte_4ECF08
 
IndexedArray< std::array< unsigned char, 3 >, SPEECH_FIRST, SPEECH_LASTspeechVariants
 
IndexedArray< std::array< CharacterPortrait, 5 >, SPEECH_FIRST, SPEECH_LASTportraitVariants
 
std::array< int16_t, 4 > pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing = {{34, 149, 264, 379}}
 
IndexedArray< int, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LASTskills_max_level
 
IndexedArray< Duration, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LASTbase_recovery_times_per_weapon_type
 
std::array< IndexedArray< ClassSkillAffinity, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LAST >, 9 > pSkillAvailabilityPerClass
 
IndexedArray< IndexedArray< CharacterSkillMastery, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LAST >, CLASS_FIRST, CLASS_LASTskillMaxMasteryPerClass
 
int ai_arrays_size
 
std::vector< Pidai_near_actors_targets_pid
 
std::vector< unsigned int > ai_near_actors_ids
 
char byte_4FAA24
 
Pid uLastPointedObjectID
 
int KeyboardPageNum
 
Color uGameUIFontShadow
 
Color uGameUIFontMain
 
SpellId dword_507B00_spell_info_to_draw_in_popup
 
int dword_507CC0_activ_ch
 
bool OpenedTelekinesis
 
int enchantingActiveCharacter
 
int uSpriteID_Spell11
 
bool IsEnchantingInProgress
 
Duration ItemEnchantmentTimer
 
UIMessageType AfterEnchClickEventId
 
int AfterEnchClickEventSecondParam
 
Duration AfterEnchClickEventTimeout
 
unsigned int uNumBlueFacesInBLVMinimap
 
std::array< uint16_t, 50 > pBlueFacesInBLVMinimapIDs
 
std::array< GraphicsImage *, 14 > party_buff_icons
 
unsigned int uIconIdx_FlySpell
 
unsigned int uIconIdx_WaterWalk
 
int uCurrentHouse_Animation
 
std::string branchless_dialogue_str
 
int dword_5B65C4_cancelEventProcessing
 
int npcIdToDismissAfterDialogue
 
int bDialogueUI_InitializeActor_NPC_ID
 
std::array< char, 777 > byte_5E4C15
 
int uDefaultTravelTime_ByFoot
 
MapWeatherFlags day_attrib
 
int day_fogrange_1
 
int day_fogrange_2
 
int day_fogrange_3
 
float fWalkSpeedMultiplier = 1.0f
 
float fBackwardWalkSpeedMultiplier = 1.0f
 
float fTurnSpeedMultiplier = 1.0f
 
int dword_6BE364_game_settings_1 = 0
 
int uPlayerCreationUI_SelectedCharacter
 
int uPlayerCreationUI_NameEditCharacter
 
int currentAddressingAwardBit
 
std::string current_npc_text
 
char dialogue_show_profession_details = false
 
bool GameOverNoSound = false
 

Variable Documentation

◆ _4D864C_force_sw_render_rules

char _4D864C_force_sw_render_rules

◆ _4E94D0_light_type

char _4E94D0_light_type = 5

◆ _4E94D2_light_type

char _4E94D2_light_type = 6

◆ _4E94D3_light_type

char _4E94D3_light_type = 10

◆ AfterEnchClickEventId

UIMessageType AfterEnchClickEventId

◆ AfterEnchClickEventSecondParam

int AfterEnchClickEventSecondParam

◆ AfterEnchClickEventTimeout

Duration AfterEnchClickEventTimeout

◆ ai_arrays_size

int ai_arrays_size

◆ ai_near_actors_ids

std::vector<unsigned int> ai_near_actors_ids

◆ ai_near_actors_targets_pid

std::vector<Pid> ai_near_actors_targets_pid

◆ base_recovery_times_per_weapon_type

IndexedArray<Duration, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LAST> base_recovery_times_per_weapon_type

◆ bDialogueUI_InitializeActor_NPC_ID

int bDialogueUI_InitializeActor_NPC_ID

◆ branchless_dialogue_str

std::string branchless_dialogue_str

◆ byte_4ECF08

std::array<std::array<unsigned char, 25>, 48> byte_4ECF08

◆ byte_4FAA24

char byte_4FAA24

◆ byte_5E4C15

std::array<char, 777> byte_5E4C15

◆ current_npc_text

std::string current_npc_text

◆ currentAddressingAwardBit

int currentAddressingAwardBit

◆ day_attrib

MapWeatherFlags day_attrib

◆ day_fogrange_1

int day_fogrange_1

◆ day_fogrange_2

int day_fogrange_2

◆ day_fogrange_3

int day_fogrange_3

◆ dialogue_show_profession_details

char dialogue_show_profession_details = false

◆ dword_507B00_spell_info_to_draw_in_popup

SpellId dword_507B00_spell_info_to_draw_in_popup

◆ dword_507CC0_activ_ch

int dword_507CC0_activ_ch

◆ dword_5B65C4_cancelEventProcessing

int dword_5B65C4_cancelEventProcessing

◆ dword_6BE364_game_settings_1

int dword_6BE364_game_settings_1 = 0

◆ enchantingActiveCharacter

int enchantingActiveCharacter

◆ fBackwardWalkSpeedMultiplier

float fBackwardWalkSpeedMultiplier = 1.0f

◆ flt_4D84E8

float flt_4D84E8 = 0.0f

◆ flt_4E4A80

std::array<float, 10> flt_4E4A80
Initial value:
= {{
0.050000001f, 0.1f, 0.30000001f, 0.5f,
0.60000002f, 1.0f, 6.0f, 25.0f,
50.0f, 100.0f
}}

◆ fTurnSpeedMultiplier

float fTurnSpeedMultiplier = 1.0f

◆ fWalkSpeedMultiplier

float fWalkSpeedMultiplier = 1.0f

◆ game_viewport_height

int game_viewport_height

◆ game_viewport_w

int game_viewport_w

◆ game_viewport_width

int game_viewport_width

◆ game_viewport_x

int game_viewport_x

◆ game_viewport_y

int game_viewport_y

◆ game_viewport_z

int game_viewport_z

◆ GameOverNoSound

bool GameOverNoSound = false

◆ IsEnchantingInProgress

bool IsEnchantingInProgress

◆ ItemEnchantmentTimer

Duration ItemEnchantmentTimer

◆ KeyboardPageNum

int KeyboardPageNum

◆ npcIdToDismissAfterDialogue

int npcIdToDismissAfterDialogue

◆ OpenedTelekinesis

bool OpenedTelekinesis

◆ party_buff_icons

std::array<GraphicsImage *, 14> party_buff_icons

◆ pBlueFacesInBLVMinimapIDs

std::array<uint16_t, 50> pBlueFacesInBLVMinimapIDs

◆ pHouse_ExitPictures

std::array<const char *, 11> pHouse_ExitPictures
Initial value:
= {{
"", "ticon01", "ticon02", "ticon03", "ticon04", "ticon05",
"istairup", "itrap", "outside", "idoor", "isecdoor"
}}

◆ pNPCPortraits_x

std::array<std::array<int, 6>, 6> pNPCPortraits_x
Initial value:
= {{
{{521, 0, 0, 0, 0, 0}},
{{521, 521, 0, 0, 0, 0}},
{{521, 521, 521, 0, 0, 0}},
{{521, 486, 564, 521, 0, 0}},
{{521, 486, 564, 486, 564, 0}},
{{486, 564, 486, 564, 486, 564}}
}}

◆ pNPCPortraits_y

std::array<std::array<int, 6>, 6> pNPCPortraits_y
Initial value:
= {{
{{38, 0, 0, 0, 0, 0}},
{{38, 165, 0, 0, 0, 0}},
{{38, 133, 228, 0, 0, 0}},
{{38, 133, 133, 228, 0, 0}},
{{38, 133, 133, 228, 228, 0}},
{{38, 38, 133, 133, 228, 228}}
}}

◆ portraitVariants

IndexedArray<std::array<CharacterPortrait, 5>, SPEECH_FIRST, SPEECH_LAST> portraitVariants

◆ pPlayerPortraitsNames

std::array<const char *, 25> pPlayerPortraitsNames
Initial value:
= {{
"pc01-", "pc02", "pc03", "pc04", "pc05-", "pc06", "pc07",
"pc08", "pc09-", "pc10", "pc11-", "pc12", "pc13", "pc14",
"pc15", "pc16", "pc17-", "pc18", "pc19", "pc20", "pc21-",
"pc22-", "pc23", "pc24-", "pc25-"
}}

◆ pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing

std::array<int16_t, 4> pPlayerPortraitsXCoords_For_PlayerBuffAnimsDrawing = {{34, 149, 264, 379}}

◆ pSkillAvailabilityPerClass

std::array<IndexedArray<ClassSkillAffinity, CHARACTER_SKILL_FIRST, CHARACTER_SKILL_LAST>, 9> pSkillAvailabilityPerClass

◆ pViewport

Viewport* pViewport = new Viewport

◆ skillMaxMasteryPerClass

◆ skills_max_level

Initial value:
= {
}

◆ speechVariants

IndexedArray<std::array<unsigned char, 3>, SPEECH_FIRST, SPEECH_LAST> speechVariants

◆ sphereVertInd

std::array<int32_t, 128 * 3> sphereVertInd

◆ sphereVertPos

std::array<Vec3f, 66> sphereVertPos

◆ teleportX

std::array<int, 6> teleportX

◆ teleportY

std::array<int, 6> teleportY

◆ teleportYaw

std::array<int, 6> teleportYaw

◆ teleportZ

std::array<int, 6> teleportZ

◆ uCurrentHouse_Animation

int uCurrentHouse_Animation

◆ uDefaultTravelTime_ByFoot

int uDefaultTravelTime_ByFoot

◆ uGameUIFontMain

Color uGameUIFontMain

◆ uGameUIFontShadow

Color uGameUIFontShadow

◆ uGammaPos

unsigned int uGammaPos = 0

◆ uIconIdx_FlySpell

unsigned int uIconIdx_FlySpell

◆ uIconIdx_WaterWalk

unsigned int uIconIdx_WaterWalk

◆ uLastPointedObjectID

Pid uLastPointedObjectID

◆ uNumBlueFacesInBLVMinimap

unsigned int uNumBlueFacesInBLVMinimap

◆ uPlayerCreationUI_NameEditCharacter

int uPlayerCreationUI_NameEditCharacter

◆ uPlayerCreationUI_SelectedCharacter

int uPlayerCreationUI_SelectedCharacter

◆ uSpriteID_Spell11

int uSpriteID_Spell11

◆ viewparams

ViewingParams* viewparams = new ViewingParams