refactor(profile): profiles are now stored in profile/ subdirectory

This commit is contained in:
phaneron 2024-09-08 21:04:31 -04:00
parent 1e1f435c5c
commit c2b96d98b6
100 changed files with 58650 additions and 10 deletions

View file

@ -0,0 +1,46 @@
#ifndef GX_D3D9_H
#define GX_D3D9_H
#include "gx/device.h"
#include "d3d9/device.h"
typedef struct CGxDeviceD3d CGxDeviceD3d;
struct CGxDeviceD3d {
CGxDevice b_base;
void* m_hwnd;
uint16_t m_hwndClass;
uint16_t unk396E;
int32_t m_ownhwnd;
void* m_d3dLib;
IDirect3D9* m_d3d;
IDirect3DDevice9* m_d3dDevice;
D3DCAPS9 m_d3dCaps;
int32_t m_d3dIsHwDevice;
uint32_t unk3AB4[11];
IDirect3DVertexDeclaration9* m_d3dVertexDecl[14];
D3DDISPLAYMODE m_desktopDisplayMode;
int32_t m_inScene;
uint32_t unk3B2C;
D3DFORMAT m_devDepthFormat;
D3DFORMAT m_devAdapterFormat;
uint32_t unk3B38;
IDirect3DSurface9* m_defColorSurface;
IDirect3DSurface9* m_defDepthSurface;
uint32_t unk3B44;
uint32_t unk3B48;
int32_t m_hwCursorNeedsUpdate;
IDirect3DTexture9* m_hwCursorTexture;
IDirect3DSurface9* m_hwCursorBitmap;
uint32_t unk3B58;
IDirect3DVertexDeclaration9* m_d3dCurrentVertexDecl;
IDirect3DIndexBuffer9* m_d3dCurrentIndexBuf;
IDirect3DVertexBuffer9* m_d3dVertexStreamBuf[8];
uint32_t m_d3dVertexStreamOfs[8];
uint32_t m_d3dVertexStreamStride[8];
uint32_t m_deviceStates[182];
bool m_texEnabled[8];
};
#endif