fix(profile): overhaul 3.3.5a-windows-386 to work with SuperImportSymbolsScript.py

This commit is contained in:
phaneron 2026-04-12 11:36:50 -04:00
parent bdb3389efb
commit 2d003672ec
39 changed files with 1476 additions and 1232 deletions

View file

@ -10,6 +10,8 @@ struct Blizzard__File__ProcessDirParms {
bool isDir; bool isDir;
}; };
typedef bool (*Blizzard__File__ProcessDirCallback)(const Blizzard__File__ProcessDirParms* parms); typedef bool (*Blizzard__File__ProcessDirCallback_interface)(
const Blizzard__File__ProcessDirParms* parms);
typedef Blizzard__File__ProcessDirCallback_interface Blizzard__File__ProcessDirCallback;
#endif #endif

View file

@ -3,7 +3,8 @@
DECLARE_STRUCT(Blizzard__Thread__TLSSlot); DECLARE_STRUCT(Blizzard__Thread__TLSSlot);
typedef void (*Blizzard__Thread__TLSDestructor)(void*); typedef void (*Blizzard__Thread__TLSDestructor_interface)(void*);
typedef Blizzard__Thread__TLSDestructor_interface Blizzard__Thread__TLSDestructor;
struct Blizzard__Thread__TLSSlot { struct Blizzard__Thread__TLSSlot {
uint32_t key; uint32_t key;

View file

@ -8,11 +8,12 @@ DECLARE_STRUCT(CONSOLECOMMAND);
STORM_TS_HASH(CONSOLECOMMAND, HASHKEY_STRI); STORM_TS_HASH(CONSOLECOMMAND, HASHKEY_STRI);
typedef int32_t (*COMMANDHANDLER)(const char*, const char*); typedef int32_t (*COMMANDHANDLER_interface)(const char*, const char*);
typedef COMMANDHANDLER_interface COMMANDHANDLER;
// class CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_STRI> // class CONSOLECOMMAND : public TSHashObject<CONSOLECOMMAND, HASHKEY_STRI>
struct CONSOLECOMMAND { struct CONSOLECOMMAND {
TSHashObject_CONSOLECOMMAND_HASHKEY_STRI b_base; TSHashObject_CONSOLECOMMAND_HASHKEY_STRI _;
COMMANDHANDLER m_handler; COMMANDHANDLER m_handler;
const char* m_helpText; const char* m_helpText;
CATEGORY m_category; CATEGORY m_category;

View file

@ -5,6 +5,7 @@ DECLARE_ENUM(COLOR_T);
DECLARE_ENUM(CATEGORY); DECLARE_ENUM(CATEGORY);
DECLARE_ENUM(EXECMODE); DECLARE_ENUM(EXECMODE);
DECLARE_ENUM(CONSOLERESIZESTATE); DECLARE_ENUM(CONSOLERESIZESTATE);
DECLARE_ENUM(HIGHLIGHTSTATE);
enum COLOR_T { enum COLOR_T {
DEFAULT_COLOR = 0, DEFAULT_COLOR = 0,
@ -42,10 +43,8 @@ enum EXECMODE {
EM_NUM_EXECMODES EM_NUM_EXECMODES
}; };
enum CONSOLERESIZESTATE { enum CONSOLERESIZESTATE { CS_NONE = 0, CS_STRETCH = 1, NUM_CONSOLERESIZESTATES };
CS_NONE = 0,
CS_STRETCH = 1, enum HIGHLIGHTSTATE { HS_NONE, HS_HIGHLIGHTING, HS_ENDHIGHLIGHT, NUM_HIGHLIGHTSTATES };
NUM_CONSOLERESIZESTATES
};
#endif #endif

View file

@ -0,0 +1,11 @@
#ifndef DAYNIGHT_DN_GLARE_H
#define DAYNIGHT_DN_GLARE_H
DECLARE_STRUCT(DayNight__DNGlare);
struct DayNight__DNGlare {
// TODO: placeholder
int32_t unk00;
};
#endif

View file

@ -27,7 +27,7 @@ DECLARE_STRUCT(AttackAnimKitsRec);
DECLARE_STRUCT(AttackAnimTypesRec); DECLARE_STRUCT(AttackAnimTypesRec);
DECLARE_STRUCT(AuctionHouseRec); DECLARE_STRUCT(AuctionHouseRec);
DECLARE_STRUCT(BankBagSlotPricesRec); DECLARE_STRUCT(BankBagSlotPricesRec);
DECLARE_STRUCT(BannedAddonsRec); DECLARE_STRUCT(BannedAddOnsRec);
DECLARE_STRUCT(BarberShopStyleRec); DECLARE_STRUCT(BarberShopStyleRec);
DECLARE_STRUCT(BattlemasterListRec); DECLARE_STRUCT(BattlemasterListRec);
DECLARE_STRUCT(CameraModeRec); DECLARE_STRUCT(CameraModeRec);
@ -129,9 +129,9 @@ DECLARE_STRUCT(ItemSubClassRec);
DECLARE_STRUCT(ItemSubClassMaskRec); DECLARE_STRUCT(ItemSubClassMaskRec);
DECLARE_STRUCT(ItemVisualEffectsRec); DECLARE_STRUCT(ItemVisualEffectsRec);
DECLARE_STRUCT(ItemVisualsRec); DECLARE_STRUCT(ItemVisualsRec);
DECLARE_STRUCT(LFGDungeonExpansionRec); DECLARE_STRUCT(LfgDungeonExpansionRec);
DECLARE_STRUCT(LFGDungeonGroupRec); DECLARE_STRUCT(LfgDungeonGroupRec);
DECLARE_STRUCT(LFGDungeonsRec); DECLARE_STRUCT(LfgDungeonsRec);
DECLARE_STRUCT(LanguageWordsRec); DECLARE_STRUCT(LanguageWordsRec);
DECLARE_STRUCT(LanguagesRec); DECLARE_STRUCT(LanguagesRec);
DECLARE_STRUCT(LightRec); DECLARE_STRUCT(LightRec);
@ -164,7 +164,7 @@ DECLARE_STRUCT(ObjectEffectModifierRec);
DECLARE_STRUCT(ObjectEffectPackageRec); DECLARE_STRUCT(ObjectEffectPackageRec);
DECLARE_STRUCT(ObjectEffectPackageElemRec); DECLARE_STRUCT(ObjectEffectPackageElemRec);
DECLARE_STRUCT(OverrideSpellDataRec); DECLARE_STRUCT(OverrideSpellDataRec);
DECLARE_STRUCT(PVPDifficultyRec); DECLARE_STRUCT(PvpDifficultyRec);
DECLARE_STRUCT(PackageRec); DECLARE_STRUCT(PackageRec);
DECLARE_STRUCT(PageTextMaterialRec); DECLARE_STRUCT(PageTextMaterialRec);
DECLARE_STRUCT(PaperDollItemFrameRec); DECLARE_STRUCT(PaperDollItemFrameRec);
@ -521,7 +521,7 @@ struct BankBagSlotPricesRec {
int32_t m_cost; int32_t m_cost;
}; };
struct BannedAddonsRec { struct BannedAddOnsRec {
int32_t m_ID; int32_t m_ID;
int32_t m_nameMd5[4]; int32_t m_nameMd5[4];
int32_t m_versionMd5[4]; int32_t m_versionMd5[4];
@ -1413,7 +1413,7 @@ struct ItemVisualsRec {
int32_t m_slot[5]; int32_t m_slot[5];
}; };
struct LFGDungeonExpansionRec { struct LfgDungeonExpansionRec {
int32_t m_ID; int32_t m_ID;
int32_t m_lfgID; int32_t m_lfgID;
int32_t m_expansionLevel; int32_t m_expansionLevel;
@ -1424,7 +1424,7 @@ struct LFGDungeonExpansionRec {
int32_t m_targetLevelMax; int32_t m_targetLevelMax;
}; };
struct LFGDungeonGroupRec { struct LfgDungeonGroupRec {
int32_t m_ID; int32_t m_ID;
const char* m_name; const char* m_name;
int32_t m_orderIndex; int32_t m_orderIndex;
@ -1432,7 +1432,7 @@ struct LFGDungeonGroupRec {
int32_t m_typeID; int32_t m_typeID;
}; };
struct LFGDungeonsRec { struct LfgDungeonsRec {
int32_t m_ID; int32_t m_ID;
const char* m_name; const char* m_name;
int32_t m_minLevel; int32_t m_minLevel;
@ -1707,7 +1707,7 @@ struct OverrideSpellDataRec {
int32_t m_flags; int32_t m_flags;
}; };
struct PVPDifficultyRec { struct PvpDifficultyRec {
int32_t m_ID; int32_t m_ID;
int32_t m_mapID; int32_t m_mapID;
int32_t m_rangeIndex; int32_t m_rangeIndex;
@ -3189,7 +3189,7 @@ DB_CLIENT_DB(AttackAnimKitsRec);
DB_CLIENT_DB(AttackAnimTypesRec); DB_CLIENT_DB(AttackAnimTypesRec);
DB_CLIENT_DB(AuctionHouseRec); DB_CLIENT_DB(AuctionHouseRec);
DB_CLIENT_DB(BankBagSlotPricesRec); DB_CLIENT_DB(BankBagSlotPricesRec);
DB_CLIENT_DB(BannedAddonsRec); DB_CLIENT_DB(BannedAddOnsRec);
DB_CLIENT_DB(BarberShopStyleRec); DB_CLIENT_DB(BarberShopStyleRec);
DB_CLIENT_DB(BattlemasterListRec); DB_CLIENT_DB(BattlemasterListRec);
DB_CLIENT_DB(CameraModeRec); DB_CLIENT_DB(CameraModeRec);
@ -3291,9 +3291,9 @@ DB_CLIENT_DB(ItemSubClassRec);
DB_CLIENT_DB(ItemSubClassMaskRec); DB_CLIENT_DB(ItemSubClassMaskRec);
DB_CLIENT_DB(ItemVisualEffectsRec); DB_CLIENT_DB(ItemVisualEffectsRec);
DB_CLIENT_DB(ItemVisualsRec); DB_CLIENT_DB(ItemVisualsRec);
DB_CLIENT_DB(LFGDungeonExpansionRec); DB_CLIENT_DB(LfgDungeonExpansionRec);
DB_CLIENT_DB(LFGDungeonGroupRec); DB_CLIENT_DB(LfgDungeonGroupRec);
DB_CLIENT_DB(LFGDungeonsRec); DB_CLIENT_DB(LfgDungeonsRec);
DB_CLIENT_DB(LanguageWordsRec); DB_CLIENT_DB(LanguageWordsRec);
DB_CLIENT_DB(LanguagesRec); DB_CLIENT_DB(LanguagesRec);
DB_CLIENT_DB(LightRec); DB_CLIENT_DB(LightRec);
@ -3326,7 +3326,7 @@ DB_CLIENT_DB(ObjectEffectModifierRec);
DB_CLIENT_DB(ObjectEffectPackageRec); DB_CLIENT_DB(ObjectEffectPackageRec);
DB_CLIENT_DB(ObjectEffectPackageElemRec); DB_CLIENT_DB(ObjectEffectPackageElemRec);
DB_CLIENT_DB(OverrideSpellDataRec); DB_CLIENT_DB(OverrideSpellDataRec);
DB_CLIENT_DB(PVPDifficultyRec); DB_CLIENT_DB(PvpDifficultyRec);
DB_CLIENT_DB(PackageRec); DB_CLIENT_DB(PackageRec);
DB_CLIENT_DB(PageTextMaterialRec); DB_CLIENT_DB(PageTextMaterialRec);
DB_CLIENT_DB(PaperDollItemFrameRec); DB_CLIENT_DB(PaperDollItemFrameRec);

View file

@ -6,12 +6,12 @@
#include "common/instance.h" #include "common/instance.h"
#include "storm/queue/timer_priority_uint32_t.h" #include "storm/queue/timer_priority_uint32_t.h"
#include "event/message.h"
#include "event/handler.h" #include "event/handler.h"
#include "event/keydown.h"
#include "event/types.h"
#include "event/timer.h"
#include "event/id_table.h" #include "event/id_table.h"
#include "event/keydown.h"
#include "event/message.h"
#include "event/timer.h"
#include "event/types.h"
DECLARE_ENUM(SCHEDSTATE); DECLARE_ENUM(SCHEDSTATE);
DECLARE_STRUCT(EvtContext); DECLARE_STRUCT(EvtContext);
@ -30,7 +30,8 @@ enum SCHEDSTATE {
COMMON_INSTANCE_ID(EvtContext); COMMON_INSTANCE_ID(EvtContext);
// class EvtContext : public TSingletonInstanceId<EvtContext, offsetof(TInstanceId<EvtContext>, m_id)> // class EvtContext : public TSingletonInstanceId<EvtContext, offsetof(TInstanceId<EvtContext>,
// m_id)>
struct EvtContext { struct EvtContext {
TSingletonInstanceId_EvtContext b_base; TSingletonInstanceId_EvtContext b_base;
// Member variables // Member variables
@ -62,7 +63,7 @@ struct EvtContext {
uint32_t m_startWatchdog; uint32_t m_startWatchdog;
}; };
STORM_TS_PRIORITY_QUEUE(EvtContext); STORM_TS_PRIORITY_QUEUE(EvtContext);
COMMON_INSTANCE_ID_TABLE(EvtContext);
// class EvtContextQueue : public TSPriorityQueue<EvtContext> // class EvtContextQueue : public TSPriorityQueue<EvtContext>
struct EvtContextQueue { struct EvtContextQueue {
TSPriorityQueue_EvtContext b_base; TSPriorityQueue_EvtContext b_base;

View file

@ -18,7 +18,6 @@ DECLARE_STRUCT(EVENT_DATA_KEY);
DECLARE_STRUCT(EVENT_DATA_MOUSE); DECLARE_STRUCT(EVENT_DATA_MOUSE);
DECLARE_STRUCT(EVENT_DATA_SIZE); DECLARE_STRUCT(EVENT_DATA_SIZE);
typedef void* HEVENTCONTEXT;
typedef int32_t (*EVENTHANDLERFUNC)(const void*, void*); typedef int32_t (*EVENTHANDLERFUNC)(const void*, void*);
enum EVENTID { enum EVENTID {
@ -195,11 +194,7 @@ enum MOUSEBUTTON {
MOUSE_BUTTON_ALL = 0xFFFFFFFF MOUSE_BUTTON_ALL = 0xFFFFFFFF
}; };
enum MOUSEMODE { enum MOUSEMODE { MOUSE_MODE_NORMAL = 0x0, MOUSE_MODE_RELATIVE = 0x1, MOUSE_MODES = 0x2 };
MOUSE_MODE_NORMAL = 0x0,
MOUSE_MODE_RELATIVE = 0x1,
MOUSE_MODES = 0x2
};
enum OSINPUT { enum OSINPUT {
OS_INPUT_CAPTURE_CHANGED = 0, OS_INPUT_CAPTURE_CHANGED = 0,

View file

@ -0,0 +1,27 @@
#ifndef D3D9_BLEND_H
#define D3D9_BLEND_H
DECLARE_ENUM(D3DBLEND);
enum D3DBLEND {
D3DBLEND_ZERO = 1,
D3DBLEND_ONE = 2,
D3DBLEND_SRCCOLOR = 3,
D3DBLEND_INVSRCCOLOR = 4,
D3DBLEND_SRCALPHA = 5,
D3DBLEND_INVSRCALPHA = 6,
D3DBLEND_DESTALPHA = 7,
D3DBLEND_INVDESTALPHA = 8,
D3DBLEND_DESTCOLOR = 9,
D3DBLEND_INVDESTCOLOR = 10,
D3DBLEND_SRCALPHASAT = 11,
D3DBLEND_BOTHSRCALPHA = 12,
D3DBLEND_BOTHINVSRCALPHA = 13,
D3DBLEND_BLENDFACTOR = 14,
D3DBLEND_INVBLENDFACTOR = 15,
D3DBLEND_SRCCOLOR2 = 16,
D3DBLEND_INVSRCCOLOR2 = 17,
D3DBLEND_FORCE_DWORD = 0x7fffffff
};
#endif

View file

@ -0,0 +1,19 @@
#ifndef D3D9_CMP_FUNC_H
#define D3D9_CMP_FUNC_H
DECLARE_ENUM(D3DCMPFUNC);
enum D3DCMPFUNC {
D3DCMP_NEVER = 1,
D3DCMP_LESS = 2,
D3DCMP_EQUAL = 3,
D3DCMP_LESSEQUAL = 4,
D3DCMP_GREATER = 5,
D3DCMP_NOTEQUAL = 6,
D3DCMP_GREATEREQUAL = 7,
D3DCMP_ALWAYS = 8,
D3DCMP_FORCE_DWORD = 0x7fffffff
};
#endif

View file

@ -0,0 +1,14 @@
#ifndef D3D9_CULL_H
#define D3D9_CULL_H
DECLARE_ENUM(D3DCULL);
enum D3DCULL {
D3DCULL_NONE = 1,
D3DCULL_CW = 2,
D3DCULL_CCW = 3,
D3DCULL_FORCE_DWORD = 0x7fffffff
};
#endif

View file

@ -1,9 +1,12 @@
#include "external/d3d9/adapteridentifier.h" #include "external/d3d9/adapteridentifier.h"
#include "external/d3d9/basetexture.h" #include "external/d3d9/basetexture.h"
#include "external/d3d9/blend.h"
#include "external/d3d9/caps.h" #include "external/d3d9/caps.h"
#include "external/d3d9/cmpfunc.h"
#include "external/d3d9/colorvalue.h" #include "external/d3d9/colorvalue.h"
#include "external/d3d9/cubemapfaces.h" #include "external/d3d9/cubemapfaces.h"
#include "external/d3d9/cubetexture.h" #include "external/d3d9/cubetexture.h"
#include "external/d3d9/cull.h"
#include "external/d3d9/decltype.h" #include "external/d3d9/decltype.h"
#include "external/d3d9/declusage.h" #include "external/d3d9/declusage.h"
#include "external/d3d9/device.h" #include "external/d3d9/device.h"
@ -28,6 +31,8 @@
#include "external/d3d9/surfacedesc.h" #include "external/d3d9/surfacedesc.h"
#include "external/d3d9/swapeffect.h" #include "external/d3d9/swapeffect.h"
#include "external/d3d9/texture.h" #include "external/d3d9/texture.h"
#include "external/d3d9/textureaddress.h"
#include "external/d3d9/texturefiltertype.h"
#include "external/d3d9/vector.h" #include "external/d3d9/vector.h"
#include "external/d3d9/vertexbuffer.h" #include "external/d3d9/vertexbuffer.h"
#include "external/d3d9/vertexdeclaration.h" #include "external/d3d9/vertexdeclaration.h"

View file

@ -0,0 +1,16 @@
#ifndef D3D9_TEXTURE_ADDRESS_H
#define D3D9_TEXTURE_ADDRESS_H
DECLARE_ENUM(D3DTEXTUREADDRESS);
enum D3DTEXTUREADDRESS {
D3DTADDRESS_WRAP = 1,
D3DTADDRESS_MIRROR = 2,
D3DTADDRESS_CLAMP = 3,
D3DTADDRESS_BORDER = 4,
D3DTADDRESS_MIRRORONCE = 5,
D3DTADDRESS_FORCE_DWORD = 0x7fffffff
};
#endif

View file

@ -0,0 +1,19 @@
#ifndef D3D9_TEXTURE_FILTER_TYPE_H
#define D3D9_TEXTURE_FILTER_TYPE_H
DECLARE_ENUM(D3DTEXTUREFILTERTYPE);
enum D3DTEXTUREFILTERTYPE {
D3DTEXF_NONE = 0,
D3DTEXF_POINT = 1,
D3DTEXF_LINEAR = 2,
D3DTEXF_ANISOTROPIC = 3,
D3DTEXF_FLATCUBIC = 4,
D3DTEXF_GAUSSIANCUBIC = 5,
D3DTEXF_PYRAMIDALQUAD = 6,
D3DTEXF_GAUSSIANQUAD = 7,
D3DTEXF_CONVOLUTIONMONO = 8,
D3DTEXF_FORCE_DWORD = 0x7fffffff
};
#endif

View file

@ -32,6 +32,7 @@ enum BlitFormat {
}; };
// typedef void (*BLIT_FUNCTION)(const C2iVector&, const void*, uint32_t, void*, uint32_t); // typedef void (*BLIT_FUNCTION)(const C2iVector&, const void*, uint32_t, void*, uint32_t);
typedef void (*BLIT_FUNCTION)(C2iVector*, void*, uint32_t, void*, uint32_t); typedef void (*BLIT_FUNCTION_interface)(C2iVector*, void*, uint32_t, void*, uint32_t);
typedef BLIT_FUNCTION_interface BLIT_FUNCTION;
#endif #endif

View file

@ -4,29 +4,29 @@
#include "system/types.h" #include "system/types.h"
#include "storm/array.h" #include "storm/array.h"
#include "storm/array/uint16_t.h"
#include "storm/array/uint32_t.h"
#include "storm/array/c2vector.h" #include "storm/array/c2vector.h"
#include "storm/array/c3vector.h" #include "storm/array/c3vector.h"
#include "storm/array/cimvector.h" #include "storm/array/cimvector.h"
#include "storm/array/uint16_t.h"
#include "storm/array/uint32_t.h"
#include "tempest/box.h" #include "tempest/box.h"
#include "tempest/matrix.h" #include "tempest/matrix.h"
#include "tempest/rect.h"
#include "tempest/plane.h" #include "tempest/plane.h"
#include "tempest/rect.h"
#include "tempest/vector.h" #include "tempest/vector.h"
#include "gx/types.h"
#include "gx/caps.h"
#include "gx/format.h"
#include "gx/apilight.h" #include "gx/apilight.h"
#include "gx/state_bom.h"
#include "gx/shader.h"
#include "gx/matrix_stack.h"
#include "gx/buffer.h" #include "gx/buffer.h"
#include "gx/texture.h" #include "gx/caps.h"
#include "gx/query.h"
#include "gx/emergencymem.h" #include "gx/emergencymem.h"
#include "gx/format.h"
#include "gx/matrix_stack.h"
#include "gx/query.h"
#include "gx/shader.h"
#include "gx/state_bom.h"
#include "gx/texture.h"
#include "gx/types.h"
DECLARE_STRUCT(CGxAppRenderState); DECLARE_STRUCT(CGxAppRenderState);
DECLARE_STRUCT(CGxPushedRenderState); DECLARE_STRUCT(CGxPushedRenderState);
@ -36,13 +36,20 @@ DECLARE_STRUCT(CGxDevice__TextureTarget);
DECLARE_STRUCT(CGxDevice__v_table); DECLARE_STRUCT(CGxDevice__v_table);
DECLARE_STRUCT(CGxDevice__GxLight); DECLARE_STRUCT(CGxDevice__GxLight);
typedef void (*DEVICERESTOREDCALLBACK)(); typedef int32_t (
*GxWindowProc_interface)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam);
typedef GxWindowProc_interface GxWindowProc;
typedef void (*DEVICERESTOREDCALLBACK_interface)();
typedef DEVICERESTOREDCALLBACK_interface DEVICERESTOREDCALLBACK;
STORM_TS_GROWABLE_ARRAY(DEVICERESTOREDCALLBACK); STORM_TS_GROWABLE_ARRAY(DEVICERESTOREDCALLBACK);
typedef void (*TEXTURERECREATIONCALLBACK)(); typedef void (*TEXTURERECREATIONCALLBACK_interface)();
typedef TEXTURERECREATIONCALLBACK_interface TEXTURERECREATIONCALLBACK;
STORM_TS_GROWABLE_ARRAY(TEXTURERECREATIONCALLBACK); STORM_TS_GROWABLE_ARRAY(TEXTURERECREATIONCALLBACK);
typedef void (*STEREOCHANGEDCALLBACK)(); typedef void (*STEREOCHANGEDCALLBACK_interface)();
typedef STEREOCHANGEDCALLBACK_interface STEREOCHANGEDCALLBACK;
STORM_TS_GROWABLE_ARRAY(STEREOCHANGEDCALLBACK); STORM_TS_GROWABLE_ARRAY(STEREOCHANGEDCALLBACK);
struct CGxAppRenderState { struct CGxAppRenderState {
@ -98,7 +105,8 @@ struct CGxDevice__v_table {
void* v_fn_8_scalar_deleting_destructor; void* v_fn_8_scalar_deleting_destructor;
// int32_t DeviceCreate(uintptr_t hwnd, const CGxFormat& format); // int32_t DeviceCreate(uintptr_t hwnd, const CGxFormat& format);
void* v_fn_9_DeviceCreate; void* v_fn_9_DeviceCreate;
// int32_t DeviceCreate(long (*windowProc)(void*, uint32_t, uint32_t, int32_t), CGxFormat const& format); // int32_t DeviceCreate(long (*windowProc)(void*, uint32_t, uint32_t, int32_t), CGxFormat const&
// format);
void* v_fn_10_DeviceCreate; void* v_fn_10_DeviceCreate;
// void DeviceDestroy(); // void DeviceDestroy();
void* v_fn_11_DeviceDestroy; void* v_fn_11_DeviceDestroy;
@ -136,8 +144,8 @@ struct CGxDevice__v_table {
// d3d: // d3d:
// this->m_d3dDevice->SetDepthStencilSurface(PTR_00C6033C); // this->m_d3dDevice->SetDepthStencilSurface(PTR_00C6033C);
void* v_fn_25; void* v_fn_25;
// void v_fn_26(CGxTex* texId); DeviceResolveDepthBuffer(CGxTex*) seems to be the most logical candidate for this // void v_fn_26(CGxTex* texId); DeviceResolveDepthBuffer(CGxTex*) seems to be the most logical
// d3d: // candidate for this d3d:
// if (this->m_context) { // if (this->m_context) {
// if (texId && // if (texId &&
// (texId->m_needsCreation || // (texId->m_needsCreation ||
@ -149,7 +157,8 @@ struct CGxDevice__v_table {
// } // }
// void DeviceResolveDepthBuffer(CGxTex* texId); // void DeviceResolveDepthBuffer(CGxTex* texId);
void* v_fn_26_DeviceResolveDepthBuffer; void* v_fn_26_DeviceResolveDepthBuffer;
// void DeviceCopyTex(CGxTex* sourceTex, uint32_t sourcePlane, CGxTex* destTex, uint32_t destPlane); // void DeviceCopyTex(CGxTex* sourceTex, uint32_t sourcePlane, CGxTex* destTex, uint32_t
// destPlane);
void* v_fn_27_DeviceCopyTex; void* v_fn_27_DeviceCopyTex;
// void DeviceOverride(EGxOverride override, uint32_t value); // void DeviceOverride(EGxOverride override, uint32_t value);
void* v_fn_28_DeviceOverride; void* v_fn_28_DeviceOverride;
@ -209,13 +218,18 @@ struct CGxDevice__v_table {
void* v_fn_55_BufUnlock; void* v_fn_55_BufUnlock;
// void BufData(CGxBuf* buf, const void* data, uint32_t size, uint32_t offset); // void BufData(CGxBuf* buf, const void* data, uint32_t size, uint32_t offset);
void* v_fn_56_BufData; void* v_fn_56_BufData;
// int32_t TexCreate(EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t&, void const*&), const char* name, CGxTex*& texId); // int32_t TexCreate(EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth,
// EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void
// (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t&, void
// const*&), const char* name, CGxTex*& texId);
void* v_fn_57_TexCreate; void* v_fn_57_TexCreate;
// void TexDestroy(CGxTex* texId); // void TexDestroy(CGxTex* texId);
void* v_fn_58_TexDestroy; void* v_fn_58_TexDestroy;
// int32_t TexCopy(CGxTex* destTex, CGxTex* sourceTex, const C2iVector& pos, const C2iVector& size, uint32_t level, uint32_t plane); // int32_t TexCopy(CGxTex* destTex, CGxTex* sourceTex, const C2iVector& pos, const C2iVector&
// size, uint32_t level, uint32_t plane);
void* v_fn_59_TexCopy; void* v_fn_59_TexCopy;
// bool TexStretch(CGxTex* sourceTex, CGxTex* destTex, const CiRect* destRect, const CiRect* sourceRect, uint32_t level, uint32_t plane); // bool TexStretch(CGxTex* sourceTex, CGxTex* destTex, const CiRect* destRect, const CiRect*
// sourceRect, uint32_t level, uint32_t plane);
void* v_fn_60_TexStretch; void* v_fn_60_TexStretch;
// void TexSetCacheSize(int32_t cacheSize); // void TexSetCacheSize(int32_t cacheSize);
void* v_fn_61_TexSetCacheSize; void* v_fn_61_TexSetCacheSize;
@ -231,11 +245,13 @@ struct CGxDevice__v_table {
void* v_fn_66_QueryGetParam; void* v_fn_66_QueryGetParam;
// bool QueryGetData(CGxQuery* query, uint32_t* data); // bool QueryGetData(CGxQuery* query, uint32_t* data);
void* v_fn_67_QueryGetData; void* v_fn_67_QueryGetData;
// void ShaderCreate(CGxShader* shaders[], EGxShTarget target, const char* a3, const char* a4, int32_t permutations); // void ShaderCreate(CGxShader* shaders[], EGxShTarget target, const char* a3, const char* a4,
// int32_t permutations);
void* v_fn_68_ShaderCreate; void* v_fn_68_ShaderCreate;
// void ShaderDestroy(CGxShader*& shader); // void ShaderDestroy(CGxShader*& shader);
void* v_fn_69_ShaderDestroy; void* v_fn_69_ShaderDestroy;
// void ShaderConstantsSet(EGxShTarget target, uint32_t index, const float* constraints, uint32_t count); // void ShaderConstantsSet(EGxShTarget target, uint32_t index, const float* constraints,
// uint32_t count);
void* v_fn_70_ShaderConstantsSet; void* v_fn_70_ShaderConstantsSet;
// void IShaderReload(CGxShader* shader, const char* a2, const char* a3); // void IShaderReload(CGxShader* shader, const char* a2, const char* a3);
void* v_fn_71_IShaderReload; void* v_fn_71_IShaderReload;

View file

@ -1,8 +1,8 @@
#ifndef GX_TEXTURE_H #ifndef GX_TEXTURE_H
#define GX_TEXTURE_H #define GX_TEXTURE_H
#include "tempest/rect.h"
#include "common/handle.h" #include "common/handle.h"
#include "tempest/rect.h"
#include "storm/array.h" #include "storm/array.h"
@ -22,7 +22,6 @@ struct CGxTexFlags {
// unsigned __int32 m_renderTarget : 1; // unsigned __int32 m_renderTarget : 1;
// unsigned __int32 m_maxAnisotropy : 5; // unsigned __int32 m_maxAnisotropy : 5;
uint32_t f_flags; uint32_t f_flags;
}; };
@ -56,4 +55,15 @@ struct CGxTex {
uint16_t m_pad; uint16_t m_pad;
}; };
typedef void (*GxTexCallback_interface)(
EGxTexCommand,
uint32_t,
uint32_t,
uint32_t,
uint32_t,
void*,
uint32_t*,
void**);
typedef GxTexCallback_interface GxTexCallback;
#endif #endif

View file

@ -5,7 +5,6 @@
#include "storm/array.h" #include "storm/array.h"
DECLARE_ENUM(EGxApi); DECLARE_ENUM(EGxApi);
DECLARE_ENUM(EGxBlend); DECLARE_ENUM(EGxBlend);
DECLARE_ENUM(EGxBuffer); DECLARE_ENUM(EGxBuffer);
@ -21,6 +20,7 @@ DECLARE_ENUM(EGxShPS);
DECLARE_ENUM(EGxShTarget); DECLARE_ENUM(EGxShTarget);
DECLARE_ENUM(EGxShVS); DECLARE_ENUM(EGxShVS);
DECLARE_ENUM(EGxQueryType); DECLARE_ENUM(EGxQueryType);
DECLARE_ENUM(EGxQueryParam);
DECLARE_ENUM(EGxTexCommand); DECLARE_ENUM(EGxTexCommand);
DECLARE_ENUM(EGxTexFilter); DECLARE_ENUM(EGxTexFilter);
DECLARE_ENUM(EGxTexFormat); DECLARE_ENUM(EGxTexFormat);
@ -64,11 +64,7 @@ enum EGxBlend {
GxBlends_Last = 12 GxBlends_Last = 12
}; };
enum EGxBuffer { enum EGxBuffer { GxBuffers_Color = 0, GxBuffers_Depth = 1, GxBuffers_Last = 2 };
GxBuffers_Color = 0,
GxBuffers_Depth = 1,
GxBuffers_Last = 2
};
enum EGxColorFormat { enum EGxColorFormat {
GxCF_argb = 0, GxCF_argb = 0,
@ -76,19 +72,9 @@ enum EGxColorFormat {
GxColorFormats_Last = 2, GxColorFormats_Last = 2,
}; };
enum EGxFontHJusts { enum EGxFontHJusts { GxHJ_Left = 0, GxHJ_Center = 1, GxHJ_Right = 2, GxHJ_Last = 3 };
GxHJ_Left = 0,
GxHJ_Center = 1,
GxHJ_Right = 2,
GxHJ_Last = 3
};
enum EGxFontVJusts { enum EGxFontVJusts { GxVJ_Top = 0, GxVJ_Middle = 1, GxVJ_Bottom = 2, GxVJ_Last = 3 };
GxVJ_Top = 0,
GxVJ_Middle = 1,
GxVJ_Bottom = 2,
GxVJ_Last = 3
};
enum EGxMasterEnables { enum EGxMasterEnables {
GxMasterEnable_Lighting = 0, GxMasterEnable_Lighting = 0,
@ -137,6 +123,8 @@ enum EGxPrimMask {
GxPrim_TexCoord1 = 0x80 GxPrim_TexCoord1 = 0x80
}; };
enum EGxQueryParam { GxQueryParam_Unk0 = 0, GxQueryParams_Last = 1 };
enum EGxRenderState { enum EGxRenderState {
GxRs_PolygonOffset = 0, GxRs_PolygonOffset = 0,
GxRs_MatDiffuse = 1, GxRs_MatDiffuse = 1,
@ -324,10 +312,7 @@ enum EGxTexTarget {
GxTexTargets_Last = 0x4 GxTexTargets_Last = 0x4
}; };
enum EGxTexWrapMode { enum EGxTexWrapMode { GxTex_Clamp = 0, GxTex_Wrap = 1 };
GxTex_Clamp = 0,
GxTex_Wrap = 1
};
enum EGxQueryType { enum EGxQueryType {
GxQueryType_Occlusion = 0, GxQueryType_Occlusion = 0,
@ -349,11 +334,7 @@ enum EGxXform {
GxXforms_Last = 11 GxXforms_Last = 11
}; };
enum EGxuDrawListCategory { enum EGxuDrawListCategory { GxuCat_0 = 0, GxuCat_1 = 1, GxuCat_2 = 2 };
GxuCat_0 = 0,
GxuCat_1 = 1,
GxuCat_2 = 2
};
enum EGxWM { enum EGxWM {
GxWM_Size = 0, GxWM_Size = 0,
@ -363,12 +344,7 @@ enum EGxWM {
GxWM_KillFocus = 4, GxWM_KillFocus = 4,
}; };
enum COLOR_FILE_FORMAT { enum COLOR_FILE_FORMAT { COLOR_JPEG = 0, COLOR_PAL = 1, COLOR_DXT = 2, COLOR_3 = 3 };
COLOR_JPEG = 0,
COLOR_PAL = 1,
COLOR_DXT = 2,
COLOR_3 = 3
};
enum PIXEL_FORMAT { enum PIXEL_FORMAT {
PIXEL_DXT1 = 0x0, PIXEL_DXT1 = 0x0,

View file

@ -89,6 +89,7 @@ union Udata {
struct Proto { struct Proto {
GCObject* next; GCObject* next;
uint32_t unk04;
lu_byte tt; lu_byte tt;
lu_byte marked; lu_byte marked;
TValue* k; TValue* k;

View file

@ -45,9 +45,11 @@ struct lua_longjmp {
typedef lu_int32 Instruction; typedef lu_int32 Instruction;
typedef int32_t (*lua_CFunction)(lua_State*); typedef int32_t (*lua_CFunction_interface)(lua_State*);
typedef lua_CFunction_interface lua_CFunction;
typedef void* (*lua_Alloc)(void*, void*, size_t, size_t); typedef void* (*lua_Alloc_interface)(void*, void*, size_t, size_t);
typedef lua_Alloc_interface lua_Alloc;
struct luaL_Reg { struct luaL_Reg {
const char* name; const char* name;

View file

@ -66,6 +66,8 @@
#include "cursor/types.h" #include "cursor/types.h"
#include "daynight/dnglare.h"
#include "event/context.h" #include "event/context.h"
#include "event/handler.h" #include "event/handler.h"
#include "event/id_table.h" #include "event/id_table.h"
@ -176,10 +178,13 @@
#include "ui/scriptregion.h" #include "ui/scriptregion.h"
#include "ui/simplebatchedmesh.h" #include "ui/simplebatchedmesh.h"
#include "ui/simpleframe.h" #include "ui/simpleframe.h"
#include "ui/simplemodel.h"
#include "ui/simpleregion.h" #include "ui/simpleregion.h"
#include "ui/simpletexture.h" #include "ui/simpletexture.h"
#include "ui/simpletop.h" #include "ui/simpletop.h"
#include "xml/xml.h"
// include files that define the use of template classes for standard library types // include files that define the use of template classes for standard library types
// template classes for whoa types should be entered immediately after where the type is // template classes for whoa types should be entered immediately after where the type is

View file

@ -12,78 +12,114 @@ enum NvAPI_Status {
NVAPI_NO_IMPLEMENTATION = -3, //!< not implemented in current driver installation NVAPI_NO_IMPLEMENTATION = -3, //!< not implemented in current driver installation
NVAPI_API_NOT_INITIALIZED = -4, //!< NvAPI_Initialize has not been called (successfully) NVAPI_API_NOT_INITIALIZED = -4, //!< NvAPI_Initialize has not been called (successfully)
NVAPI_INVALID_ARGUMENT = -5, //!< The argument/parameter value is not valid or NULL. NVAPI_INVALID_ARGUMENT = -5, //!< The argument/parameter value is not valid or NULL.
NVAPI_NVIDIA_DEVICE_NOT_FOUND = -6, //!< No NVIDIA display driver, or NVIDIA GPU driving a display, was found. NVAPI_NVIDIA_DEVICE_NOT_FOUND =
-6, //!< No NVIDIA display driver, or NVIDIA GPU driving a display, was found.
NVAPI_END_ENUMERATION = -7, //!< No more items to enumerate NVAPI_END_ENUMERATION = -7, //!< No more items to enumerate
NVAPI_INVALID_HANDLE = -8, //!< Invalid handle NVAPI_INVALID_HANDLE = -8, //!< Invalid handle
NVAPI_INCOMPATIBLE_STRUCT_VERSION = -9, //!< An argument's structure version is not supported NVAPI_INCOMPATIBLE_STRUCT_VERSION = -9, //!< An argument's structure version is not supported
NVAPI_HANDLE_INVALIDATED = -10, //!< The handle is no longer valid (likely due to GPU or display re-configuration) NVAPI_HANDLE_INVALIDATED =
NVAPI_OPENGL_CONTEXT_NOT_CURRENT = -11, //!< No NVIDIA OpenGL context is current (but needs to be) -10, //!< The handle is no longer valid (likely due to GPU or display re-configuration)
NVAPI_OPENGL_CONTEXT_NOT_CURRENT =
-11, //!< No NVIDIA OpenGL context is current (but needs to be)
NVAPI_INVALID_POINTER = -14, //!< An invalid pointer, usually NULL, was passed as a parameter NVAPI_INVALID_POINTER = -14, //!< An invalid pointer, usually NULL, was passed as a parameter
NVAPI_NO_GL_EXPERT = -12, //!< OpenGL Expert is not supported by the current drivers NVAPI_NO_GL_EXPERT = -12, //!< OpenGL Expert is not supported by the current drivers
NVAPI_INSTRUMENTATION_DISABLED = -13, //!< OpenGL Expert is supported, but driver instrumentation is currently disabled NVAPI_INSTRUMENTATION_DISABLED =
-13, //!< OpenGL Expert is supported, but driver instrumentation is currently disabled
NVAPI_NO_GL_NSIGHT = -15, //!< OpenGL does not support Nsight NVAPI_NO_GL_NSIGHT = -15, //!< OpenGL does not support Nsight
NVAPI_EXPECTED_LOGICAL_GPU_HANDLE = -100, //!< Expected a logical GPU handle for one or more parameters NVAPI_EXPECTED_LOGICAL_GPU_HANDLE =
NVAPI_EXPECTED_PHYSICAL_GPU_HANDLE = -101, //!< Expected a physical GPU handle for one or more parameters -100, //!< Expected a logical GPU handle for one or more parameters
NVAPI_EXPECTED_DISPLAY_HANDLE = -102, //!< Expected an NV display handle for one or more parameters NVAPI_EXPECTED_PHYSICAL_GPU_HANDLE =
-101, //!< Expected a physical GPU handle for one or more parameters
NVAPI_EXPECTED_DISPLAY_HANDLE =
-102, //!< Expected an NV display handle for one or more parameters
NVAPI_INVALID_COMBINATION = -103, //!< The combination of parameters is not valid. NVAPI_INVALID_COMBINATION = -103, //!< The combination of parameters is not valid.
NVAPI_NOT_SUPPORTED = -104, //!< Requested feature is not supported in the selected GPU NVAPI_NOT_SUPPORTED = -104, //!< Requested feature is not supported in the selected GPU
NVAPI_PORTID_NOT_FOUND = -105, //!< No port ID was found for the I2C transaction NVAPI_PORTID_NOT_FOUND = -105, //!< No port ID was found for the I2C transaction
NVAPI_EXPECTED_UNATTACHED_DISPLAY_HANDLE = -106, //!< Expected an unattached display handle as one of the input parameters. NVAPI_EXPECTED_UNATTACHED_DISPLAY_HANDLE =
-106, //!< Expected an unattached display handle as one of the input parameters.
NVAPI_INVALID_PERF_LEVEL = -107, //!< Invalid perf level NVAPI_INVALID_PERF_LEVEL = -107, //!< Invalid perf level
NVAPI_DEVICE_BUSY = -108, //!< Device is busy; request not fulfilled NVAPI_DEVICE_BUSY = -108, //!< Device is busy; request not fulfilled
NVAPI_NV_PERSIST_FILE_NOT_FOUND = -109, //!< NV persist file is not found NVAPI_NV_PERSIST_FILE_NOT_FOUND = -109, //!< NV persist file is not found
NVAPI_PERSIST_DATA_NOT_FOUND = -110, //!< NV persist data is not found NVAPI_PERSIST_DATA_NOT_FOUND = -110, //!< NV persist data is not found
NVAPI_EXPECTED_TV_DISPLAY = -111, //!< Expected a TV output display NVAPI_EXPECTED_TV_DISPLAY = -111, //!< Expected a TV output display
NVAPI_EXPECTED_TV_DISPLAY_ON_DCONNECTOR = -112, //!< Expected a TV output on the D Connector - HDTV_EIAJ4120. NVAPI_EXPECTED_TV_DISPLAY_ON_DCONNECTOR =
-112, //!< Expected a TV output on the D Connector - HDTV_EIAJ4120.
NVAPI_NO_ACTIVE_SLI_TOPOLOGY = -113, //!< SLI is not active on this device. NVAPI_NO_ACTIVE_SLI_TOPOLOGY = -113, //!< SLI is not active on this device.
NVAPI_SLI_RENDERING_MODE_NOTALLOWED = -114, //!< Setup of SLI rendering mode is not possible right now. NVAPI_SLI_RENDERING_MODE_NOTALLOWED =
-114, //!< Setup of SLI rendering mode is not possible right now.
NVAPI_EXPECTED_DIGITAL_FLAT_PANEL = -115, //!< Expected a digital flat panel. NVAPI_EXPECTED_DIGITAL_FLAT_PANEL = -115, //!< Expected a digital flat panel.
NVAPI_ARGUMENT_EXCEED_MAX_SIZE = -116, //!< Argument exceeds the expected size. NVAPI_ARGUMENT_EXCEED_MAX_SIZE = -116, //!< Argument exceeds the expected size.
NVAPI_DEVICE_SWITCHING_NOT_ALLOWED = -117, //!< Inhibit is ON due to one of the flags in NV_GPU_DISPLAY_CHANGE_INHIBIT or SLI active. NVAPI_DEVICE_SWITCHING_NOT_ALLOWED = -117, //!< Inhibit is ON due to one of the flags in
//!< NV_GPU_DISPLAY_CHANGE_INHIBIT or SLI active.
NVAPI_TESTING_CLOCKS_NOT_SUPPORTED = -118, //!< Testing of clocks is not supported. NVAPI_TESTING_CLOCKS_NOT_SUPPORTED = -118, //!< Testing of clocks is not supported.
NVAPI_UNKNOWN_UNDERSCAN_CONFIG = -119, //!< The specified underscan config is from an unknown source (e.g. INF) NVAPI_UNKNOWN_UNDERSCAN_CONFIG =
-119, //!< The specified underscan config is from an unknown source (e.g. INF)
NVAPI_TIMEOUT_RECONFIGURING_GPU_TOPO = -120, //!< Timeout while reconfiguring GPUs NVAPI_TIMEOUT_RECONFIGURING_GPU_TOPO = -120, //!< Timeout while reconfiguring GPUs
NVAPI_DATA_NOT_FOUND = -121, //!< Requested data was not found NVAPI_DATA_NOT_FOUND = -121, //!< Requested data was not found
NVAPI_EXPECTED_ANALOG_DISPLAY = -122, //!< Expected an analog display NVAPI_EXPECTED_ANALOG_DISPLAY = -122, //!< Expected an analog display
NVAPI_NO_VIDLINK = -123, //!< No SLI video bridge is present NVAPI_NO_VIDLINK = -123, //!< No SLI video bridge is present
NVAPI_REQUIRES_REBOOT = -124, //!< NVAPI requires a reboot for the settings to take effect NVAPI_REQUIRES_REBOOT = -124, //!< NVAPI requires a reboot for the settings to take effect
NVAPI_INVALID_HYBRID_MODE = -125, //!< The function is not supported with the current Hybrid mode. NVAPI_INVALID_HYBRID_MODE =
-125, //!< The function is not supported with the current Hybrid mode.
NVAPI_MIXED_TARGET_TYPES = -126, //!< The target types are not all the same NVAPI_MIXED_TARGET_TYPES = -126, //!< The target types are not all the same
NVAPI_SYSWOW64_NOT_SUPPORTED = -127, //!< The function is not supported from 32-bit on a 64-bit system. NVAPI_SYSWOW64_NOT_SUPPORTED =
NVAPI_IMPLICIT_SET_GPU_TOPOLOGY_CHANGE_NOT_ALLOWED = -128, //!< There is no implicit GPU topology active. Use NVAPI_SetHybridMode to change topology. -127, //!< The function is not supported from 32-bit on a 64-bit system.
NVAPI_REQUEST_USER_TO_CLOSE_NON_MIGRATABLE_APPS = -129, //!< Prompt the user to close all non-migratable applications. NVAPI_IMPLICIT_SET_GPU_TOPOLOGY_CHANGE_NOT_ALLOWED =
-128, //!< There is no implicit GPU topology active. Use NVAPI_SetHybridMode to change
//!< topology.
NVAPI_REQUEST_USER_TO_CLOSE_NON_MIGRATABLE_APPS =
-129, //!< Prompt the user to close all non-migratable applications.
NVAPI_OUT_OF_MEMORY = -130, //!< Could not allocate sufficient memory to complete the call. NVAPI_OUT_OF_MEMORY = -130, //!< Could not allocate sufficient memory to complete the call.
NVAPI_WAS_STILL_DRAWING = -131, //!< The previous operation that is transferring information to or from this surface is incomplete. NVAPI_WAS_STILL_DRAWING = -131, //!< The previous operation that is transferring information to
//!< or from this surface is incomplete.
NVAPI_FILE_NOT_FOUND = -132, //!< The file was not found. NVAPI_FILE_NOT_FOUND = -132, //!< The file was not found.
NVAPI_TOO_MANY_UNIQUE_STATE_OBJECTS = -133, //!< There are too many unique instances of a particular type of state object. NVAPI_TOO_MANY_UNIQUE_STATE_OBJECTS =
NVAPI_INVALID_CALL = -134, //!< The method call is invalid. For example, a method's parameter may not be a valid pointer. -133, //!< There are too many unique instances of a particular type of state object.
NVAPI_INVALID_CALL = -134, //!< The method call is invalid. For example, a method's parameter
//!< may not be a valid pointer.
NVAPI_D3D10_1_LIBRARY_NOT_FOUND = -135, //!< d3d10_1.dll cannot be loaded. NVAPI_D3D10_1_LIBRARY_NOT_FOUND = -135, //!< d3d10_1.dll cannot be loaded.
NVAPI_FUNCTION_NOT_FOUND = -136, //!< Couldn't find the function in the loaded DLL. NVAPI_FUNCTION_NOT_FOUND = -136, //!< Couldn't find the function in the loaded DLL.
NVAPI_INVALID_USER_PRIVILEGE = -137, //!< The application will require Administrator privileges to access this API. NVAPI_INVALID_USER_PRIVILEGE =
//!< The application can be elevated to a higher permission level by selecting "Run as Administrator". -137, //!< The application will require Administrator privileges to access this API.
//!< The application can be elevated to a higher permission level by selecting "Run as
//!< Administrator".
NVAPI_EXPECTED_NON_PRIMARY_DISPLAY_HANDLE = -138, //!< The handle corresponds to GDIPrimary. NVAPI_EXPECTED_NON_PRIMARY_DISPLAY_HANDLE = -138, //!< The handle corresponds to GDIPrimary.
NVAPI_EXPECTED_COMPUTE_GPU_HANDLE = -139, //!< Setting Physx GPU requires that the GPU is compute-capable. NVAPI_EXPECTED_COMPUTE_GPU_HANDLE =
NVAPI_STEREO_NOT_INITIALIZED = -140, //!< The Stereo part of NVAPI failed to initialize completely. Check if the stereo driver is installed. -139, //!< Setting Physx GPU requires that the GPU is compute-capable.
NVAPI_STEREO_REGISTRY_ACCESS_FAILED = -141, //!< Access to stereo-related registry keys or values has failed. NVAPI_STEREO_NOT_INITIALIZED = -140, //!< The Stereo part of NVAPI failed to initialize
NVAPI_STEREO_REGISTRY_PROFILE_TYPE_NOT_SUPPORTED = -142, //!< The given registry profile type is not supported. //!< completely. Check if the stereo driver is installed.
NVAPI_STEREO_REGISTRY_VALUE_NOT_SUPPORTED = -143, //!< The given registry value is not supported. NVAPI_STEREO_REGISTRY_ACCESS_FAILED =
NVAPI_STEREO_NOT_ENABLED = -144, //!< Stereo is not enabled and the function needed it to execute completely. -141, //!< Access to stereo-related registry keys or values has failed.
NVAPI_STEREO_NOT_TURNED_ON = -145, //!< Stereo is not turned on and the function needed it to execute completely. NVAPI_STEREO_REGISTRY_PROFILE_TYPE_NOT_SUPPORTED =
-142, //!< The given registry profile type is not supported.
NVAPI_STEREO_REGISTRY_VALUE_NOT_SUPPORTED =
-143, //!< The given registry value is not supported.
NVAPI_STEREO_NOT_ENABLED =
-144, //!< Stereo is not enabled and the function needed it to execute completely.
NVAPI_STEREO_NOT_TURNED_ON =
-145, //!< Stereo is not turned on and the function needed it to execute completely.
NVAPI_STEREO_INVALID_DEVICE_INTERFACE = -146, //!< Invalid device interface. NVAPI_STEREO_INVALID_DEVICE_INTERFACE = -146, //!< Invalid device interface.
NVAPI_STEREO_PARAMETER_OUT_OF_RANGE = -147, //!< Separation percentage or JPEG image capture quality is out of [0-100] range. NVAPI_STEREO_PARAMETER_OUT_OF_RANGE =
NVAPI_STEREO_FRUSTUM_ADJUST_MODE_NOT_SUPPORTED = -148, //!< The given frustum adjust mode is not supported. -147, //!< Separation percentage or JPEG image capture quality is out of [0-100] range.
NVAPI_TOPO_NOT_POSSIBLE = -149, //!< The mosaic topology is not possible given the current state of the hardware. NVAPI_STEREO_FRUSTUM_ADJUST_MODE_NOT_SUPPORTED =
NVAPI_MODE_CHANGE_FAILED = -150, //!< An attempt to do a display resolution mode change has failed. -148, //!< The given frustum adjust mode is not supported.
NVAPI_TOPO_NOT_POSSIBLE =
-149, //!< The mosaic topology is not possible given the current state of the hardware.
NVAPI_MODE_CHANGE_FAILED =
-150, //!< An attempt to do a display resolution mode change has failed.
NVAPI_D3D11_LIBRARY_NOT_FOUND = -151, //!< d3d11.dll/d3d11_beta.dll cannot be loaded. NVAPI_D3D11_LIBRARY_NOT_FOUND = -151, //!< d3d11.dll/d3d11_beta.dll cannot be loaded.
NVAPI_INVALID_ADDRESS = -152, //!< Address is outside of valid range. NVAPI_INVALID_ADDRESS = -152, //!< Address is outside of valid range.
NVAPI_STRING_TOO_SMALL = -153, //!< The pre-allocated string is too small to hold the result. NVAPI_STRING_TOO_SMALL = -153, //!< The pre-allocated string is too small to hold the result.
NVAPI_MATCHING_DEVICE_NOT_FOUND = -154, //!< The input does not match any of the available devices. NVAPI_MATCHING_DEVICE_NOT_FOUND =
-154, //!< The input does not match any of the available devices.
NVAPI_DRIVER_RUNNING = -155, //!< Driver is running. NVAPI_DRIVER_RUNNING = -155, //!< Driver is running.
NVAPI_DRIVER_NOTRUNNING = -156, //!< Driver is not running. NVAPI_DRIVER_NOTRUNNING = -156, //!< Driver is not running.
NVAPI_ERROR_DRIVER_RELOAD_REQUIRED = -157, //!< A driver reload is required to apply these settings. NVAPI_ERROR_DRIVER_RELOAD_REQUIRED =
-157, //!< A driver reload is required to apply these settings.
NVAPI_SET_NOT_ALLOWED = -158, //!< Intended setting is not allowed. NVAPI_SET_NOT_ALLOWED = -158, //!< Intended setting is not allowed.
NVAPI_ADVANCED_DISPLAY_TOPOLOGY_REQUIRED = -159, //!< Information can't be returned due to "advanced display topology". NVAPI_ADVANCED_DISPLAY_TOPOLOGY_REQUIRED =
-159, //!< Information can't be returned due to "advanced display topology".
NVAPI_SETTING_NOT_FOUND = -160, //!< Setting is not found. NVAPI_SETTING_NOT_FOUND = -160, //!< Setting is not found.
NVAPI_SETTING_SIZE_TOO_LARGE = -161, //!< Setting size is too large. NVAPI_SETTING_SIZE_TOO_LARGE = -161, //!< Setting size is too large.
NVAPI_TOO_MANY_SETTINGS_IN_PROFILE = -162, //!< There are too many settings for a profile. NVAPI_TOO_MANY_SETTINGS_IN_PROFILE = -162, //!< There are too many settings for a profile.
@ -93,57 +129,88 @@ enum NvAPI_Status {
NVAPI_EXECUTABLE_NOT_FOUND = -166, //!< Application not found in the Profile. NVAPI_EXECUTABLE_NOT_FOUND = -166, //!< Application not found in the Profile.
NVAPI_EXECUTABLE_ALREADY_IN_USE = -167, //!< Application already exists in the other profile. NVAPI_EXECUTABLE_ALREADY_IN_USE = -167, //!< Application already exists in the other profile.
NVAPI_DATATYPE_MISMATCH = -168, //!< Data Type mismatch NVAPI_DATATYPE_MISMATCH = -168, //!< Data Type mismatch
NVAPI_PROFILE_REMOVED = -169, //!< The profile passed as parameter has been removed and is no longer valid. NVAPI_PROFILE_REMOVED =
-169, //!< The profile passed as parameter has been removed and is no longer valid.
NVAPI_UNREGISTERED_RESOURCE = -170, //!< An unregistered resource was passed as a parameter. NVAPI_UNREGISTERED_RESOURCE = -170, //!< An unregistered resource was passed as a parameter.
NVAPI_ID_OUT_OF_RANGE = -171, //!< The DisplayId corresponds to a display which is not within the normal outputId range. NVAPI_ID_OUT_OF_RANGE = -171, //!< The DisplayId corresponds to a display which is not within
NVAPI_DISPLAYCONFIG_VALIDATION_FAILED = -172, //!< Display topology is not valid so the driver cannot do a mode set on this configuration. //!< the normal outputId range.
NVAPI_DISPLAYCONFIG_VALIDATION_FAILED = -172, //!< Display topology is not valid so the driver
//!< cannot do a mode set on this configuration.
NVAPI_DPMST_CHANGED = -173, //!< Display Port Multi-Stream topology has been changed. NVAPI_DPMST_CHANGED = -173, //!< Display Port Multi-Stream topology has been changed.
NVAPI_INSUFFICIENT_BUFFER = -174, //!< Input buffer is insufficient to hold the contents. NVAPI_INSUFFICIENT_BUFFER = -174, //!< Input buffer is insufficient to hold the contents.
NVAPI_ACCESS_DENIED = -175, //!< No access to the caller. NVAPI_ACCESS_DENIED = -175, //!< No access to the caller.
NVAPI_MOSAIC_NOT_ACTIVE = -176, //!< The requested action cannot be performed without Mosaic being enabled. NVAPI_MOSAIC_NOT_ACTIVE =
-176, //!< The requested action cannot be performed without Mosaic being enabled.
NVAPI_SHARE_RESOURCE_RELOCATED = -177, //!< The surface is relocated away from video memory. NVAPI_SHARE_RESOURCE_RELOCATED = -177, //!< The surface is relocated away from video memory.
NVAPI_REQUEST_USER_TO_DISABLE_DWM = -178, //!< The user should disable DWM before calling NvAPI. NVAPI_REQUEST_USER_TO_DISABLE_DWM = -178, //!< The user should disable DWM before calling NvAPI.
NVAPI_D3D_DEVICE_LOST = -179, //!< D3D device status is D3DERR_DEVICELOST or D3DERR_DEVICENOTRESET - the user has to reset the device. NVAPI_D3D_DEVICE_LOST = -179, //!< D3D device status is D3DERR_DEVICELOST or
NVAPI_INVALID_CONFIGURATION = -180, //!< The requested action cannot be performed in the current state. //!< D3DERR_DEVICENOTRESET - the user has to reset the device.
NVAPI_INVALID_CONFIGURATION =
-180, //!< The requested action cannot be performed in the current state.
NVAPI_STEREO_HANDSHAKE_NOT_DONE = -181, //!< Call failed as stereo handshake not completed. NVAPI_STEREO_HANDSHAKE_NOT_DONE = -181, //!< Call failed as stereo handshake not completed.
NVAPI_EXECUTABLE_PATH_IS_AMBIGUOUS = -182, //!< The path provided was too short to determine the correct NVDRS_APPLICATION NVAPI_EXECUTABLE_PATH_IS_AMBIGUOUS =
NVAPI_DEFAULT_STEREO_PROFILE_IS_NOT_DEFINED = -183, //!< Default stereo profile is not currently defined -182, //!< The path provided was too short to determine the correct NVDRS_APPLICATION
NVAPI_DEFAULT_STEREO_PROFILE_IS_NOT_DEFINED =
-183, //!< Default stereo profile is not currently defined
NVAPI_DEFAULT_STEREO_PROFILE_DOES_NOT_EXIST = -184, //!< Default stereo profile does not exist NVAPI_DEFAULT_STEREO_PROFILE_DOES_NOT_EXIST = -184, //!< Default stereo profile does not exist
NVAPI_CLUSTER_ALREADY_EXISTS = -185, //!< A cluster is already defined with the given configuration. NVAPI_CLUSTER_ALREADY_EXISTS =
NVAPI_DPMST_DISPLAY_ID_EXPECTED = -186, //!< The input display id is not that of a multi stream enabled connector or a display device in a multi stream topology -185, //!< A cluster is already defined with the given configuration.
NVAPI_INVALID_DISPLAY_ID = -187, //!< The input display id is not valid or the monitor associated to it does not support the current operation NVAPI_DPMST_DISPLAY_ID_EXPECTED =
NVAPI_STREAM_IS_OUT_OF_SYNC = -188, //!< While playing secure audio stream, stream goes out of sync -186, //!< The input display id is not that of a multi stream enabled connector or a display
//!< device in a multi stream topology
NVAPI_INVALID_DISPLAY_ID = -187, //!< The input display id is not valid or the monitor
//!< associated to it does not support the current operation
NVAPI_STREAM_IS_OUT_OF_SYNC =
-188, //!< While playing secure audio stream, stream goes out of sync
NVAPI_INCOMPATIBLE_AUDIO_DRIVER = -189, //!< Older audio driver version than required NVAPI_INCOMPATIBLE_AUDIO_DRIVER = -189, //!< Older audio driver version than required
NVAPI_VALUE_ALREADY_SET = -190, //!< Value already set, setting again not allowed. NVAPI_VALUE_ALREADY_SET = -190, //!< Value already set, setting again not allowed.
NVAPI_TIMEOUT = -191, //!< Requested operation timed out NVAPI_TIMEOUT = -191, //!< Requested operation timed out
NVAPI_GPU_WORKSTATION_FEATURE_INCOMPLETE = -192, //!< The requested workstation feature set has incomplete driver internal allocation resources NVAPI_GPU_WORKSTATION_FEATURE_INCOMPLETE =
NVAPI_STEREO_INIT_ACTIVATION_NOT_DONE = -193, //!< Call failed because InitActivation was not called. -192, //!< The requested workstation feature set has incomplete driver internal allocation
NVAPI_SYNC_NOT_ACTIVE = -194, //!< The requested action cannot be performed without Sync being enabled. //!< resources
NVAPI_SYNC_MASTER_NOT_FOUND = -195, //!< The requested action cannot be performed without Sync Master being enabled. NVAPI_STEREO_INIT_ACTIVATION_NOT_DONE =
NVAPI_INVALID_SYNC_TOPOLOGY = -196, //!< Invalid displays passed in the NV_GSYNC_DISPLAY pointer. -193, //!< Call failed because InitActivation was not called.
NVAPI_ECID_SIGN_ALGO_UNSUPPORTED = -197, //!< The specified signing algorithm is not supported. Either an incorrect value was entered or the current installed driver/hardware does not support the input value. NVAPI_SYNC_NOT_ACTIVE =
NVAPI_ECID_KEY_VERIFICATION_FAILED = -198, //!< The encrypted public key verification has failed. -194, //!< The requested action cannot be performed without Sync being enabled.
NVAPI_SYNC_MASTER_NOT_FOUND =
-195, //!< The requested action cannot be performed without Sync Master being enabled.
NVAPI_INVALID_SYNC_TOPOLOGY =
-196, //!< Invalid displays passed in the NV_GSYNC_DISPLAY pointer.
NVAPI_ECID_SIGN_ALGO_UNSUPPORTED =
-197, //!< The specified signing algorithm is not supported. Either an incorrect value was
//!< entered or the current installed driver/hardware does not support the input
//!< value.
NVAPI_ECID_KEY_VERIFICATION_FAILED =
-198, //!< The encrypted public key verification has failed.
NVAPI_FIRMWARE_OUT_OF_DATE = -199, //!< The device's firmware is out of date. NVAPI_FIRMWARE_OUT_OF_DATE = -199, //!< The device's firmware is out of date.
NVAPI_FIRMWARE_REVISION_NOT_SUPPORTED = -200, //!< The device's firmware is not supported. NVAPI_FIRMWARE_REVISION_NOT_SUPPORTED = -200, //!< The device's firmware is not supported.
NVAPI_LICENSE_CALLER_AUTHENTICATION_FAILED = -201, //!< The caller is not authorized to modify the License. NVAPI_LICENSE_CALLER_AUTHENTICATION_FAILED =
NVAPI_D3D_DEVICE_NOT_REGISTERED = -202, //!< The user tried to use a deferred context without registering the device first -201, //!< The caller is not authorized to modify the License.
NVAPI_RESOURCE_NOT_ACQUIRED = -203, //!< Head or SourceId was not reserved for the VR Display before doing the Modeset or the dedicated display. NVAPI_D3D_DEVICE_NOT_REGISTERED =
-202, //!< The user tried to use a deferred context without registering the device first
NVAPI_RESOURCE_NOT_ACQUIRED = -203, //!< Head or SourceId was not reserved for the VR Display
//!< before doing the Modeset or the dedicated display.
NVAPI_TIMING_NOT_SUPPORTED = -204, //!< Provided timing is not supported. NVAPI_TIMING_NOT_SUPPORTED = -204, //!< Provided timing is not supported.
NVAPI_HDCP_ENCRYPTION_FAILED = -205, //!< HDCP Encryption Failed for the device. Would be applicable when the device is HDCP Capable. NVAPI_HDCP_ENCRYPTION_FAILED = -205, //!< HDCP Encryption Failed for the device. Would be
//!< applicable when the device is HDCP Capable.
NVAPI_PCLK_LIMITATION_FAILED = -206, //!< Provided mode is over sink device pclk limitation. NVAPI_PCLK_LIMITATION_FAILED = -206, //!< Provided mode is over sink device pclk limitation.
NVAPI_NO_CONNECTOR_FOUND = -207, //!< No connector on GPU found. NVAPI_NO_CONNECTOR_FOUND = -207, //!< No connector on GPU found.
NVAPI_HDCP_DISABLED = -208, //!< When a non-HDCP capable HMD is connected, we would inform user by this code. NVAPI_HDCP_DISABLED =
-208, //!< When a non-HDCP capable HMD is connected, we would inform user by this code.
NVAPI_API_IN_USE = -209, //!< Atleast an API is still being called NVAPI_API_IN_USE = -209, //!< Atleast an API is still being called
NVAPI_NVIDIA_DISPLAY_NOT_FOUND = -210, //!< No display found on Nvidia GPU(s). NVAPI_NVIDIA_DISPLAY_NOT_FOUND = -210, //!< No display found on Nvidia GPU(s).
NVAPI_PRIV_SEC_VIOLATION = -211, //!< Priv security violation, improper access to a secured register. NVAPI_PRIV_SEC_VIOLATION =
-211, //!< Priv security violation, improper access to a secured register.
NVAPI_INCORRECT_VENDOR = -212, //!< NVAPI cannot be called by this vendor NVAPI_INCORRECT_VENDOR = -212, //!< NVAPI cannot be called by this vendor
NVAPI_DISPLAY_IN_USE = -213, //!< DirectMode Display is already in use NVAPI_DISPLAY_IN_USE = -213, //!< DirectMode Display is already in use
NVAPI_UNSUPPORTED_CONFIG_NON_HDCP_HMD = -214, //!< The Config is having Non-NVidia GPU with Non-HDCP HMD connected NVAPI_UNSUPPORTED_CONFIG_NON_HDCP_HMD =
-214, //!< The Config is having Non-NVidia GPU with Non-HDCP HMD connected
NVAPI_MAX_DISPLAY_LIMIT_REACHED = -215, //!< GPU's Max Display Limit has Reached NVAPI_MAX_DISPLAY_LIMIT_REACHED = -215, //!< GPU's Max Display Limit has Reached
NVAPI_INVALID_DIRECT_MODE_DISPLAY = -216, //!< DirectMode not Enabled on the Display NVAPI_INVALID_DIRECT_MODE_DISPLAY = -216, //!< DirectMode not Enabled on the Display
NVAPI_GPU_IN_DEBUG_MODE = -217, //!< GPU is in debug mode, OC is NOT allowed. NVAPI_GPU_IN_DEBUG_MODE = -217, //!< GPU is in debug mode, OC is NOT allowed.
NVAPI_D3D_CONTEXT_NOT_FOUND = -218, //!< No NvAPI context was found for this D3D object NVAPI_D3D_CONTEXT_NOT_FOUND = -218, //!< No NvAPI context was found for this D3D object
NVAPI_STEREO_VERSION_MISMATCH = -219, //!< there is version mismatch between stereo driver and dx driver NVAPI_STEREO_VERSION_MISMATCH =
-219, //!< there is version mismatch between stereo driver and dx driver
NVAPI_GPU_NOT_POWERED = -220, //!< GPU is not powered and so the request cannot be completed. NVAPI_GPU_NOT_POWERED = -220, //!< GPU is not powered and so the request cannot be completed.
NVAPI_ERROR_DRIVER_RELOAD_IN_PROGRESS = -221, //!< The display driver update in progress. NVAPI_ERROR_DRIVER_RELOAD_IN_PROGRESS = -221, //!< The display driver update in progress.
NVAPI_WAIT_FOR_HW_RESOURCE = -222, //!< Wait for HW resources allocation NVAPI_WAIT_FOR_HW_RESOURCE = -222, //!< Wait for HW resources allocation
@ -152,33 +219,43 @@ enum NvAPI_Status {
NVAPI_INVALID_DSC_VERSION = -225, //!< Invalid DSC version NVAPI_INVALID_DSC_VERSION = -225, //!< Invalid DSC version
NVAPI_INVALID_DSC_SLICECOUNT = -226, //!< Invalid DSC slice count NVAPI_INVALID_DSC_SLICECOUNT = -226, //!< Invalid DSC slice count
NVAPI_INVALID_DSC_OUTPUT_BPP = -227, //!< Invalid DSC output BPP NVAPI_INVALID_DSC_OUTPUT_BPP = -227, //!< Invalid DSC output BPP
NVAPI_FAILED_TO_LOAD_FROM_DRIVER_STORE = -228, //!< There was an error while loading nvapi.dll from the driver store. NVAPI_FAILED_TO_LOAD_FROM_DRIVER_STORE =
-228, //!< There was an error while loading nvapi.dll from the driver store.
NVAPI_NO_VULKAN = -229, //!< OpenGL does not export Vulkan fake extensions NVAPI_NO_VULKAN = -229, //!< OpenGL does not export Vulkan fake extensions
NVAPI_REQUEST_PENDING = -230, //!< A request for NvTOPPs telemetry CData has already been made and is pending a response. NVAPI_REQUEST_PENDING = -230, //!< A request for NvTOPPs telemetry CData has already been made
//!< and is pending a response.
NVAPI_RESOURCE_IN_USE = -231, //!< Operation cannot be performed because the resource is in use. NVAPI_RESOURCE_IN_USE = -231, //!< Operation cannot be performed because the resource is in use.
NVAPI_INVALID_IMAGE = -232, //!< Device kernel image is invalid NVAPI_INVALID_IMAGE = -232, //!< Device kernel image is invalid
NVAPI_INVALID_PTX = -233, //!< PTX JIT compilation failed NVAPI_INVALID_PTX = -233, //!< PTX JIT compilation failed
NVAPI_NVLINK_UNCORRECTABLE = -234, //!< Uncorrectable NVLink error was detected during the execution NVAPI_NVLINK_UNCORRECTABLE =
-234, //!< Uncorrectable NVLink error was detected during the execution
NVAPI_JIT_COMPILER_NOT_FOUND = -235, //!< PTX JIT compiler library was not found. NVAPI_JIT_COMPILER_NOT_FOUND = -235, //!< PTX JIT compiler library was not found.
NVAPI_INVALID_SOURCE = -236, //!< Device kernel source is invalid. NVAPI_INVALID_SOURCE = -236, //!< Device kernel source is invalid.
NVAPI_ILLEGAL_INSTRUCTION = -237, //!< While executing a kernel, the device encountered an illegal instruction. NVAPI_ILLEGAL_INSTRUCTION =
NVAPI_INVALID_PC = -238, //!< While executing a kernel, the device program counter wrapped its address space -237, //!< While executing a kernel, the device encountered an illegal instruction.
NVAPI_INVALID_PC =
-238, //!< While executing a kernel, the device program counter wrapped its address space
NVAPI_LAUNCH_FAILED = -239, //!< An exception occurred on the device while executing a kernel NVAPI_LAUNCH_FAILED = -239, //!< An exception occurred on the device while executing a kernel
NVAPI_NOT_PERMITTED = -240, //!< Attempted operation is not permitted. NVAPI_NOT_PERMITTED = -240, //!< Attempted operation is not permitted.
NVAPI_CALLBACK_ALREADY_REGISTERED = -241, //!< The callback function has already been registered. NVAPI_CALLBACK_ALREADY_REGISTERED =
-241, //!< The callback function has already been registered.
NVAPI_CALLBACK_NOT_FOUND = -242, //!< The callback function is not found or not registered. NVAPI_CALLBACK_NOT_FOUND = -242, //!< The callback function is not found or not registered.
NVAPI_INVALID_OUTPUT_WIRE_FORMAT = -243, //!< Invalid Wire Format for the VR HMD NVAPI_INVALID_OUTPUT_WIRE_FORMAT = -243, //!< Invalid Wire Format for the VR HMD
}; };
enum NV_StereoRegistryProfileType { enum NV_StereoRegistryProfileType {
NVAPI_STEREO_DEFAULT_REGISTRY_PROFILE, //!< Default registry configuration profile. NVAPI_STEREO_DEFAULT_REGISTRY_PROFILE, //!< Default registry configuration profile.
NVAPI_STEREO_DX9_REGISTRY_PROFILE, //!< Separate registry configuration profile for a DirectX 9 executable. NVAPI_STEREO_DX9_REGISTRY_PROFILE, //!< Separate registry configuration profile for a DirectX 9
NVAPI_STEREO_DX10_REGISTRY_PROFILE //!< Separate registry configuration profile for a DirectX 10 executable. //!< executable.
NVAPI_STEREO_DX10_REGISTRY_PROFILE //!< Separate registry configuration profile for a DirectX 10
//!< executable.
}; };
struct NvAPI_InterfaceTable { struct NvAPI_InterfaceTable {
uintptr_t func; void* func;
uint32_t id; uint32_t id;
}; };
typedef void* StereoHandle;
#endif #endif

View file

@ -6,5 +6,6 @@
#include "storm/array.h" #include "storm/array.h"
STORM_TS_GROWABLE_ARRAY(uint32_t); STORM_TS_GROWABLE_ARRAY(uint32_t);
STORM_TS_FIXED_ARRAY(uint32_t);
#endif #endif

View file

@ -11,9 +11,13 @@ DECLARE_STRUCT(PROCESSING);
#include "storm/list.h" #include "storm/list.h"
// Callback types // Callback types
typedef int32_t (*CMDEXTRACALLBACK)(const char*); typedef int32_t (*CMDEXTRACALLBACK_interface)(const char*);
typedef int32_t (*CMDERRORCALLBACK)(CMDERROR*); typedef int32_t (*CMDERRORCALLBACK_interface)(CMDERROR*);
typedef int32_t (*CMDPARAMSCALLBACK)(CMDPARAMS*, const char*); typedef int32_t (*CMDPARAMSCALLBACK_interface)(CMDPARAMS*, const char*);
typedef CMDEXTRACALLBACK_interface CMDEXTRACALLBACK;
typedef CMDERRORCALLBACK_interface CMDERRORCALLBACK;
typedef CMDPARAMSCALLBACK_interface CMDPARAMSCALLBACK;
// Details a command line argument // Details a command line argument
// class ARGLIST // class ARGLIST

View file

@ -0,0 +1,30 @@
#ifndef XML_XML_H
#define XML_XML_H
DECLARE_STRUCT(XMLNode);
DECLARE_STRUCT(XMLAttribute);
#include "common/rcstring.h"
#include "storm/array.h"
struct XMLAttribute {
// Member variables
RCString m_name;
RCString m_value;
};
STORM_TS_GROWABLE_ARRAY(XMLAttribute);
struct XMLNode {
// Member variables
void* m_userData;
XMLNode* m_parent;
XMLNode* m_child;
RCString m_name;
char* m_body;
uint32_t m_bodyLen;
TSGrowableArray_XMLAttribute m_attributes;
uint32_t m_offset;
XMLNode* m_next;
};
#endif

View file

@ -41,13 +41,13 @@ Blizzard__Memory__Free 00428480 f end=004284A4
Blizzard__String__FindFilename 00428500 f end=00428538 type="char* __stdcall func(char* str)" Blizzard__String__FindFilename 00428500 f end=00428538 type="char* __stdcall func(char* str)"
Blizzard__String__FindExtension 00428600 f end=00428613 Blizzard__String__FindExtension 00428600 f end=00428613
Blizzard__String__FirstPathSeparator 00428640 f end=00428668 Blizzard__String__FirstPathSeparator 00428640 f end=00428668
Blizzard__String__Copy 00428670 f end=004286BB type="int32_t __stdcall func(char* dst, const char* src, int32_t count)" Blizzard__String__Copy 00428670 f end=004286BB type="int32_t __stdcall func(char* dst, char* src, int32_t count)"
Blizzard__String__Append 004286C0 f end=00428721 type="int32_t __stdcall func(char* dst, char* src, int32_t count)" Blizzard__String__Append 004286C0 f end=00428721 type="int32_t __stdcall func(char* dst, char* src, int32_t count)"
Blizzard__String__EqualI 00428780 f end=004287A8 Blizzard__String__EqualI 00428780 f end=004287A8
Blizzard__String__Length 004287E0 f end=004287FD Blizzard__String__Length 004287E0 f end=004287FD
Blizzard__String__MemFill 00428920 f end=0042893A Blizzard__String__MemFill 00428920 f end=0042893A
Blizzard__Unicode__ConvertUTF16to8 00428940 f end=00428AFC type="int32_t __stdcall func(uint8_t* dst, uint32_t dstmaxchars, const uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)" Blizzard__Unicode__ConvertUTF16to8 00428940 f end=00428AFC type="int32_t __stdcall func(uint8_t* dst, uint32_t dstmaxchars, uint16_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Unicode__ConvertUTF8to16 00428B00 f end=00428C94 type="int32_t __stdcall func(uint16_t* dst, uint32_t dstmaxchars, const uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)" Blizzard__Unicode__ConvertUTF8to16 00428B00 f end=00428C94 type="int32_t __stdcall func(uint16_t* dst, uint32_t dstmaxchars, uint8_t* src, uint32_t srcmaxchars, uint32_t* dstchars, uint32_t* srcchars)"
Blizzard__Time__FromFileTime 00428F00 f end=00428F56 type="Blizzard__Time__Timestamp __stdcall func(uint64_t fileTime)" Blizzard__Time__FromFileTime 00428F00 f end=00428F56 type="Blizzard__Time__Timestamp __stdcall func(uint64_t fileTime)"
Blizzard__String__QuickFormat_1024__constructor 00429790 f end=004297C5 type="Blizzard__String__QuickFormat_1024* __stdcall func(Blizzard__String__QuickFormat_1024* this, char* format, ...)" ; Compiler magic converted this OOP constructor into a variadic __stdcall\nBlizzard::String::QuickFormat<1024>::QuickFormat() Blizzard__String__QuickFormat_1024__constructor 00429790 f end=004297C5 type="Blizzard__String__QuickFormat_1024* __stdcall func(Blizzard__String__QuickFormat_1024* this, char* format, ...)" ; Compiler magic converted this OOP constructor into a variadic __stdcall\nBlizzard::String::QuickFormat<1024>::QuickFormat()
Blizzard__String__MakeUnivPath 0042A9B0 f end=0042A9FB type="void __stdcall func(char* src, char* dst, int32_t count)" Blizzard__String__MakeUnivPath 0042A9B0 f end=0042A9FB type="void __stdcall func(char* src, char* dst, int32_t count)"
@ -70,7 +70,7 @@ Blizzard__Debug__AddErrorToStack 00432210 f end=004324D3 type="Blizzard__Debug__
System_File__GetRootChars 004325C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)" System_File__GetRootChars 004325C0 f type="int32_t __stdcall func(Blizzard__File__Filesystem* fs, System_File__Stacked__FileParms* parms)"
Blizzard__Streaming__Manifests__TimeslotItem__HandleTag 00432720 f end=004327CA Blizzard__Streaming__Manifests__TimeslotItem__HandleTag 00432720 f end=004327CA
Blizzard__String__JoinPath 00433510 f end=0043356B type="void __stdcall func(char* a1, int32_t a2, char* a3, char* a4)" ; Blizzard::String::JoinPath(char*, int, char const*, char const*) Blizzard__String__JoinPath 00433510 f end=0043356B type="void __stdcall func(char* a1, int32_t a2, char* a3, char* a4)" ; Blizzard::String::JoinPath(char*, int, char const*, char const*)
System_File__FromNativeName 00433590 f end=00433650 type="void __stdcall func(uint8_t *buffer, uint32_t buffersize, const char *str)" System_File__FromNativeName 00433590 f end=00433650 type="void __stdcall func(uint8_t* buffer, uint32_t buffersize, char* str)"
Blizzard__StringConversion_CodepageToUTF8__ToNative__constructor 00433650 f end=0043375A type="void __thiscall func(Blizzard__StringConversion_CodepageToUTF8__ToNative* this, char* str)" ; Blizzard::StringConversion_CodepageToUTF8::ToNative::ToNative(const char*) Blizzard__StringConversion_CodepageToUTF8__ToNative__constructor 00433650 f end=0043375A type="void __thiscall func(Blizzard__StringConversion_CodepageToUTF8__ToNative* this, char* str)" ; Blizzard::StringConversion_CodepageToUTF8::ToNative::ToNative(const char*)
System_Thread__AllocateLocalStorage 00433760 f end=004337B7 type="bool __stdcall func(Blizzard__Thread__TLSSlot* slot, Blizzard__Thread__TLSDestructor destructorFn)" System_Thread__AllocateLocalStorage 00433760 f end=004337B7 type="bool __stdcall func(Blizzard__Thread__TLSSlot* slot, Blizzard__Thread__TLSDestructor destructorFn)"
Blizzard__Using__DependsOn 00433870 f end=004338E6 type="void __stdcall func(char* me, char* dependsOn)" Blizzard__Using__DependsOn 00433870 f end=004338E6 type="void __stdcall func(char* me, char* dependsOn)"

View file

@ -16,7 +16,7 @@ CCommand_TimingInfo 004032A0 f end=004032FF
ClientIdle 00403340 f end=00403362 ClientIdle 00403340 f end=00403362
ClientSetTimer 00403370 f end=00403379 ClientSetTimer 00403370 f end=00403379
ClientSetTimer 00403380 f end=004033A1 ClientSetTimer 00403380 f end=004033A1
ClientKillTimer 004033B0 f end=004033B9 type="void __stdcall ClientKillTimer(uint32_t timerId, void* handlerAddress, char* handlerName)" ClientKillTimer 004033B0 f end=004033B9 type="void __stdcall func(uint32_t timerId, void* handlerAddress, char* handlerName)"
ClientPostClose 004033C0 f end=004033D1 ClientPostClose 004033C0 f end=004033D1
StartupStreaming 00403600 f end=004036A4 type="void __stdcall func(char* manifest@<eax>)" StartupStreaming 00403600 f end=004036A4 type="void __stdcall func(char* manifest@<eax>)"
StartupReport 004036B0 f end=0040371B StartupReport 004036B0 f end=0040371B

View file

@ -73,7 +73,7 @@ AddLineToExecFile 0076B2A0 f end=0076B3A9
ConsoleDetectSetDefaults 0076B3F0 f type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; void SetDefaults(DefaultSettings&, const Hardware&) ConsoleDetectSetDefaults 0076B3F0 f type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; void SetDefaults(DefaultSettings&, const Hardware&)
ConsoleDetectSetDefaultsFormat 0076B520 f end=0076B53D type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; ConsoleDetectSetDefaultsFormat(DefaultSettings&, const Hardware&) ConsoleDetectSetDefaultsFormat 0076B520 f end=0076B53D type="void __stdcall func(DefaultSettings* defaults, Hardware* hardware)" ; ConsoleDetectSetDefaultsFormat(DefaultSettings&, const Hardware&)
SetVideoIdx 0076B540 f end=0076B594 type="void __stdcall func(Hardware* hardware@<edi>)" SetVideoIdx 0076B540 f end=0076B594 type="void __stdcall func(Hardware* hardware@<edi>)"
PrintStartupError 0076B5A0 f end=0076B616 type="void __usercall __noreturn func(int32_t messageID, const char* fallbackMessage)" PrintStartupError 0076B5A0 f end=0076B616 type="void __usercall __noreturn func(int32_t messageID, char* fallbackMessage)"
ConsoleDetectSaveHardware 0076B620 f end=0076B7DB ConsoleDetectSaveHardware 0076B620 f end=0076B7DB
ConsoleDetectDetectHardware 0076BA30 f end=0076BBE9 type="void __stdcall func(Hardware* hardware, bool* hwChanged)" ; ConsoleDetectDetectHardware(Hardware&, bool&) ConsoleDetectDetectHardware 0076BA30 f end=0076BBE9 type="void __stdcall func(Hardware* hardware, bool* hwChanged)" ; ConsoleDetectDetectHardware(Hardware&, bool&)
CConsole__PrintError 00772A80 f end=00772A99 CConsole__PrintError 00772A80 f end=00772A99

View file

@ -19,7 +19,7 @@ CVar__LookupRegistered 00767460 f end=00767488
CvarCommandHandler 00767680 f end=0076783A CvarCommandHandler 00767680 f end=0076783A
CVar__Reset 00767840 f end=007678F0 CVar__Reset 00767840 f end=007678F0
CVar__Default 007678F0 f end=007679A0 CVar__Default 007678F0 f end=007679A0
CVar__Register 00767FC0 f end=007681E9 type="CVar* __stdcall func(char* name, char* help, uint32_t flags, const char* value, void* fcn, uint32_t category, bool a7, void* arg, bool a9)" CVar__Register 00767FC0 f end=007681E9 type="CVar* __stdcall func(char* name, char* help, uint32_t flags, char* value, void* fcn, uint32_t category, bool a7, void* arg, bool a9)"
CVar__Initialize 00768340 f end=00768402 type="void __stdcall func(char* filename)" CVar__Initialize 00768340 f end=00768402 type="void __stdcall func(char* filename)"
CVGxColorBitsCallback 00769240 f end=007692CF type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)" CVGxColorBitsCallback 00769240 f end=007692CF type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"
CVGxDepthBitsCallback 007692D0 f end=0076935F type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)" CVGxDepthBitsCallback 007692D0 f end=0076935F type="bool __stdcall func(CVar* h, char* oldValue, char* newValue, void* arg)"

View file

@ -3,7 +3,7 @@ CGxDevice__CapsAspectRatio 0050F7C0 f end=0050F824
CGxDevice__Caps 00532AF0 f end=00532AF7 type="CGxCaps* __thiscall func(CGxDevice* this)" ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const CGxDevice__Caps 00532AF0 f end=00532AF7 type="CGxCaps* __thiscall func(CGxDevice* this)" ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const
GxTexSetWrap 00681450 f end=0068146C GxTexSetWrap 00681450 f end=0068146C
CGxDevice__InitLights 00682C50 f end=00682CA8 type="void __thiscall func(CGxDevice* this)" CGxDevice__InitLights 00682C50 f end=00682CA8 type="void __thiscall func(CGxDevice* this)"
CGxDevice__DeviceCreate 00682CB0 f end=00682CCB type="void __thiscall func(CGxDevice* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)" CGxDevice__DeviceCreate 00682CB0 f end=00682CCB type="void __thiscall func(CGxDevice* this, GxWindowProc windowProc, CGxFormat* format)"
CGxDevice__DeviceCreate 00682CD0 f end=00682CF0 type="void __thiscall func(CGxDevice* this, uintptr_t hwnd, CGxFormat* format)" CGxDevice__DeviceCreate 00682CD0 f end=00682CF0 type="void __thiscall func(CGxDevice* this, uintptr_t hwnd, CGxFormat* format)"
CGxDevice__DeviceDestroy 00682CF0 f end=00682CFB type="void __thiscall func(CGxDevice* this)" CGxDevice__DeviceDestroy 00682CF0 f end=00682CFB type="void __thiscall func(CGxDevice* this)"
CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 type="void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)" CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10 type="void __thiscall func(CGxDevice* this, uint32_t baseMipLevel)"
@ -86,7 +86,7 @@ CGxDevice__IRsDirty 00685970 f end=006859DB type="void __thiscall func(CGxDevice
CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 type="void __thiscall func(CGxDevice* this, EGxRenderState which)" ; CGxDevice::IRsForceUpdate(EGxRenderState) CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 type="void __thiscall func(CGxDevice* this, EGxRenderState which)" ; CGxDevice::IRsForceUpdate(EGxRenderState)
CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E type="void __thiscall func(CGxDevice* this)" ; CGxDevice::IRsForceUpdate() CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E type="void __thiscall func(CGxDevice* this)" ; CGxDevice::IRsForceUpdate()
CGxDevice__IRsSync 00685B50 f end=00685BFE type="void __thiscall func(CGxDevice* this, int32_t force)" CGxDevice__IRsSync 00685B50 f end=00685BFE type="void __thiscall func(CGxDevice* this, int32_t force)"
CGxDevice__TexCreate 00685C60 f end=00685CCB type="void __thiscall func(CGxDevice* this, EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, void (*userFunc)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t*, void**), char* name, CGxTex** texId)" CGxDevice__TexCreate 00685C60 f end=00685CCB type="void __thiscall func(CGxDevice* this, EGxTexTarget target, uint32_t width, uint32_t height, uint32_t depth, EGxTexFormat format, EGxTexFormat dataFormat, CGxTexFlags flags, void* userArg, GxTexCallback userFunc, char* name, CGxTex** texId)"
CGxDevice__TexSetWrap 00685D40 f end=00685DBF CGxDevice__TexSetWrap 00685D40 f end=00685DBF
CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 type="void __thiscall func(CGxDevice* this, EGxMasterEnables state, int32_t enable)" CGxDevice__MasterEnableSet 00685EB0 f end=00685F33 type="void __thiscall func(CGxDevice* this, EGxMasterEnables state, int32_t enable)"
CGxDevice__RsSet_pointer_to_void 00685F50 f end=00685FB0 type="void __thiscall func(CGxDevice* this, EGxRenderState which, void* value)" CGxDevice__RsSet_pointer_to_void 00685F50 f end=00685FB0 type="void __thiscall func(CGxDevice* this, EGxRenderState which, void* value)"
@ -109,7 +109,7 @@ CGxDevice__XformSetView 00689050 f end=006890C0 type="void __thiscall func(CGxDe
CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevice* this)" CGxDevice__destructor 006890C0 f end=00689460 type="void __thiscall func(CGxDevice* this)"
CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice* this, uint8_t __flags)" CGxDevice__scalar_deleting_destructor 00689690 f end=006896BB type="void __thiscall func(CGxDevice* this, uint8_t __flags)"
CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)" CGxDevice__ShaderCreate 006897C0 f end=00689A49 type="void __thiscall func(CGxDevice* this, CGxShader**, EGxShTarget, char*, char*, int32_t)"
HToI 00689B90 f end=00689C02 type="__int16 __usercall func@<ax>(char* h@<eax>, int count)" HToI 00689B90 f end=00689C02 type="int16_t __usercall func@<ax>(char* h@<eax>, int count)"
CGxDevice__AdapterID 00689C10 f end=00689DA2 CGxDevice__AdapterID 00689C10 f end=00689DA2
CGxDevice__AdapterInfer 00689DB0 f end=00689E7B CGxDevice__AdapterInfer 00689DB0 f end=00689E7B
CGxDevice__FindDisplayDevice 00689EA0 f end=00689EF0 type="int32_t __stdcall func(PDISPLAY_DEVICEA device, uint32_t flag)" ; UC CGxDevice__FindDisplayDevice 00689EA0 f end=00689EF0 type="int32_t __stdcall func(PDISPLAY_DEVICEA device, uint32_t flag)" ; UC

View file

@ -29,7 +29,7 @@ CGxDeviceD3d__IBufUnlock 0068FA60 f end=0068FADC type="int32_t __thiscall func(C
CGxDeviceD3d__BufUnlock 0068FAE0 f end=0068FB07 type="int32_t __thiscall func(CGxDeviceD3d* this, CGxBuf* buf, uint32_t size)" CGxDeviceD3d__BufUnlock 0068FAE0 f end=0068FB07 type="int32_t __thiscall func(CGxDeviceD3d* this, CGxBuf* buf, uint32_t size)"
CGxDeviceD3d__IBufLock 0068FB10 f end=0068FCDC type="uint8_t* __thiscall func(CGxDeviceD3d* this, CGxBuf* buf)" CGxDeviceD3d__IBufLock 0068FB10 f end=0068FCDC type="uint8_t* __thiscall func(CGxDeviceD3d* this, CGxBuf* buf)"
CGxDeviceD3d__BufLock 0068FCE0 f end=0068FCFE type="char* __thiscall func(CGxDeviceD3d* this, CGxBuf* buf)" CGxDeviceD3d__BufLock 0068FCE0 f end=0068FCFE type="char* __thiscall func(CGxDeviceD3d* this, CGxBuf* buf)"
CGxDeviceD3d__BufData 0068FD00 f end=0068FD49 type="void __thiscall func(CGxDeviceD3d* this, CGxBuf* buf, const void* data, uint32_t size, uint32_t offset)" CGxDeviceD3d__BufData 0068FD00 f end=0068FD49 type="void __thiscall func(CGxDeviceD3d* this, CGxBuf* buf, void* data, uint32_t size, uint32_t offset)"
CGxDeviceD3d__constructor 0068FD50 f end=0068FE80 type="void __thiscall func(CGxDeviceD3d* this)" CGxDeviceD3d__constructor 0068FD50 f end=0068FE80 type="void __thiscall func(CGxDeviceD3d* this)"
CGxDeviceD3d__scalar_deleting_destructor 0068FE80 f end=0068FEC8 type="void __thiscall func(CGxDeviceD3d* this, uint8_t __flags)" CGxDeviceD3d__scalar_deleting_destructor 0068FE80 f end=0068FEC8 type="void __thiscall func(CGxDeviceD3d* this, uint8_t __flags)"
CGxDeviceD3d__DeviceReadPixels 0068FED0 f end=00690144 type="void __thiscall func(CGxDeviceD3d* this, CiRect* rect, TSGrowableArray_CImVector* pixels)" CGxDeviceD3d__DeviceReadPixels 0068FED0 f end=00690144 type="void __thiscall func(CGxDeviceD3d* this, CiRect* rect, TSGrowableArray_CImVector* pixels)"
@ -39,7 +39,7 @@ CGxDeviceD3d__IDestroyD3d 006903B0 f end=006904C4
CGxDeviceD3d__DeviceSetFormat 006904D0 f end=006905E8 type="int32_t __thiscall func(CGxDeviceD3d* this, CGxFormat* format)" CGxDeviceD3d__DeviceSetFormat 006904D0 f end=006905E8 type="int32_t __thiscall func(CGxDeviceD3d* this, CGxFormat* format)"
CGxDeviceD3d__DeviceDestroy 006905F0 f end=00690679 type="void __thiscall func(CGxDeviceD3d* this)" CGxDeviceD3d__DeviceDestroy 006905F0 f end=00690679 type="void __thiscall func(CGxDeviceD3d* this)"
CGxDeviceD3d__ICreateD3d 00690680 f end=00690742 type="int32_t __thiscall func(CGxDeviceD3d* this)" CGxDeviceD3d__ICreateD3d 00690680 f end=00690742 type="int32_t __thiscall func(CGxDeviceD3d* this)"
CGxDeviceD3d__DeviceCreate 00690750 f end=00690821 type="int32_t __thiscall func(CGxDeviceD3d* this, int32_t (*windowProc)(void*, uint32_t, uintptr_t, intptr_t), CGxFormat* format)" CGxDeviceD3d__DeviceCreate 00690750 f end=00690821 type="int32_t __thiscall func(CGxDeviceD3d* this, GxWindowProc windowProc, CGxFormat* format)"
CGxDeviceD3d__DeviceCreate 00690830 f end=00690897 type="int32_t __thiscall func(CGxDeviceD3d* this, void* hwnd, CGxFormat* format)" CGxDeviceD3d__DeviceCreate 00690830 f end=00690897 type="int32_t __thiscall func(CGxDeviceD3d* this, void* hwnd, CGxFormat* format)"
CGxDeviceD3d__Sub69FAA0 0069FAA0 f end=0069FAFE type="int32_t __thiscall func(CGxDeviceD3d* this, D3DFORMAT format)" CGxDeviceD3d__Sub69FAA0 0069FAA0 f end=0069FAFE type="int32_t __thiscall func(CGxDeviceD3d* this, D3DFORMAT format)"
CGxDeviceD3d__ICreateD3dVB 0069FB00 f end=0069FB68 type="LPDIRECT3DVERTEXBUFFER9 __thiscall func(EGxPoolUsage usage, uint32_t size)" CGxDeviceD3d__ICreateD3dVB 0069FB00 f end=0069FB68 type="LPDIRECT3DVERTEXBUFFER9 __thiscall func(EGxPoolUsage usage, uint32_t size)"
@ -97,7 +97,7 @@ CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25 type="void __thiscall func(
CGxDeviceD3d__IXformSetWorld 006A5A30 f end=006A5A92 type="void __thiscall func(CGxDeviceD3d* this)" CGxDeviceD3d__IXformSetWorld 006A5A30 f end=006A5A92 type="void __thiscall func(CGxDeviceD3d* this)"
CGxDeviceD3d__IXformSetTex 006A5AA0 f end=006A5C65 type="void __thiscall func(CGxDeviceD3d* this, uint32_t tmu)" CGxDeviceD3d__IXformSetTex 006A5AA0 f end=006A5C65 type="void __thiscall func(CGxDeviceD3d* this, uint32_t tmu)"
CGxDeviceD3d__IBindPixelShader 006A5C70 f end=006A5D48 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* ps)" CGxDeviceD3d__IBindPixelShader 006A5C70 f end=006A5D48 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* ps)"
CGxDeviceD3d__IShaderReload 006A5D50 f end=006A5E07 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader, const char* a2, const char* a3)" CGxDeviceD3d__IShaderReload 006A5D50 f end=006A5E07 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader, char* a2, char* a3)"
CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)" CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36 type="void __thiscall func(CGxDeviceD3d* this, CGxShader* shader)"
CGxDeviceD3d__IReleaseD3dShaders 006A5E40 f end=006A5EEC type="void __thiscall func(CGxDeviceD3d* this, int32_t freeShaders)" CGxDeviceD3d__IReleaseD3dShaders 006A5E40 f end=006A5EEC type="void __thiscall func(CGxDeviceD3d* this, int32_t freeShaders)"
CGxDeviceD3d__SceneClear 006A74B0 f end=006A7538 type="void __thiscall func(CGxDeviceD3d* this, uint32_t mask, CImVector color)" CGxDeviceD3d__SceneClear 006A74B0 f end=006A7538 type="void __thiscall func(CGxDeviceD3d* this, uint32_t mask, CImVector color)"

View file

@ -1,10 +1,17 @@
luaO_fb2int 0084D3D0 f end=0084D3ED luaO_fb2int 0084D3D0 f end=0084D3ED type="int32_t __stdcall func(uint32_t x)"
luaO_log2 0084D3F0 f end=0084D418 type="int32_t __stdcall func(uint32_t x)" luaO_log2 0084D3F0 f end=0084D418 type="int32_t __stdcall func(uint32_t x)"
luaO_rawequalObj 0084D420 f end=0084D467 luaO_rawequalObj 0084D420 f end=0084D467 type="bool __stdcall func(TValue* t1, TValue* t2)"
luaO_pushvfstring 0084D580 f end=0084D7C6 luaO_pushvfstring 0084D580 f end=0084D7C6 type="char* __stdcall func(lua_State* L, char* fmt, va_list argp)"
pushstr 0084D520 f end=0084D57F type="void __usercall func(lua_State* L@<esi>, char* str@<ecx>)"
luaO_chunkid 0084D860 f end=0084D9B2 type="void __stdcall func(char* out, char* src, size_t bufflen)" luaO_chunkid 0084D860 f end=0084D9B2 type="void __stdcall func(char* out, char* src, size_t bufflen)"
index2adr 0084D9C0 f end=0084DA48 type="TValue* __usercall func@<eax>(lua_State* L@<ecx>, int32_t idx@<eax>)" index2adr 0084D9C0 f end=0084DA48 type="TValue* __usercall func@<eax>(lua_State* L@<ecx>, int32_t idx@<eax>)"
luaA_pushobject 0084DA50 f end=0084DAA8 luaV_tostring 00856EA0 f end=00856F0F type="int32_t __stdcall func(lua_State* L, StkId obj)"
luaA_pushobject 0084DA50 f end=0084DAA8 type="void __stdcall func(lua_State* L, TValue* o)"
luaG_concaterror 00850BF0 f end=00850C13 type="void __stdcall func(lua_State* L, StkId p1, StkId p2)"
luaG_typeerror 00850B60 f end=00850BEC type="void __stdcall func(lua_State* L, TValue* o, char* op)"
getobjname 008505A0 f end=008506F9 type="char* __usercall func@<eax>(lua_State* L, CallInfo* ci, int32_t stackpos@<eax>, char** name)"
symbexec 00850130 f end=0085050D type="Instruction __stdcall func(Proto* pt, int32_t lastpc, int32_t reg)"
checkArgMode 008500E0 f end=0085012C
lua_checkstack 0084DAB0 f end=0084DB06 lua_checkstack 0084DAB0 f end=0084DB06
lua_xmove 0084DB10 f end=0084DB90 lua_xmove 0084DB10 f end=0084DB90
lua_newthread 0084DB90 f end=0084DBD0 lua_newthread 0084DB90 f end=0084DBD0

View file

@ -3,3 +3,7 @@ luaO_nilobject_ 00A46F78 l type="TValue"
lua_gctag 00D413AC l type="int32_t" lua_gctag 00D413AC l type="int32_t"
dummynode_ 00A48280 l type="Node" dummynode_ 00A48280 l type="Node"
log_2 00A46F88 l type="lu_byte[256]" log_2 00A46F88 l type="lu_byte[256]"
lua_taintexpected 00D413A0 l type="int32_t"
lua_taintedclosure 00D413A4 l type="int32_t"
luaT_typenames 00A48208 l type="char*[11]"
luaP_opmodes 00A484B4 l type="lu_byte[38]"

View file

@ -1,3 +1,3 @@
NvApi__s_initialized 00B2376C l NvAPI__s_initialized 00B2376C l
result 00B23770 l type="int32_t" result 00B23770 l type="int32_t"
NvApi__s_interface_table 00B23778 l type="NvApi__InterfaceTable[253]" NvAPI__s_interface_table 00B23778 l type="NvAPI_InterfaceTable[253]"

View file

@ -41,7 +41,7 @@ OsGetExePath 0086BEA0 f end=0086BEBE
OsGuiSetWindowTitle 0086C650 f end=0086C696 OsGuiSetWindowTitle 0086C650 f end=0086C696
OsGuiGetWindow 0086C6A0 f end=0086C6CE OsGuiGetWindow 0086C6A0 f end=0086C6CE
OsGuiSetGxWindow 0086C6D0 f end=0086C6DD OsGuiSetGxWindow 0086C6D0 f end=0086C6DD
OsGuiMessageBox 0086C6E0 f end=0086C7D0 type="int32_t __stdcall func(void* parentWindow, int32_t style, const char* message, const char* title)" OsGuiMessageBox 0086C6E0 f end=0086C7D0 type="int32_t __stdcall func(void* parentWindow, int32_t style, char* message, char* title)"
OsIMEGetClauseInfo 0086CDB0 f end=0086CF84 OsIMEGetClauseInfo 0086CDB0 f end=0086CF84
OsIMEEnable 0086CF90 f end=0086CFE2 OsIMEEnable 0086CF90 f end=0086CFE2
OsIMEInitialize 0086D0A0 f end=0086D0B8 OsIMEInitialize 0086D0A0 f end=0086D0B8

View file

@ -6,7 +6,7 @@ CSimpleFontString__GetNumCharsWithinWidth 00482510 f end=004825D8
CSimpleFontString__GetNumCharsWithinWidthFromEnd 004825E0 f end=004826A8 CSimpleFontString__GetNumCharsWithinWidthFromEnd 004825E0 f end=004826A8
CSimpleFontString__AddAnimTranslation 00482720 f end=00482764 CSimpleFontString__AddAnimTranslation 00482720 f end=00482764
CSimpleFontString__SetFont 00483750 f end=0048388A CSimpleFontString__SetFont 00483750 f end=0048388A
CSimpleFontString__SetText 00483910 f end=00483A3D type="void __thiscall func(CSimpleFontString* this, char* a1, int32_t a2)" CSimpleFontString__SetText 00483910 f end=00483A3D ; type="void __thiscall func(CSimpleFontString* this, char* a1, int32_t a2)"
CSimpleFontString__GetDisplayText 00483A40 f end=00483C3C CSimpleFontString__GetDisplayText 00483A40 f end=00483C3C
CSimpleFontString__SetJustificationOffset 00483C40 f end=00483CC8 CSimpleFontString__SetJustificationOffset 00483C40 f end=00483CC8
CSimpleFontString__AddShadow 00483CD0 f end=00483DCF CSimpleFontString__AddShadow 00483CD0 f end=00483DCF

View file

@ -39,7 +39,7 @@ SSetCurrentProcessAffinityMask 0076FE00 f end=0076FE18
SCreateProcess 00770290 f end=00770397 SCreateProcess 00770290 f end=00770397
ILoadValue 007703A0 f end=00770483 type="int32_t __usercall func@<eax>(void* parentKey, char* subKeyName@<eax>, char* valuename, uint32_t* datatype, uint8_t* buffer@<ebx>, uint32_t bytes@<edi>, uint32_t* bytesread@<ecx>)" ILoadValue 007703A0 f end=00770483 type="int32_t __usercall func@<eax>(void* parentKey, char* subKeyName@<eax>, char* valuename, uint32_t* datatype, uint8_t* buffer@<ebx>, uint32_t bytes@<edi>, uint32_t* bytesread@<ecx>)"
InternalLoadEntry 00770490 f end=00770575 type="int32_t __usercall func@<eax>(char* keyname, char* valuename, uint32_t flags, uint32_t* datatype, void* buffer, uint32_t bytes, uint32_t* bytesread@<esi>)" InternalLoadEntry 00770490 f end=00770575 type="int32_t __usercall func@<eax>(char* keyname, char* valuename, uint32_t flags, uint32_t* datatype, void* buffer, uint32_t bytes, uint32_t* bytesread@<esi>)"
InternalSaveEntry 00770580 f end=00770719 type="int32_t __usercall func@<eax>(char* keyname, char* valuename, uint32_t flags@<ebx>, uint32_t datatype, const void* buffer, uint32_t bytes@<edi>)" InternalSaveEntry 00770580 f end=00770719 type="int32_t __usercall func@<eax>(char* keyname, char* valuename, uint32_t flags@<ebx>, uint32_t datatype, void* buffer, uint32_t bytes@<edi>)"
SRegLoadString 00770720 f end=0077083B SRegLoadString 00770720 f end=0077083B
SRegLoadValue 00770840 f end=007708E9 type="int32_t __stdcall func(char* keyname, char* valuename, uint32_t flags, uint32_t* value)" SRegLoadValue 00770840 f end=007708E9 type="int32_t __stdcall func(char* keyname, char* valuename, uint32_t flags, uint32_t* value)"
SRegSaveString 007708F0 f end=0077099C SRegSaveString 007708F0 f end=0077099C
@ -60,9 +60,9 @@ StormInitialize 007739E0 f end=007739F4
StormDestroy 00773A00 f end=00773A2F StormDestroy 00773A00 f end=00773A2F
StormSetOption 00773A80 f end=00773C81 type="int32_t __stdcall func(int optname, void* optval, uint32_t optlen)" StormSetOption 00773A80 f end=00773C81 type="int32_t __stdcall func(int optname, void* optval, uint32_t optlen)"
SCritSect__constructor 00774620 f end=0077462E type="SCritSect* __thiscall func(SCritSect* this)" SCritSect__constructor 00774620 f end=0077462E type="SCritSect* __thiscall func(SCritSect* this)"
SCritSect__destructor 00774630 f end=00774638 type="void __thiscall func(SCritSect *this)" SCritSect__destructor 00774630 f end=00774638 type="void __thiscall func(SCritSect* this)"
SCritSect__Enter 00774640 f end=00774648 type="void __thiscall func(SCritSect *this)" SCritSect__Enter 00774640 f end=00774648 type="void __thiscall func(SCritSect* this)"
SCritSect__Leave 00774650 f end=00774658 type="void __thiscall func(SCritSect *this)" SCritSect__Leave 00774650 f end=00774658 type="void __thiscall func(SCritSect* this)"
SSyncObject__Valid 00774680 f end=00774688 SSyncObject__Valid 00774680 f end=00774688
SSyncObject__Wait 00774690 f end=007746A4 SSyncObject__Wait 00774690 f end=007746A4
SEvent__Set 00774720 f end=0077472A SEvent__Set 00774720 f end=0077472A

View file

@ -38,7 +38,7 @@ C33Matrix__Rotation 004C5820 f end=004C5932
C33Matrix__Rotate 004C5940 f end=004C5984 C33Matrix__Rotate 004C5940 f end=004C5984
TSGrowableArray_C2Vector__SetCount 0057FDD0 f end=0057FE93 type="void __thiscall func(TSGrowableArray_C2Vector* this, uint32_t count)" TSGrowableArray_C2Vector__SetCount 0057FDD0 f end=0057FE93 type="void __thiscall func(TSGrowableArray_C2Vector* this, uint32_t count)"
TSGrowableArray_CImVector__SetCount 00616CA0 f end=00616D07 type="void __thiscall func(TSGrowableArray_CImVector* this, uint32_t count)" TSGrowableArray_CImVector__SetCount 00616CA0 f end=00616D07 type="void __thiscall func(TSGrowableArray_CImVector* this, uint32_t count)"
C44Matrix__Inverse 006A43A0 f type="C44Matrix* __thiscall func(C44Matrix *this, C44Matrix* __return_ptr result)" C44Matrix__Inverse 006A43A0 f type="C44Matrix* __thiscall func(C44Matrix* this, C44Matrix* __return_ptr result)"
CFacet__Set 007912C0 f end=00791378 CFacet__Set 007912C0 f end=00791378
C4Quaternion__Slerp 00982460 f end=0098256C ; C4Quaternion::Slerp(float, C4Quaternion const&, C4Quaternion const&) C4Quaternion__Slerp 00982460 f end=0098256C ; C4Quaternion::Slerp(float, C4Quaternion const&, C4Quaternion const&)
C4Quaternion__Nlerp 00982630 f end=0098269F ; C4Quaternion::Nlerp(float, C4Quaternion const&, C4Quaternion const&) C4Quaternion__Nlerp 00982630 f end=0098269F ; C4Quaternion::Nlerp(float, C4Quaternion const&, C4Quaternion const&)

View file

@ -22,7 +22,7 @@ TextureFreeMippedImg 004B7300 f end=004B73D9 type="void func(MipBits* image)"
LoadTgaMips 004B78A0 f end=004B7AA0 type="int32_t __usercall func@<eax>(char* ext@<eax>, char* filename, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, PIXEL_FORMAT* texFormat, int32_t* isOpaque@<ecx>, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)" LoadTgaMips 004B78A0 f end=004B7AA0 type="int32_t __usercall func@<eax>(char* ext@<eax>, char* filename, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, PIXEL_FORMAT* texFormat, int32_t* isOpaque@<ecx>, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)"
TextureInitialize 004B7F80 f end=004B7FF7 TextureInitialize 004B7F80 f end=004B7FF7
LoadBlpMips 004B8070 f end=004B81CE type="int32_t __usercall func@<eax>(char* ext@<eax>, char* filename@<ebx>, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, uint32_t* isOpaque, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)" LoadBlpMips 004B8070 f end=004B81CE type="int32_t __usercall func@<eax>(char* ext@<eax>, char* filename@<ebx>, int32_t a3, MipBits** mipBits, uint32_t* width, uint32_t* height, uint32_t* isOpaque, uint32_t* alphaBits, PIXEL_FORMAT* dataFormat)"
TextureLoadImage 004B81D0 f end=004B8385 type="MipBits* func(const char* filename, uint32_t* width, uint32_t* height, PIXEL_FORMAT* dataFormat, int32_t* isOpaque, CStatus* status, uint32_t* alphaBits, int32_t a8)" TextureLoadImage 004B81D0 f end=004B8385 type="MipBits* __stdcall func(char* filename, uint32_t* width, uint32_t* height, PIXEL_FORMAT* dataFormat, int32_t* isOpaque, CStatus* status, uint32_t* alphaBits, int32_t a8)"
TextureCreate 004B8C80 f end=004B8D6A TextureCreate 004B8C80 f end=004B8D6A
TextureCreate 004B9200 f end=004B9235 TextureCreate 004B9200 f end=004B9235
TextureCreateSolid 004B9550 f end=004B95B0 TextureCreateSolid 004B9550 f end=004B95B0
@ -67,7 +67,7 @@ CBLPFile__DecompPalARGB565DitherFloydSteinberg 006AF140 f end=006AF33F type="voi
CBLPFile__DecompPalARGB2565DitherFloydSteinberg 006AF340 f end=006AF65D type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)" CBLPFile__DecompPalARGB2565DitherFloydSteinberg 006AF340 f end=006AF65D type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)"
CBLPFile__Pixels 006AF6A0 f end=006AF6D1 type="uint32_t __thiscall func(CBLPFile* this, uint32_t mipLevel)" CBLPFile__Pixels 006AF6A0 f end=006AF6D1 type="uint32_t __thiscall func(CBLPFile* this, uint32_t mipLevel)"
CBLPFile__Unlock 006AF6E0 f end=006AF728 CBLPFile__Unlock 006AF6E0 f end=006AF728
CBLPFile__GetFormatSize 006AF730 f end=006AF7E9 type="int32_t __thiscall func(CBLPFile *this, PIXEL_FORMAT format, uint32_t mipLevel, uint32_t* size, uint32_t* stride)" CBLPFile__GetFormatSize 006AF730 f end=006AF7E9 type="int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint32_t* size, uint32_t* stride)"
CBLPFile__DecompPal 006AF810 f end=006AF984 type="int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint8_t* data, void* tempBuffer)" CBLPFile__DecompPal 006AF810 f end=006AF984 type="int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint8_t* data, void* tempBuffer)"
CBLPFile__Lock 006AF990 f end=006AFB55 CBLPFile__Lock 006AF990 f end=006AFB55
CBLPFile__Lock2 006AFCE0 f end=006AFF06 type="int32_t __thiscall func(CBLPFile* this, char* fileName, PIXEL_FORMAT format, uint32_t mipLevel, unsigned char* data, uint32_t* stride)" CBLPFile__Lock2 006AFCE0 f end=006AFF06 type="int32_t __thiscall func(CBLPFile* this, char* fileName, PIXEL_FORMAT format, uint32_t mipLevel, unsigned char* data, uint32_t* stride)"