Files
SatyandClaude Opus 5.5 2e418f9e08 Client bring-up: glue screen, EULA/TOS, shutdown chain, LCD, x64 fixes
- 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]>
2026-09-27 21:47:34 +02:00

43 lines
1.5 KiB
C++

#ifndef ENGINE_SOURCE_CONSOLEBASE_CONSOLECOMMAND_H
#define ENGINE_SOURCE_CONSOLEBASE_CONSOLECOMMAND_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/ConsoleBase/Types.h"
#include "Engine/Source/Storm/H/stpl.h"
struct CONSOLECOMMAND;
typedef int32_t (*COMMANDHANDLER)(const char* command, const char* arguments);
struct CATEGORYINFO {
/* 0000 */ CATEGORY m_category;
/* 0004 */ char m_name[20];
};
struct CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_CONSTSTRI> {
/* 0018 */ COMMANDHANDLER m_handler;
/* 001C */ const char* m_helpText;
/* 0020 */ CATEGORY m_category;
};
extern char g_commandHistory[32][1024];
extern int32_t s_execState;
extern uint32_t g_commandHistoryIndex;
extern COMMANDHANDLER g_defaultCommand;
extern TSHashTable<CONSOLECOMMAND, HASHKEY_CONSTSTRI> g_consoleCommandHash;
int32_t ConsoleCommandComplete(const char* partial, const char** previous, int32_t direction);
void ConsoleCommandDestroy();
int32_t AddLineToExecFile(const char* line);
void AddToHistory(const char* command);
const char* ConsoleCommandHistory(uint32_t index);
uint32_t ConsoleCommandHistoryDepth();
int32_t ConsoleCommandRegister(const char* command, COMMANDHANDLER handler, CATEGORY category, const char* helpText);
void ConsoleCommandUnregister(const char* command);
void ConsoleCommandWriteHelp(const char* command);
void ConsoleInitializeClientCommand();
CONSOLECOMMAND* ParseCommand(const char* commandLine, const char** command, char* arguments, uint32_t argsbytes);
#endif