- Stand-in client reaches the glue screens (intro movie, EULA/TOS accept, login screen) at 16:9; stand-ins are report-only on x64 - Ports on the startup/idle path: GlueScriptEvents/CharacterSelection/ CharacterCreation/RealmList/AccountMsg/VideoOptions _Scripts, CGlueMgr (Initialize/Resume/Idle/Accept*/Shutdown), ClientServices, NetClient/ WowConnection, DBCache + instances, WorldParam/World/Map/Liquid/Weather/ shadow, InputControl, Scrn, ConsoleClient, SysMessage, LoadingScreen, SystemRegisterFunctions, CGameTime, Screen::GetAspectRatio - Shutdown chain: BeginCloseGame, DestroyEngineCallback, DBCache save/ destroy, SpellVisuals/Effect/World/Glue teardown - Logitech LCD no-device path in Ui/UILCD/Windows (Windows-only dir); lgLcd is a stub library in ThirdParty/lgLcd - CVar and console commands split into <Module>_CVar.cpp / _Console.cpp - DivxDecoder.dll (Win32, original) and XvidDecoder.dll (x64, port with vendored xvidcore) both copied to the build folder - Warden: Win32 faithful port, Win64 stub - x64 fixes: lua_newstate gcusage/gctime init, pointer render states reset with nullptr, g_rndSeed defined - 37 class/struct forward-declaration mismatches fixed (false stand-ins) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
#include <cstdint>
|
|
#include "Client.h"
|
|
#include "Engine/Source/ConsoleBase/ConsoleVar.h"
|
|
#include "Engine/Source/ConsoleBase/IConsole.h"
|
|
#include "Engine/Source/Os/TimeManager.h"
|
|
#include "WoW/Source/Glue/CGlueMgr.h"
|
|
#include "WoW/Source/Ui/GameUI.h"
|
|
|
|
// OFFSET: 0x00401B00
|
|
int32_t CCommand_ReloadUI(const char* command, const char* arguments) {
|
|
CGlueMgr::m_reload = 1;
|
|
CGGameUI::Reload();
|
|
return 1;
|
|
}
|
|
|
|
// VERIFY: d6492c90 auto
|
|
// OFFSET: 0x008C8DE0
|
|
int32_t CCommand_Perf(const char* command, const char* arguments) {
|
|
return 1;
|
|
}
|
|
|
|
// VERIFY: c68202b2 auto
|
|
// OFFSET: 0x004032A0
|
|
int32_t CCommand_TimingInfo(const char* command, const char* arguments) {
|
|
int32_t desired = CVar::LookupRegistered("timingMethod")->m_intValue;
|
|
OsTimeManager::TimingMethod selected = OsTimeGetTimingMethod();
|
|
int32_t testError = CVar::LookupRegistered("timingTestError")->m_intValue;
|
|
|
|
ConsolePrintf("Timing method desired: %d - %s", desired, GetTimingMethodName(static_cast<OsTimeManager::TimingMethod>(desired)));
|
|
ConsolePrintf("Timing method selected: %d - %s", selected, GetTimingMethodName(selected));
|
|
ConsolePrintf("Timing test error: %d", testError);
|
|
|
|
return 1;
|
|
}
|