feat(console): add more work to understand ConsoleDeviceInitialize

This commit is contained in:
phaneron 2025-04-03 02:21:40 -04:00
parent 9df5775a17
commit 6cda64dfc4
16 changed files with 224 additions and 28 deletions

View file

@ -1,3 +1,4 @@
AddResolution 0054EFE0 f end=0054F046 type="void __fastcall func(TSGrowableArray_C2iVector* this, C2iVector* resolution)"
GenerateNodeString 00763680 f end=0076372C type="void __stdcall func(CONSOLELINE* node)"
SetInputString 00763730 f end=007637CD type="void __stdcall func(char* text)" ; UC
ReserveInputSpace 007637D0 f end=0076382B type="void __fastcall func(CONSOLELINE* lineptr, uint32_t chars)"
@ -57,8 +58,10 @@ ConsoleCommandUnregister 007689E0 f end=00768A19 type="void __stdcall func(char*
ConsoleCommandComplete 00768A20 f end=00768AD6 type="int32_t __stdcall func(char* partial, char** previous, int32_t direction)"
ConsoleCommandRegister 00769100 f end=007691B3 type="int32_t __stdcall func(char* command, COMMANDHANDLER handler, CATEGORY category, char* helpText)"
ConsoleAccessGetEnabled 00769230 f end=00769236 type="int32_t __stdcall func()"
ConsoleGxOverride 007696D0 f end=00769804 type="void __stdcall func(char* list)"
UpdateGxCVars 007698B0 f end=0076994A ; 00005400
SetGxCVars 00769950 f end=00769BF5 type="void __stdcall func(CGxFormat* format)" ; SetGxCVars(CGxFormat const&)
ConsoleDeviceStereoInitialize 00769C90 f end=00769CF9
ConsoleGetHardware 00769D00 f end=00769D0F type="Hardware* __stdcall func()"
ConsoleDeviceDestroy 00769D40 f end=00769D7D ; 00005400
ValidateFormatMonitor 00769E10 f end=00769FF0
@ -67,8 +70,8 @@ RegisterGxCVars 0076A630 f end=0076AAA8
ConsoleDeviceInitialize 0076AB80 f end=0076B287 type="int32_t __stdcall func(char* title, int32_t multithreaded)"
SetDefaults 0076B3F0 f type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; void SetDefaults(DefaultSettings&, const Hardware&)
ConsoleDetectSetDefaultsFormat 0076B520 f end=0076B53D type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; ConsoleDetectSetDefaultsFormat(DefaultSettings&, const Hardware&)
SetVideoIdx 0076B540 f end=0076B594 type="void __stdcall func(Hardware* hardware@<edi>)"
PrintStartupError 0076B5A0 f end=0076B616 type="void __usercall __noreturn func(int32_t messageID, const char* fallbackMessage)"
ConsoleDetectSaveHardware 0076B620 f end=0076B7DB
ConsoleDetectDetectHardware 0076BA30 f end=0076BBE9 type="void __stdcall func(Hardware* hardware, bool* hwChanged)" ; ConsoleDetectDetectHardware(Hardware&, bool&)
ConsoleCommandHistoryDepth 0095BFB0 f end=0095BFB6 type="int32_t __stdcall func()"
ConsoleGxOverride 007696D0 f end=00769804 type="void __stdcall func(char* list)"
AddResolution 0054EFE0 f end=0054F046 type="void __fastcall func(TSGrowableArray_C2iVector* this, C2iVector* resolution)"

View file

@ -7,6 +7,7 @@ s_fontHeight 00ADBACC l type="float" ; float
s_hRect 00ADBAD4 l type="RECTF" ; RECTF
s_baseTextFlags 00ADBAE4 l type="uint32_t" ; uint32
s_linelist 00ADBBB0 l type="TSList_CONSOLELINE"
s_soundHwSettings 00ADBE54 l type="SoundHardware"
s_detailDoodadDensity 00ADBE5C l type="uint32_t[4]"
s_animatingDoodads 00ADBE6C l type="uint8_t[2][2]"
s_waterLOD 00ADBE70 l type="uint32_t[2][2]"
@ -15,6 +16,7 @@ s_unitDrawDist 00ADBEA0 l type="float[4][2]"
s_smallCull 00ADBEC0 l type="float[4][2]"
s_distCull 00ADBEE0 l type="float[4][2]"
s_farClip 00ADBF00 l type="float[5][2]"
g_videoHardwareDB 00ADBF88 l type="WowClientDB_VideoHardwareRec"
s_caretpixheight 00CA1690 l type="float"
s_caret 00CA1694 l type="int32_t" ; int32
s_copyText 00CA1698 l
@ -54,6 +56,8 @@ s_consoleGxOverrideSet 00CABAC8 l type="int32_t[9]"
s_defaults 00CABAF0 l type="DefaultSettings"
s_hardware 00CABB38 l type="Hardware"
s_consoleGxOverrideVal 00CABB7C l type="uint32_t[9]"
s_windowTitle 00CABBB8 l type="char[256]"
s_device 00CABCB8 l type="CGxDevice*"
s_hardwareDetected 00CABCBC l type="bool"
s_hwChanged 00CABCBD l type="bool"
s_hwDetect 00CABCBE l type="bool"
@ -64,4 +68,3 @@ s_desktopFormat 00CABD40 l type="CGxFormat"
s_fallbackFormat 00CABDA8 l type="CGxFormat"
s_lastGoodFormat 00CABE00 l type="CGxFormat"
s_formats 00CABE98 l type="CGxFormat[5]"
g_videoHardwareDB 00ADBF88 l type="WowClientDB_VideoHardwareRec"