- 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]>
33 lines
914 B
C++
33 lines
914 B
C++
#include "FrameTime.h"
|
|
#include "WoW/Source/WorldClient/MapWeather.h"
|
|
#include "WoW/Source/WorldClient/World.h"
|
|
|
|
// STATIC: 0x00CD7698
|
|
int32_t FrameTime::s_tickTimeFixed;
|
|
|
|
// STATIC: 0x00CD76A0
|
|
float FrameTime::s_tickTimeSec;
|
|
|
|
// STATIC: 0x00CD76A4
|
|
float FrameTime::s_curTimeSec;
|
|
|
|
// STATIC: 0x00CD76A8
|
|
uint32_t FrameTime::s_tickTimeMs;
|
|
|
|
// STATIC: 0x00CD76AC
|
|
uint32_t FrameTime::s_curTimeMs;
|
|
|
|
// VERIFY: 99f83708 manual
|
|
// OFFSET: 0x0077ECB0
|
|
void FrameTime::Update(float elapsedSec, uint32_t time) {
|
|
FrameTime::s_curTimeMs = time;
|
|
FrameTime::s_tickTimeMs = static_cast<int32_t>(elapsedSec * 1000.0f);
|
|
FrameTime::s_curTimeSec = static_cast<float>(FrameTime::s_curTimeMs) * 0.001f;
|
|
FrameTime::s_tickTimeSec = elapsedSec;
|
|
CWorld::s_elapsedTimeSec += elapsedSec;
|
|
|
|
int32_t ticks = Weather::TimeToFixed(elapsedSec);
|
|
CWorld::s_elapsedTicks += ticks;
|
|
FrameTime::s_tickTimeFixed = ticks;
|
|
}
|