chore: overhaul renderer decompilation to match as closely as possible to the original

Co-authored-by: la <76826837+3UR@users.noreply.github.com>
This commit is contained in:
dxfiscoolandla authored and la committed 2026-03-04 07:37:53 +10:00
1 parent cc6aade337
commit 39339e821e
8 files changed
+1567 -1566

No files matched your search

+3 -2
View File
@@ -350,7 +350,7 @@ public:
ID3D11DeviceContext *m_pDeviceContext;
ID3DUserDefinedAnnotation *userAnnotation;
DWORD annotateDepth;
int annotateDepth;
DirectX::XMMATRIX matrixStacks[MATRIX_MODE_MODELVIEW_MAX][STACK_SIZE];
bool matrixDirty[MATRIX_MODE_MODELVIEW_MAX];
DWORD stackPos[MATRIX_MODE_MODELVIEW_MAX];
@@ -416,6 +416,7 @@ public:
static DXGI_FORMAT textureFormats[];
static D3D_PRIMITIVE_TOPOLOGY g_topologies[];
static int totalAlloc;
static const float PI;
float m_fClearColor[4];
ID3D11Device *m_pDevice;
@@ -457,9 +458,9 @@ public:
DWORD reservedRendererDword1;
int16_t *m_commandHandleToIndex;
CommandBuffer **m_commandBuffers;
uint8_t *m_commandPrimitiveTypes;
DirectX::XMMATRIX *m_commandMatrices;
int *m_commandIndexToHandle;
uint8_t *m_commandPrimitiveTypes;
uint8_t *m_commandVertexTypes;
DWORD reservedRendererDword2;
DWORD reservedRendererDword3;