mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
feat(profile): add type information for CGxDevice functions
This commit is contained in:
parent
5a70c8290f
commit
34d16625b7
9 changed files with 250 additions and 129 deletions
|
|
@ -82,8 +82,8 @@ struct CGxDevice__vtable {
|
|||
void* v_fn_6_NotifyOnTextureRecreation;
|
||||
// void NotifyOnDisplayChange();
|
||||
void* v_fn_7_NotifyOnDisplayChange;
|
||||
// don't know if this ever gets called (something deleted?)
|
||||
void* v_fn_8_destructor;
|
||||
// public: virtual void * __thiscall CGxDevice::`scalar deleting destructor'(unsigned int)
|
||||
void* v_fn_8_scalar_deleting_destructor;
|
||||
// int32_t DeviceCreate(const CGxFormat&);
|
||||
void* v_fn_9_DeviceCreate;
|
||||
// int32_t DeviceCreate(long (*)(void*, uint32_t, uint32_t, int32_t), CGxFormat const&);
|
||||
|
|
|
|||
21
profile/3.3.5a-windows/include/gx/light.h
Normal file
21
profile/3.3.5a-windows/include/gx/light.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef GX_LIGHT_H
|
||||
#define GX_LIGHT_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
DECLARE_STRUCT(CGxLight);
|
||||
|
||||
struct CGxLight {
|
||||
// int32_t m_enabled : 1;
|
||||
// int32_t m_isOmni : 1;
|
||||
int32_t m_flags;
|
||||
C3Vector m_dir;
|
||||
C3Vector m_ambColor;
|
||||
C3Vector m_dirColor;
|
||||
C3Vector m_specColor;
|
||||
float m_constantAttenuation;
|
||||
float m_linearAttenuation;
|
||||
float m_quadraticAttenuation;
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue