Files
SatyandClaude Opus 5.5 d339a940b4 ConsoleBase: port ConsoleVar.cpp and ConsoleCommand.cpp (52 definitions verified)
- CVar (struct per 12340 RTTI; value callback is __cdecl), its console commands,
  CVarArrayWrapper/CVarIntListWrapper; command table, help, parse, complete.
- Engine-side console interface in IConsole.h (ConsoleWrite/Printf/CommandExecute...),
  implemented by WoW's ConsoleClient later (tracked in open_items); COLOR_T/CATEGORY in
  ConsoleBase/Types.h.
- stpl.h: TSList::Prev, TSHashTable::Next/DeleteNode, HASHKEY_CONSTSTRI.
- 27 suspects reviewed against 12340 listings; fixes: read-only message prints the
  cvar name, int-list decode reads bytes unsigned.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-26 19:20:38 +02:00

15 lines
439 B
C++

#ifndef ENGINE_SOURCE_CONSOLEBASE_ICONSOLE_H
#define ENGINE_SOURCE_CONSOLEBASE_ICONSOLE_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/ConsoleBase/Types.h"
void ConsoleCommandExecute(const char* commandLine, int32_t addToHistory);
void ConsolePostClose();
void ConsolePrintf(const char* format, ...);
void ConsoleWrite(const char* str, COLOR_T color);
void ConsoleWriteA(const char* format, COLOR_T color, ...);
#endif