- 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]>
44 lines
1.3 KiB
C++
44 lines
1.3 KiB
C++
#ifndef ENGINE_SOURCE_FRAME_CRENDERBATCH_H
|
|
#define ENGINE_SOURCE_FRAME_CRENDERBATCH_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
#include "Engine/Source/Frame/CSimpleBatchedMesh.h"
|
|
#include "Engine/Source/Gx/Types.h"
|
|
#include "Engine/Source/Storm/H/stpl.h"
|
|
|
|
class C2Vector;
|
|
class C3Vector;
|
|
class CGxShader;
|
|
struct CGxStringBatch;
|
|
class CImVector;
|
|
class CSimpleFontString;
|
|
class CSimpleTexture;
|
|
class CTexture;
|
|
|
|
struct RENDERCALLBACKNODE : public TSLinkedNode<RENDERCALLBACKNODE> {
|
|
/* 0008 */ void (*m_callback)(void* param);
|
|
/* 000C */ void* m_param;
|
|
};
|
|
|
|
class CRenderBatch {
|
|
public:
|
|
/* 0004 */ uint32_t m_count;
|
|
/* 0008 */ TSGrowableArray<CSimpleBatchedMesh> m_texturelist;
|
|
/* 0018 */ CGxStringBatch* m_stringbatch;
|
|
/* 001C */ TSList<RENDERCALLBACKNODE, TSGetLink<RENDERCALLBACKNODE> > m_callbacks;
|
|
/* 0028 */ TSLink<CRenderBatch> m_renderLink;
|
|
|
|
virtual ~CRenderBatch();
|
|
|
|
CRenderBatch();
|
|
void Clear();
|
|
void Finish();
|
|
void Queue(CTexture* texture, EGxBlend alphaMode, int32_t posCount, const C3Vector* position, const C2Vector* texCoord, int32_t colorCount, const CImVector* color, int32_t idxCount, const uint16_t* indices, CGxShader* shader);
|
|
void QueueCallback(void (*callback)(void*), void* param);
|
|
void QueueFontString(CSimpleFontString* string);
|
|
void QueueTexture(CSimpleTexture* texture);
|
|
};
|
|
|
|
#endif
|