- 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]>
51 lines
1.5 KiB
C++
51 lines
1.5 KiB
C++
#ifndef WOW_SOURCE_CONSOLEDEVICE_CONSOLEDEVICE_H
|
|
#define WOW_SOURCE_CONSOLEDEVICE_CONSOLEDEVICE_H
|
|
|
|
#include <cstdint>
|
|
#include "WoW/Source/Types.h"
|
|
|
|
class CGxFormat;
|
|
struct CVar;
|
|
|
|
enum OPTION_PAGE {
|
|
OPTION_PAGE_0 = 0,
|
|
OPTION_PAGE_1 = 1,
|
|
OPTION_PAGE_2 = 2,
|
|
NUM_OPTION_PAGES = 3,
|
|
};
|
|
|
|
extern DefaultSettings s_defaults;
|
|
extern CGxFormat s_desktopFormat;
|
|
extern CGxFormat s_fallbackFormat;
|
|
extern Hardware s_hardware;
|
|
extern CGxFormat s_lastGoodFormat;
|
|
extern CGxFormat s_requestedFormat;
|
|
extern CVar* s_cvFixedFunction;
|
|
extern CVar* s_cvGxFixLag;
|
|
extern CVar* s_cvGxMaximize;
|
|
extern CVar* s_cvGxWindow;
|
|
extern CVar* s_cvHwDetect;
|
|
extern CVar* s_cvVideoOptionsVersion;
|
|
extern char s_windowTitle[256];
|
|
|
|
void AddConsoleDeviceDefaultCallback(void (*callback)(OPTION_PAGE page));
|
|
int32_t CCGxRestart(const char* command, const char* arguments);
|
|
int32_t ConsoleDeviceExists();
|
|
void ConsoleDeviceDefaults(OPTION_PAGE page);
|
|
void ConsoleDeviceDestroy();
|
|
DefaultSettings* ConsoleDeviceGetDefaultSettings();
|
|
int32_t ConsoleDeviceHardwareChanged();
|
|
void ConsoleDeviceInitialize(const char* title, bool a2, bool a3);
|
|
Hardware* ConsoleGetHardware();
|
|
void ConsoleGxOverride(const char* list);
|
|
int32_t IsConsoleEnabled();
|
|
void RegisterGxCVars();
|
|
void RegisterStereoCVars();
|
|
void RemoveConsoleDeviceDefaultCallback(void (*callback)(OPTION_PAGE page));
|
|
bool SetGxCVars(const CGxFormat& format);
|
|
void __fastcall StereoChangedCallback();
|
|
bool UpdateGxCVars();
|
|
void ValidateFormatMonitor(CGxFormat& format);
|
|
|
|
#endif
|