chore(profile): a lot of work having to do with graphics

This commit is contained in:
phaneron 2025-06-04 17:42:08 -04:00
parent ebf88595d9
commit 2363e04c76
153 changed files with 2402 additions and 566 deletions

View file

@ -0,0 +1,36 @@
#ifndef D3D9_BASE_TEXTURE_H
#define D3D9_BASE_TEXTURE_H
DECLARE_STRUCT(IDirect3DBaseTexture9__v_table);
DECLARE_STRUCT(IDirect3DBaseTexture9);
struct IDirect3DBaseTexture9__v_table {
/*** IUnknown methods ***/
void* v_fn_0_QueryInterface;
void* v_fn_1_AddRef;
void* v_fn_2_Release;
/*** IDirect3DResource9 methods ***/
void* v_fn_3_GetDevice;
void* v_fn_4_SetPrivateData;
void* v_fn_5_GetPrivateData;
void* v_fn_6_FreePrivateData;
void* v_fn_7_SetPriority;
void* v_fn_8_GetPriority;
void* v_fn_9_PreLoad;
void* v_fn_10_GetType;
/*** IDirect3DBaseTexture9 methods ***/
void* v_fn_11_SetLOD;
void* v_fn_12_GetLOD;
void* v_fn_13_GetLevelCount;
void* v_fn_14_SetAutoGenFilterType;
void* v_fn_15_GetAutoGenFilterType;
void* v_fn_16_GenerateMipSubLevels;
};
struct IDirect3DBaseTexture9 {
IDirect3DBaseTexture9__v_table* v_table;
};
typedef IDirect3DBaseTexture9* LPDIRECT3DBASETEXTURE9;
#endif

View file

@ -1,4 +1,5 @@
#include "external/d3d9/adapteridentifier.h"
#include "external/d3d9/basetexture.h"
#include "external/d3d9/caps.h"
#include "external/d3d9/colorvalue.h"
#include "external/d3d9/cubemapfaces.h"
@ -15,6 +16,7 @@
#include "external/d3d9/light.h"
#include "external/d3d9/lighttype.h"
#include "external/d3d9/lockedrect.h"
#include "external/d3d9/material.h"
#include "external/d3d9/pixelshader.h"
#include "external/d3d9/pool.h"
#include "external/d3d9/presentparameters.h"

View file

@ -0,0 +1,16 @@
#ifndef D3D9_MATERIAL_H
#define D3D9_MATERIAL_H
DECLARE_STRUCT(D3DMATERIAL9);
#include "external/d3d9/colorvalue.h"
struct D3DMATERIAL9 {
D3DCOLORVALUE Diffuse;
D3DCOLORVALUE Ambient;
D3DCOLORVALUE Specular;
D3DCOLORVALUE Emissive;
float Power;
};
#endif