Files
wowdecomp/Engine/Source/Gx/CGxFormat.h
T
SatyandClaude Opus 5.5 597201ec6a Gx pass 1: device-free leaves, C3Vector ctors, Gx enums into Gx/Types.h
- CGxFormat(), CGxMatrixStack() + Identity, CGxLight(), CGxApiLight::operator= (moved to CGxLight.h),
  CGxPool::Invalidate/Discard, CGxGammaRamp::Set
- Gx.h/Gx.cpp: GxApiSupported, GxVertexSize, GxVertexAttribOffset, GxCalcTexelStrideInBytes + tables
- C3Vector() zero-inits and C3Vector(x, y, z) exists (inline only); CAaBox/C3Ray/CFrustum/Intersect rely on it
- EGxApi/EGxTexFormat/EGxVertexBufferFormat moved to Engine/Source/Gx/Types.h
- struct/class forward declaration mismatches fixed in CGxDevice.h and CGxPool.h

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-24 22:05:14 +02:00

47 lines
1.2 KiB
C++

#ifndef ENGINE_SOURCE_GX_CGXFORMAT_H
#define ENGINE_SOURCE_GX_CGXFORMAT_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/Tempest/C2iVector.h"
class CGxFormat {
public:
enum Format {
Fmt_Rgb565 = 0,
Fmt_ArgbX888 = 1,
Fmt_Argb8888 = 2,
Fmt_Argb2101010 = 3,
Fmt_Ds160 = 4,
Fmt_Ds24X = 5,
Fmt_Ds248 = 6,
Fmt_Ds320 = 7,
Formats_Last = 8,
};
/* 0000 */ uint32_t m_apiSpecificModeID;
/* 0004 */ bool m_hwTnL;
/* 0005 */ bool m_hwCursor;
/* 0006 */ int8_t m_fixLag;
/* 0007 */ int8_t m_window;
/* 0008 */ bool m_aspect;
/* 0009 */ uint8_t unk_0009[3];
/* 000C */ int32_t m_maximize;
/* 0010 */ CGxFormat::Format m_depthFormat;
/* 0014 */ C2iVector m_size;
/* 001C */ uint32_t m_backBufferCount;
/* 0020 */ uint32_t m_multisampleCount;
/* 0024 */ float m_multisampleQuality;
/* 0028 */ CGxFormat::Format m_colorFormat;
/* 002C */ uint32_t m_refreshRate;
/* 0030 */ uint32_t m_vsync;
/* 0034 */ bool m_stereoEnabled;
/* 0035 */ uint8_t unk_0035[3];
/* 0038 */ int32_t m_fixedFunction [6];
/* 0050 */ C2iVector m_pos;
CGxFormat();
};
#endif