- CGxTexFlags bitfields + 10-arg ctor with default args; CGxTex ctor/dtor, second TSLink at +0x48 - CiRect() zero-initializes (inline only) - CGxDevice: TexCreate (returns 1), TexDestroy, ICursorCreate, CursorUnlock, BufDestroy, PrimVertexPtr; m_textures is a TSExplicitList - CGxPool::UnlinkBuf (guessed name) - Gx: GxTexCreate x3, GxTexUpdate(rect), GxPrimVertexPtr x2, GxPrimLockVertexPtrs - Gx/Buffer.h/.cpp: Buffer::s_vertexBufDesc and the 14 per-format attribute tables Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
28 lines
634 B
C++
28 lines
634 B
C++
#include <cstdint>
|
|
#include "Engine/Source/Gx/CGxPool.h"
|
|
|
|
// VERIFY: 3a3418b6 manual
|
|
// OFFSET: 0x00688230
|
|
void CGxPool::Invalidate() {
|
|
for (CGxBuf* buf = this->m_bufList.Head(); buf; buf = this->m_bufList.Next(buf)) {
|
|
buf->unk_001C = 0;
|
|
}
|
|
}
|
|
|
|
// VERIFY: 9189f656 manual
|
|
// OFFSET: 0x00688260
|
|
void CGxPool::Discard() {
|
|
for (CGxBuf* buf = this->m_bufList.Head(); buf; buf = this->m_bufList.Next(buf)) {
|
|
buf->unk_001C = 0;
|
|
}
|
|
|
|
this->unk_001C = 0;
|
|
}
|
|
|
|
// VERIFY: 56739d8d auto
|
|
// OFFSET: 0x00685C00
|
|
void CGxPool::UnlinkBuf(CGxBuf* buf) {
|
|
this->m_bufList.UnlinkNode(buf);
|
|
buf->m_pool = nullptr;
|
|
}
|