mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
CMaterialGlue changes.
* Reversed more of the class and fixed up member names.
This commit is contained in:
parent
a8b74ec93a
commit
746e7e9996
@ -30,19 +30,19 @@ public:
|
||||
int32_t m_unused2; //0x007C
|
||||
uint8_t pad_0080[8]; //0x0080
|
||||
uint32_t m_iUnknownFlags1; //0x0088
|
||||
uint8_t pad_008C[116]; //0x008C
|
||||
|
||||
// They first point to a jump table which holds the texture, then theres another jump onto the actual texture.
|
||||
void** m_ppDXTexture1; //0x0100
|
||||
void** m_ppDXTexture2; //0x0108
|
||||
uint8_t pad_0110[8]; //0x0110
|
||||
uint32_t m_iUnknown1; //0x0118
|
||||
uint16_t m_iUnknown2; //0x011C
|
||||
uint16_t m_iUnknown3; //0x011E
|
||||
uint16_t m_iUnknown4; //0x0120
|
||||
uint64_t m_Unknown5; //0x0122
|
||||
uint32_t m_iUnknown6; //0x012A
|
||||
uint16_t m_iUnknown7; //0x012E
|
||||
char pad_008C[103]; //0x008C
|
||||
uint8_t m_iUnknown1; //0x00F3
|
||||
char pad_00F4[12]; //0x00F4
|
||||
void* m_pDXBuffer; //0x0100 [ PIXIE ]: ID3D11Buffer*, might need to include dx here.
|
||||
void* m_pID3D11BufferVTable; //0x0108 [ PIXIE ]: ID3D11BufferVtbl, probably just leave it as a void*
|
||||
void* m_pUnknown2; //0x0110
|
||||
uint32_t m_iUnknown3; //0x0118
|
||||
uint16_t m_iUnknown4; //0x011C
|
||||
uint16_t m_iUnknown5; //0x011E
|
||||
uint16_t m_iUnknown6; //0x0120
|
||||
uint64_t m_Unknown7; //0x0122
|
||||
uint32_t m_iUnknown8; //0x012A
|
||||
uint16_t m_iUnknown9; //0x012E
|
||||
}; //Size: 0x0130 confirmed end size.
|
||||
static_assert(sizeof(CMaterialGlue) == 0x130);
|
||||
#pragma pack(pop)
|
||||
|
@ -878,8 +878,8 @@ void Mat_CrossHair_f(const CCommand& args)
|
||||
DevMsg(eDLL_T::MS, " |-- Material Name: '%s'\n", material->m_pszName);
|
||||
DevMsg(eDLL_T::MS, " |-- Material Surface Name 1: '%s'\n", material->m_pszSurfaceName1);
|
||||
DevMsg(eDLL_T::MS, " |-- Material Surface Name 2: '%s'\n", material->m_pszSurfaceName2);
|
||||
DevMsg(eDLL_T::MS, " |-- DX Texture 1: '%llX'\n", material->m_ppDXTexture1);
|
||||
DevMsg(eDLL_T::MS, " |-- DX Texture 2: '%llX'\n", material->m_ppDXTexture2);
|
||||
DevMsg(eDLL_T::MS, " |-- DX Buffer: '%llX'\n", material->m_pDXBuffer);
|
||||
DevMsg(eDLL_T::MS, " |-- DX BufferVTable: '%llX'\n", material->m_pID3D11BufferVTable);
|
||||
|
||||
material->m_pDepthShadow ? fnPrintChild(material->m_pDepthShadow, " | |-+ DepthShadow Addr: '%llX'\n") : DevMsg(eDLL_T::MS, " | |-+ DepthShadow Addr: 'NULL'\n");
|
||||
material->m_pDepthPrepass ? fnPrintChild(material->m_pDepthPrepass, " | |-+ DepthPrepass Addr: '%llX'\n") : DevMsg(eDLL_T::MS, " | |-+ DepthPrepass Addr: 'NULL'\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user