- 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
808 B
C++
33 lines
808 B
C++
#ifndef ENGINE_SOURCE_TEMPEST_CRANDOM_H
|
|
#define ENGINE_SOURCE_TEMPEST_CRANDOM_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Tempest/C2Vector.h"
|
|
#include "Engine/Source/Tempest/C3Vector.h"
|
|
|
|
class CRndSeed {
|
|
public:
|
|
/* 0000 */ uint32_t rndacc;
|
|
/* 0004 */ uint32_t rndvls;
|
|
|
|
CRndSeed() = default;
|
|
CRndSeed(uint32_t seed);
|
|
void SetSeed(uint32_t seed);
|
|
};
|
|
|
|
class CRandom {
|
|
public:
|
|
static C2Vector C2Vector_(CRndSeed& seed);
|
|
static C3Vector C3Vector_(CRndSeed& seed);
|
|
static uint32_t dice_(uint32_t sides, CRndSeed& seed);
|
|
static float sfloat_(CRndSeed& seed);
|
|
static float __stdcall ufloat_(float range, CRndSeed& seed);
|
|
static float ufloat_(CRndSeed& seed);
|
|
static uint32_t uint32_(CRndSeed& seed);
|
|
};
|
|
|
|
extern CRndSeed g_rndSeed;
|
|
|
|
#endif
|