mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 01:42:29 +00:00
refactor(profile): profiles are now stored in profile/ subdirectory
This commit is contained in:
parent
1e1f435c5c
commit
c2b96d98b6
100 changed files with 58650 additions and 10 deletions
6
Makefile
6
Makefile
|
|
@ -1,13 +1,13 @@
|
|||
all: generate
|
||||
|
||||
compile-symbols:
|
||||
./script/compile-symbols 3.3.5a
|
||||
./script/compile-symbols profile/3.3.5a-windows
|
||||
|
||||
ida-gen:
|
||||
./bin/binana ida-gen --game 3.3.5a
|
||||
./bin/binana ida-gen --game profile/3.3.5a-windows
|
||||
|
||||
x64dbg-gen:
|
||||
./bin/binana x64dbg-gen --game 3.3.5a --base-address=00400000 --module-name=wow.exe
|
||||
./bin/binana x64dbg-gen --game profile/3.3.5a-windows --base-address=00400000 --module-name=wow.exe
|
||||
|
||||
generate: compile-symbols x64dbg-gen ida-gen
|
||||
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -96,8 +96,8 @@ To import the main header file into your Ghidra project,
|
|||
|
||||
1. go to `File` 🡒 `Parse C Source...`.
|
||||
2. Select `clib.prf` as your parse configuration, and clear all source files and input paths.
|
||||
3. Add the header `<game version>/include/main.h` to the `Source files to parse` combo box.
|
||||
4. Add the path to `<game version>/include` to the `Include paths` combo box.
|
||||
3. Add the header `profile/<game version>/include/main.h` to the `Source files to parse` combo box.
|
||||
4. Add the path to `profile/<game version>/include` to the `Include paths` combo box.
|
||||
5. Add `-DGHIDRA` to a new line in `Parse Options`.
|
||||
6. press `Parse to Program`.
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ To import the symbol file into your Ghidra project,
|
|||
1. go to `Window` 🡒 `Script Manager`
|
||||
2. In the table view, lookup `ImportSymbolsScript.py`
|
||||
3. Run the script
|
||||
4. Enter the path to `<game version>/symbol/main.sym`
|
||||
4. Enter the path to `profile/<game version>/symbol/main.sym`
|
||||
|
||||
# IDA
|
||||
|
||||
|
|
@ -121,14 +121,14 @@ To import the main header file into your IDA database,
|
|||
1. Go to `Options` 🡒 `Compiler`
|
||||
2. Add `IDA` to the semicolon-separated `Predefined macros` list.
|
||||
3. Go to `File` 🡒 `Load file` 🡒 `Parse C Header file`
|
||||
4. Enter the path to `<game version>/include/main.h`
|
||||
4. Enter the path to `profile/<game version>/include/main.h`
|
||||
|
||||
## Importing symbols
|
||||
|
||||
To use the IDC script,
|
||||
|
||||
1. Go to `File` 🡒 `Script file...`
|
||||
2. Navigate to `<game version>/ida/import_symbols.idc`
|
||||
2. Navigate to `profile/<game version>/ida/import_symbols.idc`
|
||||
3. Wait for everything to be reanalyzed
|
||||
|
||||
# x64dbg
|
||||
|
|
@ -142,12 +142,12 @@ To load the database information into x64dbg:
|
|||
1. Open x96dbg.exe or x32dbg.exe directly
|
||||
2. Load your game binary
|
||||
3. Go to `File` 🡒 `Database` 🡒 `Import database`
|
||||
4. Navigate to `<game version>/x32dbg/game.dd32`.
|
||||
4. Navigate to `profile/<game version>/x32dbg/game.dd32`.
|
||||
|
||||
## Importing types
|
||||
|
||||
To load the type information JSON file:
|
||||
|
||||
1. Open the binary in x32dbg.exe
|
||||
2. in the console, type: `LoadTypes <full path to local binana repository>\<game version>\x32dbg\types.json`
|
||||
2. in the console, type: `LoadTypes <full path to local binana repository>\profile\<game version>\x32dbg\types.json`
|
||||
|
||||
|
|
|
|||
67
profile/3.3.5a-windows/ida/import_data_types.idc
Normal file
67
profile/3.3.5a-windows/ida/import_data_types.idc
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
#include <idc.idc>
|
||||
|
||||
static import_data_types() {
|
||||
apply_type(0x004804F0, "void __cdecl func(EvtContext* context, EVENTID id, void* handler, void* param, float priority)");
|
||||
apply_type(0x004806A0, "int32_t __cdecl func(EvtContext* context, EVENTID id, void *data, size_t bytes)");
|
||||
apply_type(0x004B5510, "int32_t __stdcall func(uint32_t width, uint32_t height)");
|
||||
apply_type(0x004B7220, "MipBits* __stdcall func(PIXEL_FORMAT format, uint32_t width, uint32_t height)");
|
||||
apply_type(0x004B7300, "void func(MipBits* image)");
|
||||
apply_type(0x004B78A0, "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)");
|
||||
apply_type(0x004B8070, "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)");
|
||||
apply_type(0x004B81D0, "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)");
|
||||
apply_type(0x006160B0, "int32_t __usercall func@<eax>(uint32_t** image@<eax>, MipBits* mipImages@<ecx>, uint32_t width@<edx>, uint32_t height)");
|
||||
apply_type(0x00616800, "void __stdcall func(CURSORMODE mode)");
|
||||
apply_type(0x006A5A30, "void __thiscall func(CGxDeviceD3d* this)");
|
||||
apply_type(0x006AA3B0, "int32_t __thiscall func(CTgaFile* this)");
|
||||
apply_type(0x006AA3E0, "uint32_t __thiscall func(CTgaFile* this)");
|
||||
apply_type(0x006AA420, "void __thiscall func(CTgaFile* this, uint8_t* pAlphaData, uint8_t* pNoAlphaData, uint8_t* alpha)");
|
||||
apply_type(0x006AA630, "int32_t __thiscall func(CTgaFile* this, uint8_t* pRLEData, uint8_t* pData)");
|
||||
apply_type(0x006AA700, "void __thiscall func(CTgaFile* this, int32_t set)");
|
||||
apply_type(0x006AA840, "TGA32Pixel* __thiscall func(CTgaFile* this)");
|
||||
apply_type(0x006AA870, "int32_t __thiscall func(CTgaFile* this)");
|
||||
apply_type(0x006AAF40, "int32_t __thiscall func(CTgaFile* this)");
|
||||
apply_type(0x006AAFB0, "int32_t __thiscall func(CTgaFile* this, char* filename, int32_t a3)");
|
||||
apply_type(0x006AB390, "int32_t __thiscall func(CTgaFile* this, void* pImg)");
|
||||
apply_type(0x006AB4B0, "int32_t __thiscall func(CTgaFile* this, int32_t flags)");
|
||||
apply_type(0x006AB620, "uint32_t __cdecl func(uint32_t level, uint32_t width, uint32_t height, uint32_t fourCC)");
|
||||
apply_type(0x006AB700, "uint32_t __stdcall func(uint32_t width, uint32_t height)");
|
||||
apply_type(0x006AB760, "MipBits* __stdcall func(uint32_t fourCC, uint32_t width, uint32_t height, char* filename, int32_t linenumber)");
|
||||
apply_type(0x006AB810, "void __stdcall func(uint32_t fourCC, uint32_t width, uint32_t height, MipBits* bits)");
|
||||
apply_type(0x006AB860, "void _stdcall func(C4Pixel* dest, uint32_t destWidth, uint32_t destHeight, C4Pixel* source, uint32_t sourceWidth, uint32_t sourceHeight)");
|
||||
apply_type(0x006AE8B0, "void __thiscall func(CBLPFile* this)");
|
||||
apply_type(0x006AE900, "int32_t __thiscall func(CBLPFile* this, void* fileBits)");
|
||||
apply_type(0x006AE990, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)");
|
||||
apply_type(0x006AE9E0, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)");
|
||||
apply_type(0x006AEBA0, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
|
||||
apply_type(0x006AEE70, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
|
||||
apply_type(0x006AF140, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
|
||||
apply_type(0x006AF340, "void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)");
|
||||
apply_type(0x006AF6A0, "uint32_t __thiscall func(CBLPFile* this, uint32_t mipLevel)");
|
||||
apply_type(0x006AF730, "int32_t __thiscall func(CBLPFile *this, PIXEL_FORMAT format, uint32_t mipLevel, uint32_t* size, uint32_t* stride)");
|
||||
apply_type(0x006AF810, "int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint8_t* data, void* tempBuffer)");
|
||||
apply_type(0x006AFCE0, "int32_t __thiscall func(CBLPFile* this, char* fileName, PIXEL_FORMAT format, uint32_t mipLevel, unsigned char* data, uint32_t* stride)");
|
||||
apply_type(0x006AFF10, "int32_t __thiscall func(CBLPFile* this, char* filename)");
|
||||
apply_type(0x006AFFD0, "int32_t __thiscall func(CBLPFile* this, char* fileName, PIXEL_FORMAT format, MipBits** images, uint32_t mipLevel, int32_t a6)");
|
||||
apply_type(0x0076E540, "void* __stdcall func(uint32_t bytes, char* filename, int32_t linenumber, uint32_t flags)");
|
||||
apply_type(0x0076E5A0, "int32_t __stdcall func(void* ptr, char* filename, int32_t linenumber, uint32_t flags)");
|
||||
apply_type(0x0076E5E0, "void* __stdcall func(void* ptr, uint32_t bytes, char* filename, int32_t linenumber, uint32_t flags)");
|
||||
apply_type(0x0076F070, "int32_t __stdcall func(char* dest, size_t maxchars, char* format, ...)");
|
||||
apply_type(0x00774620, "SCritSect* __thiscall func(SCritSect* this)");
|
||||
apply_type(0x00774630, "void __thiscall func(SCritSect *this)");
|
||||
apply_type(0x00774640, "void __thiscall func(SCritSect *this)");
|
||||
apply_type(0x00774650, "void __thiscall func(SCritSect *this)");
|
||||
apply_type(0x00819EA0, "void __stdcall func(int32_t function, FrameScript_Object* object, int32_t args, char* args_fmt, FrameScript_EventObject* eventObject)");
|
||||
apply_type(0x00A2DDC0, "CGxDevice__vtable");
|
||||
apply_type(0x00AD2808, "char*[53]");
|
||||
apply_type(0x00AD90B0, "uint8_t[16]");
|
||||
apply_type(0x00AD90C0, "uint8_t[2]");
|
||||
apply_type(0x00B417C8, "uint32_t");
|
||||
apply_type(0x00B417D0, "int32_t");
|
||||
apply_type(0x00B41850, "CDataRecycler");
|
||||
apply_type(0x00B6A9DC, "MipBits*");
|
||||
apply_type(0x00C25CD0, "int8_t");
|
||||
apply_type(0x00C25DE8, "uint32_t[1024]");
|
||||
apply_type(0x00C26DE8, "CURSORMODE");
|
||||
apply_type(0x00C26DF0, "uint32_t[53][1024]");
|
||||
apply_type(0x00C5DF88, "CGxDevice*");
|
||||
}
|
||||
7787
profile/3.3.5a-windows/ida/import_symbols.idc
Normal file
7787
profile/3.3.5a-windows/ida/import_symbols.idc
Normal file
File diff suppressed because it is too large
Load diff
39
profile/3.3.5a-windows/include/common/datarecycler.h
Normal file
39
profile/3.3.5a-windows/include/common/datarecycler.h
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#ifndef COMMON_DATA_RECYCLER_H
|
||||
#define COMMON_DATA_RECYCLER_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(CDataRecycler);
|
||||
DECLARE_STRUCT(CDataRecycler__vtable);
|
||||
DECLARE_STRUCT(CDataRecycler__NodeBlock);
|
||||
DECLARE_STRUCT(CDataRecycler__Node);
|
||||
|
||||
struct CDataRecycler__vtable {
|
||||
void* v_fn_00;
|
||||
void* v_fn_01;
|
||||
void* v_fn_02;
|
||||
void* v_fn_03;
|
||||
void* v_fn_04;
|
||||
};
|
||||
|
||||
struct CDataRecycler__Node {
|
||||
CDataRecycler__Node* m_next;
|
||||
void* m_data;
|
||||
uint32_t m_bytes;
|
||||
};
|
||||
|
||||
struct CDataRecycler__NodeBlock {
|
||||
CDataRecycler__NodeBlock* m_next;
|
||||
CDataRecycler__Node m_nodes[1];
|
||||
};
|
||||
|
||||
struct CDataRecycler {
|
||||
CDataRecycler__vtable* v_vtable;
|
||||
int32_t m_nodesRecyclable;
|
||||
uint32_t m_nodesPerBlock;
|
||||
CDataRecycler__NodeBlock* m_nodeBlockList;
|
||||
CDataRecycler__Node* m_nodeFullList;
|
||||
CDataRecycler__Node* m_nodeEmptyList;
|
||||
};
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/common/handle.h
Normal file
13
profile/3.3.5a-windows/include/common/handle.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef COMMON_HANDLE_H
|
||||
#define COMMON_HANDLE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#if !defined(DECLARE_HANDLE)
|
||||
#define DECLARE_HANDLE(name) \
|
||||
typedef struct name##__ { \
|
||||
int32_t unused; \
|
||||
}* name
|
||||
#endif
|
||||
|
||||
#endif
|
||||
43
profile/3.3.5a-windows/include/common/instance.h
Normal file
43
profile/3.3.5a-windows/include/common/instance.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef COMMON_INSTANCE_H
|
||||
#define COMMON_INSTANCE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/list.h"
|
||||
#include "storm/thread.h"
|
||||
|
||||
// TSList<T>
|
||||
// TSLinkedNode<T>
|
||||
// TInstanceId<T>
|
||||
// TSingletonInstanceId<T>
|
||||
#define COMMON_INSTANCE_ID(T) \
|
||||
STORM_TS_LIST(T) \
|
||||
typedef struct TInstanceId_##T TInstanceId_##T; \
|
||||
typedef struct TSingletonInstanceId_##T TSingletonInstanceId_##T; \
|
||||
struct TInstanceId_##T { \
|
||||
TSLinkedNode_##T b_base; \
|
||||
uint32_t m_id; \
|
||||
}; \
|
||||
struct TSingletonInstanceId_##T { \
|
||||
TInstanceId_##T b_base; \
|
||||
};
|
||||
|
||||
#define COMMON_INSTANCE_ID_TABLE(T) \
|
||||
STORM_TS_LIST(T) \
|
||||
typedef struct TInstanceIdTable_##T TInstanceIdTable_##T; \
|
||||
struct TInstanceIdTable_##T { \
|
||||
SCritSect m_idCritSect; \
|
||||
uint32_t m_id; \
|
||||
int32_t m_idWrapped; \
|
||||
CSRWLock m_idLock[8]; \
|
||||
TSList_##T m_idList[8]; \
|
||||
};
|
||||
|
||||
// template <class T>
|
||||
// class TExtraInstanceRecyclable
|
||||
typedef struct TExtraInstanceRecyclable TExtraInstanceRecyclable;
|
||||
struct TExtraInstanceRecyclable {
|
||||
uint32_t m_recycleBytes;
|
||||
};
|
||||
|
||||
#endif
|
||||
36
profile/3.3.5a-windows/include/common/status.h
Normal file
36
profile/3.3.5a-windows/include/common/status.h
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#ifndef COMMON_STATUS_H
|
||||
#define COMMON_STATUS_H
|
||||
|
||||
#include "storm/list.h"
|
||||
|
||||
DECLARE_ENUM(STATUS_TYPE);
|
||||
DECLARE_STRUCT(CStatus);
|
||||
DECLARE_STRUCT(CStatus__STATUSENTRY);
|
||||
|
||||
enum STATUS_TYPE {
|
||||
STATUS_INFO = 0x0,
|
||||
STATUS_WARNING = 0x1,
|
||||
STATUS_ERROR = 0x2,
|
||||
STATUS_FATAL = 0x3,
|
||||
STATUS_NUMTYPES = 0x4
|
||||
};
|
||||
|
||||
STORM_TS_LIST(CStatus__STATUSENTRY);
|
||||
|
||||
struct CStatus__STATUSENTRY {
|
||||
char* text;
|
||||
STATUS_TYPE severity;
|
||||
TSLink_CStatus__STATUSENTRY link;
|
||||
};
|
||||
|
||||
struct CStatus {
|
||||
TSExplicitList_CStatus__STATUSENTRY statusList;
|
||||
};
|
||||
|
||||
// class CWOWClientStatus : public CStatus {
|
||||
// public:
|
||||
// HSLOG m_logFile = nullptr;
|
||||
// };
|
||||
|
||||
|
||||
#endif
|
||||
69
profile/3.3.5a-windows/include/cursor/types.h
Normal file
69
profile/3.3.5a-windows/include/cursor/types.h
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
#ifndef CURSOR_TYPES_H
|
||||
#define CURSOR_TYPES_H
|
||||
|
||||
enum CURSORITEMTYPE {
|
||||
CURSOR_EMPTY = 0,
|
||||
CURSOR_ITEM = 1,
|
||||
CURSOR_MONEY = 2,
|
||||
CURSOR_SPELL = 3,
|
||||
NUM_CURSOR_ITEM_TYPES = 4
|
||||
};
|
||||
|
||||
enum CURSORMODE {
|
||||
NO_CURSOR = 0,
|
||||
POINT_CURSOR = 1,
|
||||
CAST_CURSOR = 2,
|
||||
BUY_CURSOR = 3,
|
||||
ATTACK_CURSOR = 4,
|
||||
INTERACT_CURSOR = 5,
|
||||
SPEAK_CURSOR = 6,
|
||||
INSPECT_CURSOR = 7,
|
||||
PICKUP_CURSOR = 8,
|
||||
TAXI_CURSOR = 9,
|
||||
TRAINER_CURSOR = 10,
|
||||
MINE_CURSOR = 11,
|
||||
SKIN_CURSOR = 12,
|
||||
GATHER_CURSOR = 13,
|
||||
LOCK_CURSOR = 14,
|
||||
MAIL_CURSOR = 15,
|
||||
LOOT_ALL_CURSOR = 16,
|
||||
REPAIR_CURSOR = 17,
|
||||
REPAIRNPC_CURSOR = 18,
|
||||
ITEM_CURSOR = 19,
|
||||
SKIN_HORDE_CURSOR = 20,
|
||||
SKIN_ALLIANCE_CURSOR = 21,
|
||||
INNKEEPER_CURSOR = 22,
|
||||
QUEST_CURSOR = 23,
|
||||
QUEST_REPEATABLE_CURSOR = 24,
|
||||
QUEST_TURNIN_CURSOR = 25,
|
||||
VEHICLE_CURSOR = 26,
|
||||
POINT_ERROR_CURSOR = 27,
|
||||
CAST_ERROR_CURSOR = 28,
|
||||
BUY_ERROR_CURSOR = 29,
|
||||
ATTACK_ERROR_CURSOR = 30,
|
||||
INTERACT_ERROR_CURSOR = 31,
|
||||
SPEAK_ERROR_CURSOR = 32,
|
||||
INSPECT_ERROR_CURSOR = 33,
|
||||
PICKUP_ERROR_CURSOR = 34,
|
||||
TAXI_ERROR_CURSOR = 35,
|
||||
TRAINER_ERROR_CURSOR = 36,
|
||||
MINE_ERROR_CURSOR = 37,
|
||||
SKIN_ERROR_CURSOR = 38,
|
||||
GATHER_ERROR_CURSOR = 39,
|
||||
LOCK_ERROR_CURSOR = 40,
|
||||
MAIL_ERROR_CURSOR = 41,
|
||||
LOOT_ALL_ERROR_CURSOR = 42,
|
||||
REPAIR_ERROR_CURSOR = 43,
|
||||
REPAIRNPC_ERROR_CURSOR = 44,
|
||||
ITEM_ERROR_CURSOR = 45,
|
||||
SKIN_HORDE_ERROR_CURSOR = 46,
|
||||
SKIN_ALLIANCE_ERROR_CURSOR = 47,
|
||||
INNKEEPER_ERROR_CURSOR = 48,
|
||||
QUEST_ERROR_CURSOR = 49,
|
||||
QUEST_REPEATABLE_ERROR_CURSOR = 50,
|
||||
QUEST_TURNIN_ERROR_CURSOR = 51,
|
||||
VEHICLE_ERROR_CURSOR = 52,
|
||||
NUM_CURSOR_MODES = 53
|
||||
};
|
||||
|
||||
#endif
|
||||
125
profile/3.3.5a-windows/include/d3d9/caps.h
Normal file
125
profile/3.3.5a-windows/include/d3d9/caps.h
Normal file
|
|
@ -0,0 +1,125 @@
|
|||
#ifndef D3D9_CAPS_H
|
||||
#define D3D9_CAPS_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
typedef enum D3DDEVTYPE D3DDEVTYPE;
|
||||
typedef struct D3DVSHADERCAPS2_0 D3DVSHADERCAPS2_0;
|
||||
typedef struct D3DPSHADERCAPS2_0 D3DPSHADERCAPS2_0;
|
||||
typedef struct D3DCAPS9 D3DCAPS9;
|
||||
|
||||
enum D3DDEVTYPE {
|
||||
D3DDEVTYPE_HAL = 1,
|
||||
D3DDEVTYPE_REF = 2,
|
||||
D3DDEVTYPE_SW = 3,
|
||||
D3DDEVTYPE_NULLREF = 4,
|
||||
|
||||
D3DDEVTYPE_FORCE_uint32_t = 0xffffffff
|
||||
};
|
||||
|
||||
struct D3DVSHADERCAPS2_0 {
|
||||
uint32_t Caps;
|
||||
int32_t DynamicFlowControlDepth;
|
||||
int32_t NumTemps;
|
||||
int32_t StaticFlowControlDepth;
|
||||
};
|
||||
|
||||
struct D3DPSHADERCAPS2_0 {
|
||||
uint32_t Caps;
|
||||
int32_t DynamicFlowControlDepth;
|
||||
int32_t NumTemps;
|
||||
int32_t StaticFlowControlDepth;
|
||||
int32_t NumInstructionSlots;
|
||||
};
|
||||
|
||||
struct D3DCAPS9 {
|
||||
D3DDEVTYPE DeviceType;
|
||||
uint32_t AdapterOrdinal;
|
||||
|
||||
uint32_t Caps;
|
||||
uint32_t Caps2;
|
||||
uint32_t Caps3;
|
||||
uint32_t PresentationIntervals;
|
||||
|
||||
uint32_t CursorCaps;
|
||||
|
||||
uint32_t DevCaps;
|
||||
|
||||
uint32_t PrimitiveMiscCaps;
|
||||
uint32_t RasterCaps;
|
||||
uint32_t ZCmpCaps;
|
||||
uint32_t SrcBlendCaps;
|
||||
uint32_t DestBlendCaps;
|
||||
uint32_t AlphaCmpCaps;
|
||||
uint32_t ShadeCaps;
|
||||
uint32_t TextureCaps;
|
||||
uint32_t TextureFilterCaps;
|
||||
uint32_t CubeTextureFilterCaps;
|
||||
uint32_t VolumeTextureFilterCaps;
|
||||
uint32_t TextureAddressCaps;
|
||||
uint32_t VolumeTextureAddressCaps;
|
||||
|
||||
uint32_t LineCaps;
|
||||
|
||||
uint32_t MaxTextureWidth, MaxTextureHeight;
|
||||
uint32_t MaxVolumeExtent;
|
||||
|
||||
uint32_t MaxTextureRepeat;
|
||||
uint32_t MaxTextureAspectRatio;
|
||||
uint32_t MaxAnisotropy;
|
||||
float MaxVertexW;
|
||||
|
||||
float GuardBandLeft;
|
||||
float GuardBandTop;
|
||||
float GuardBandRight;
|
||||
float GuardBandBottom;
|
||||
|
||||
float ExtentsAdjust;
|
||||
uint32_t StencilCaps;
|
||||
|
||||
uint32_t FVFCaps;
|
||||
uint32_t TextureOpCaps;
|
||||
uint32_t MaxTextureBlendStages;
|
||||
uint32_t MaxSimultaneousTextures;
|
||||
|
||||
uint32_t VertexProcessingCaps;
|
||||
uint32_t MaxActiveLights;
|
||||
uint32_t MaxUserClipPlanes;
|
||||
uint32_t MaxVertexBlendMatrices;
|
||||
uint32_t MaxVertexBlendMatrixIndex;
|
||||
|
||||
float MaxPointSize;
|
||||
|
||||
uint32_t MaxPrimitiveCount;
|
||||
uint32_t MaxVertexIndex;
|
||||
uint32_t MaxStreams;
|
||||
uint32_t MaxStreamStride;
|
||||
|
||||
uint32_t VertexShaderVersion;
|
||||
uint32_t MaxVertexShaderConst;
|
||||
|
||||
uint32_t PixelShaderVersion;
|
||||
float PixelShader1xMaxValue;
|
||||
|
||||
/* DX 9 */
|
||||
uint32_t DevCaps2;
|
||||
|
||||
float MaxNpatchTessellationLevel;
|
||||
uint32_t Reserved5;
|
||||
|
||||
uint32_t MasterAdapterOrdinal;
|
||||
uint32_t AdapterOrdinalInGroup;
|
||||
uint32_t NumberOfAdaptersInGroup;
|
||||
uint32_t DeclTypes;
|
||||
uint32_t NumSimultaneousRTs;
|
||||
uint32_t StretchRectFilterCaps;
|
||||
D3DVSHADERCAPS2_0 VS20Caps;
|
||||
D3DPSHADERCAPS2_0 PS20Caps;
|
||||
uint32_t VertexTextureFilterCaps;
|
||||
uint32_t MaxVShaderInstructionsExecuted;
|
||||
uint32_t MaxPShaderInstructionsExecuted;
|
||||
uint32_t MaxVertexShader30InstructionSlots;
|
||||
uint32_t MaxPixelShader30InstructionSlots;
|
||||
};
|
||||
|
||||
#endif
|
||||
60
profile/3.3.5a-windows/include/d3d9/device.h
Normal file
60
profile/3.3.5a-windows/include/d3d9/device.h
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
#ifndef D3D9_DEVICE_H
|
||||
#define D3D9_DEVICE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "d3d9/caps.h"
|
||||
|
||||
typedef int32_t D3DFORMAT;
|
||||
typedef struct D3DDISPLAYMODE D3DDISPLAYMODE;
|
||||
typedef struct IDirect3D9 IDirect3D9;
|
||||
typedef struct IDirect3DDevice9 IDirect3DDevice9;
|
||||
typedef struct IDirect3DVertexDeclaration9 IDirect3DVertexDeclaration9;
|
||||
typedef struct IDirect3DSurface9 IDirect3DSurface9;
|
||||
typedef struct IDirect3DIndexBuffer9 IDirect3DIndexBuffer9;
|
||||
typedef struct IDirect3DVertexBuffer9 IDirect3DVertexBuffer9;
|
||||
typedef struct IDirect3DTexture9 IDirect3DTexture9;
|
||||
|
||||
typedef struct D3DLOCKED_RECT D3DLOCKED_RECT;
|
||||
|
||||
struct D3DDISPLAYMODE {
|
||||
uint32_t Width;
|
||||
uint32_t Height;
|
||||
uint32_t RefreshRate;
|
||||
D3DFORMAT Format;
|
||||
};
|
||||
|
||||
struct IDirect3D9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DDevice9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DVertexDeclaration9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DSurface9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DIndexBuffer9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DVertexBuffer9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct IDirect3DTexture9 {
|
||||
void** v_vtable;
|
||||
};
|
||||
|
||||
struct D3DLOCKED_RECT {
|
||||
int32_t Pitch;
|
||||
void* pBits;
|
||||
};
|
||||
|
||||
#endif
|
||||
66
profile/3.3.5a-windows/include/event/context.h
Normal file
66
profile/3.3.5a-windows/include/event/context.h
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
#ifndef EVENT_CONTEXT_H
|
||||
#define EVENT_CONTEXT_H
|
||||
|
||||
#include "storm/thread.h"
|
||||
|
||||
#include "common/instance.h"
|
||||
#include "storm/queue/timer_priority_uint32_t.h"
|
||||
|
||||
#include "event/message.h"
|
||||
#include "event/handler.h"
|
||||
#include "event/keydown.h"
|
||||
#include "event/types.h"
|
||||
#include "event/timer.h"
|
||||
#include "event/id_table.h"
|
||||
|
||||
DECLARE_ENUM(SCHEDSTATE);
|
||||
DECLARE_STRUCT(EvtContext);
|
||||
DECLARE_STRUCT(EvtTimer);
|
||||
DECLARE_HANDLE(HPROPCONTEXT);
|
||||
|
||||
// EvtContext::SCHEDSTATE
|
||||
enum SCHEDSTATE {
|
||||
SCHEDSTATE_ACTIVE = 0x0,
|
||||
SCHEDSTATE_CLOSED = 0x1,
|
||||
SCHEDSTATE_DESTROYED = 0x2,
|
||||
_UNIQUE_SYMBOL_SCHEDSTATE_96 = 0xFFFFFFFF
|
||||
};
|
||||
|
||||
COMMON_INSTANCE_ID(EvtContext);
|
||||
|
||||
// class EvtContext : public TSingletonInstanceId<EvtContext, offsetof(TInstanceId<EvtContext>, m_id)>
|
||||
struct EvtContext {
|
||||
TSingletonInstanceId_EvtContext b_base;
|
||||
uint32_t unkA;
|
||||
// Member variables
|
||||
SCritSect m_critsect;
|
||||
uint32_t m_currTime;
|
||||
SCHEDSTATE m_schedState;
|
||||
TSTimerPriority_uint32_t m_schedNextWakeTime;
|
||||
uint32_t m_schedLastIdle;
|
||||
uint32_t m_schedFlags;
|
||||
uint32_t m_schedIdleTime;
|
||||
uint32_t m_schedInitialIdleTime;
|
||||
uint32_t m_schedWeight;
|
||||
uint32_t m_schedSmoothWeight;
|
||||
int32_t m_schedRebalance;
|
||||
int32_t unkXX;
|
||||
int32_t unkXY;
|
||||
int32_t unkXZ;
|
||||
int32_t unkYY;
|
||||
int32_t unkYZ;
|
||||
// TSExplicitList<EvtHandler, offsetof(EvtHandler, link)> m_queueHandlerList[EVENTIDS];
|
||||
TSExplicitList_EvtHandler m_queueHandlerList[36];
|
||||
// TSExplicitList<EvtMessage, offsetof(EvtMessage, link)> m_queueMessageList;
|
||||
TSExplicitList_EvtMessage m_queueMessageList;
|
||||
uint32_t m_queueSyncButtonState;
|
||||
// TSExplicitList<EvtKeyDown, offsetof(EvtKeyDown, link)> m_queueSyncKeyDownList;
|
||||
TSExplicitList_EvtKeyDown m_queueSyncKeyDownList;
|
||||
EvtIdTable_pointer_to_EvtTimer m_timerIdTable;
|
||||
EvtTimerQueue m_timerQueue;
|
||||
HPROPCONTEXT m_propContext;
|
||||
void* m_callContext;
|
||||
uint32_t m_startWatchdog;
|
||||
};
|
||||
|
||||
#endif
|
||||
20
profile/3.3.5a-windows/include/event/handler.h
Normal file
20
profile/3.3.5a-windows/include/event/handler.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#ifndef EVENT_HANDLER_H
|
||||
#define EVENT_HANDLER_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/list.h"
|
||||
|
||||
DECLARE_STRUCT(EvtHandler);
|
||||
|
||||
STORM_TS_LIST(EvtHandler);
|
||||
|
||||
struct EvtHandler {
|
||||
TSLink_EvtHandler link;
|
||||
int32_t (*func)(const void*, void*);
|
||||
void* param;
|
||||
float priority;
|
||||
int32_t marker;
|
||||
};
|
||||
|
||||
#endif
|
||||
15
profile/3.3.5a-windows/include/event/id_table.h
Normal file
15
profile/3.3.5a-windows/include/event/id_table.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef EVENT_ID_TABLE_H
|
||||
#define EVENT_ID_TABLE_H
|
||||
|
||||
#include "storm/array.h"
|
||||
#include "storm/array/uint32_t.h"
|
||||
#include "event/timer.h"
|
||||
|
||||
DECLARE_STRUCT(EvtIdTable_pointer_to_EvtTimer);
|
||||
|
||||
struct EvtIdTable_pointer_to_EvtTimer {
|
||||
TSGrowableArray_pointer_to_EvtTimer m_allocArray;
|
||||
TSGrowableArray_uint32_t m_freeArray;
|
||||
};
|
||||
|
||||
#endif
|
||||
16
profile/3.3.5a-windows/include/event/keydown.h
Normal file
16
profile/3.3.5a-windows/include/event/keydown.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef EVENT_KEY_DOWN_H
|
||||
#define EVENT_KEY_DOWN_H
|
||||
|
||||
#include "storm/list.h"
|
||||
#include "event/types.h"
|
||||
|
||||
typedef struct EvtKeyDown EvtKeyDown;
|
||||
|
||||
STORM_TS_LIST(EvtKeyDown);
|
||||
|
||||
struct EvtKeyDown {
|
||||
TSLink_EvtKeyDown link;
|
||||
KEY key;
|
||||
};
|
||||
|
||||
#endif
|
||||
23
profile/3.3.5a-windows/include/event/message.h
Normal file
23
profile/3.3.5a-windows/include/event/message.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef EVENT_MESSAGE_H
|
||||
#define EVENT_MESSAGE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "common/instance.h"
|
||||
#include "storm/list.h"
|
||||
|
||||
#include "event/types.h"
|
||||
|
||||
typedef struct EvtMessage EvtMessage;
|
||||
|
||||
STORM_TS_LIST(EvtMessage);
|
||||
|
||||
// class EvtMessage : public TExtraInstanceRecyclable<EvtMessage>
|
||||
struct EvtMessage {
|
||||
TExtraInstanceRecyclable b_base;
|
||||
TSLink_EvtMessage link;
|
||||
EVENTID id;
|
||||
char data[4];
|
||||
};
|
||||
|
||||
#endif
|
||||
32
profile/3.3.5a-windows/include/event/timer.h
Normal file
32
profile/3.3.5a-windows/include/event/timer.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef EVENT_TIMER_H
|
||||
#define EVENT_TIMER_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/queue/timer_priority_uint32_t.h"
|
||||
|
||||
DECLARE_STRUCT(EvtTimer);
|
||||
DECLARE_STRUCT(EvtTimerQueue);
|
||||
|
||||
// class EvtTimer
|
||||
struct EvtTimer {
|
||||
// Member variables
|
||||
uint32_t id;
|
||||
TSTimerPriority_uint32_t targetTime;
|
||||
float timeout;
|
||||
int32_t (*handler)(const void*, void*);
|
||||
void* param;
|
||||
int32_t (*guidHandler)(const void*, uint64_t, void*);
|
||||
uint64_t guidParam;
|
||||
void* guidParam2;
|
||||
};
|
||||
|
||||
STORM_TS_PRIORITY_QUEUE(EvtTimer);
|
||||
STORM_TS_GROWABLE_ARRAY_POINTER_TO(EvtTimer);
|
||||
|
||||
// class EvtTimerQueue : public TSPriorityQueue<EvtTimer>
|
||||
struct EvtTimerQueue {
|
||||
TSPriorityQueue_EvtTimer b_base;
|
||||
};
|
||||
|
||||
#endif
|
||||
277
profile/3.3.5a-windows/include/event/types.h
Normal file
277
profile/3.3.5a-windows/include/event/types.h
Normal file
|
|
@ -0,0 +1,277 @@
|
|||
#ifndef EVENT_TYPES_H
|
||||
#define EVENT_TYPES_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_ENUM(EVENTID);
|
||||
DECLARE_ENUM(KEY);
|
||||
DECLARE_ENUM(MOUSEBUTTON);
|
||||
DECLARE_ENUM(MOUSEMODE);
|
||||
DECLARE_ENUM(OSINPUT);
|
||||
DECLARE_ENUM(OS_MOUSE_MODE);
|
||||
|
||||
DECLARE_STRUCT(OSEVENT);
|
||||
DECLARE_STRUCT(EVENT_DATA_CHAR);
|
||||
DECLARE_STRUCT(EVENT_DATA_FOCUS);
|
||||
DECLARE_STRUCT(EVENT_DATA_IDLE);
|
||||
DECLARE_STRUCT(EVENT_DATA_KEY);
|
||||
DECLARE_STRUCT(EVENT_DATA_MOUSE);
|
||||
DECLARE_STRUCT(EVENT_DATA_SIZE);
|
||||
|
||||
typedef void* HEVENTCONTEXT;
|
||||
typedef int32_t (*EVENTHANDLERFUNC)(const void*, void*);
|
||||
|
||||
enum EVENTID {
|
||||
EVENT_ID_0 = 0,
|
||||
EVENT_ID_CHAR = 1,
|
||||
EVENT_ID_FOCUS = 2,
|
||||
EVENT_ID_3 = 3,
|
||||
EVENT_ID_DESTROY = 4,
|
||||
EVENT_ID_5 = 5,
|
||||
EVENT_ID_IDLE = 6,
|
||||
EVENT_ID_POLL = 7,
|
||||
EVENT_ID_INITIALIZE = 8,
|
||||
EVENT_ID_KEYDOWN = 9,
|
||||
EVENT_ID_KEYUP = 10,
|
||||
EVENT_ID_KEYDOWN_REPEATING = 11,
|
||||
EVENT_ID_MOUSEDOWN = 12,
|
||||
EVENT_ID_MOUSEMOVE = 13,
|
||||
EVENT_ID_MOUSEMOVE_RELATIVE = 14,
|
||||
EVENT_ID_MOUSEUP = 15,
|
||||
EVENT_ID_MOUSEMODE_CHANGED = 16,
|
||||
EVENT_ID_MOUSEWHEEL = 17,
|
||||
EVENT_ID_18 = 18,
|
||||
EVENT_ID_19 = 19,
|
||||
EVENT_ID_20 = 20,
|
||||
EVENT_ID_21 = 21,
|
||||
EVENT_ID_22 = 22,
|
||||
EVENT_ID_PAINT = 23,
|
||||
EVENT_ID_NET_DATA = 24,
|
||||
EVENT_ID_NET_CONNECT = 25,
|
||||
EVENT_ID_NET_DISCONNECT = 26,
|
||||
EVENT_ID_NET_CANTCONNECT = 27,
|
||||
EVENT_ID_NET_DESTROY = 28,
|
||||
EVENT_ID_NET_AUTH_CHALLENGE = 29,
|
||||
EVENT_ID_30 = 30,
|
||||
EVENT_ID_31 = 31,
|
||||
EVENT_ID_32 = 32,
|
||||
EVENT_ID_33 = 33,
|
||||
EVENT_ID_IME = 34,
|
||||
EVENT_ID_SIZE = 35,
|
||||
EVENTIDS = 36
|
||||
};
|
||||
|
||||
enum KEY {
|
||||
KEY_NONE = 0xFFFFFFFF,
|
||||
KEY_LSHIFT = 0x0,
|
||||
KEY_RSHIFT = 0x1,
|
||||
KEY_LCONTROL = 0x2,
|
||||
KEY_RCONTROL = 0x3,
|
||||
KEY_LALT = 0x4,
|
||||
KEY_RALT = 0x5,
|
||||
KEY_LASTMETAKEY = 0x5,
|
||||
KEY_SPACE = 0x20,
|
||||
KEY_0 = 0x30,
|
||||
KEY_1 = 0x31,
|
||||
KEY_2 = 0x32,
|
||||
KEY_3 = 0x33,
|
||||
KEY_4 = 0x34,
|
||||
KEY_5 = 0x35,
|
||||
KEY_6 = 0x36,
|
||||
KEY_7 = 0x37,
|
||||
KEY_8 = 0x38,
|
||||
KEY_9 = 0x39,
|
||||
KEY_A = 0x41,
|
||||
KEY_B = 0x42,
|
||||
KEY_C = 0x43,
|
||||
KEY_D = 0x44,
|
||||
KEY_E = 0x45,
|
||||
KEY_F = 0x46,
|
||||
KEY_G = 0x47,
|
||||
KEY_H = 0x48,
|
||||
KEY_I = 0x49,
|
||||
KEY_J = 0x4A,
|
||||
KEY_K = 0x4B,
|
||||
KEY_L = 0x4C,
|
||||
KEY_M = 0x4D,
|
||||
KEY_N = 0x4E,
|
||||
KEY_O = 0x4F,
|
||||
KEY_P = 0x50,
|
||||
KEY_Q = 0x51,
|
||||
KEY_R = 0x52,
|
||||
KEY_S = 0x53,
|
||||
KEY_T = 0x54,
|
||||
KEY_U = 0x55,
|
||||
KEY_V = 0x56,
|
||||
KEY_W = 0x57,
|
||||
KEY_X = 0x58,
|
||||
KEY_Y = 0x59,
|
||||
KEY_Z = 0x5A,
|
||||
KEY_TILDE = 0x60,
|
||||
KEY_NUMPAD0 = 0x100,
|
||||
KEY_NUMPAD1 = 0x101,
|
||||
KEY_NUMPAD2 = 0x102,
|
||||
KEY_NUMPAD3 = 0x103,
|
||||
KEY_NUMPAD4 = 0x104,
|
||||
KEY_NUMPAD5 = 0x105,
|
||||
KEY_NUMPAD6 = 0x106,
|
||||
KEY_NUMPAD7 = 0x107,
|
||||
KEY_NUMPAD8 = 0x108,
|
||||
KEY_NUMPAD9 = 0x109,
|
||||
KEY_NUMPAD_PLUS = 0x10A,
|
||||
KEY_NUMPAD_MINUS = 0x10B,
|
||||
KEY_NUMPAD_MULTIPLY = 0x10C,
|
||||
KEY_NUMPAD_DIVIDE = 0x10D,
|
||||
KEY_NUMPAD_DECIMAL = 0x10E,
|
||||
KEY_NUMPAD_EQUALS = 0x30C,
|
||||
KEY_PLUS = 0x3D,
|
||||
KEY_MINUS = 0x2D,
|
||||
KEY_BRACKET_OPEN = 0x5B,
|
||||
KEY_BRACKET_CLOSE = 0x5D,
|
||||
KEY_SLASH = 0x2F,
|
||||
KEY_BACKSLASH = 0x5C,
|
||||
KEY_SEMICOLON = 0x3B,
|
||||
KEY_APOSTROPHE = 0x27,
|
||||
KEY_COMMA = 0x2C,
|
||||
KEY_PERIOD = 0x2E,
|
||||
KEY_ESCAPE = 0x200,
|
||||
KEY_ENTER = 0x201,
|
||||
KEY_BACKSPACE = 0x202,
|
||||
KEY_TAB = 0x203,
|
||||
KEY_LEFT = 0x204,
|
||||
KEY_UP = 0x205,
|
||||
KEY_RIGHT = 0x206,
|
||||
KEY_DOWN = 0x207,
|
||||
KEY_INSERT = 0x208,
|
||||
KEY_DELETE = 0x209,
|
||||
KEY_HOME = 0x20A,
|
||||
KEY_END = 0x20B,
|
||||
KEY_PAGEUP = 0x20C,
|
||||
KEY_PAGEDOWN = 0x20D,
|
||||
KEY_CAPSLOCK = 0x20E,
|
||||
KEY_NUMLOCK = 0x20F,
|
||||
KEY_SCROLLLOCK = 0x210,
|
||||
KEY_PAUSE = 0x211,
|
||||
KEY_PRINTSCREEN = 0x212,
|
||||
KEY_F1 = 0x300,
|
||||
KEY_F2 = 0x301,
|
||||
KEY_F3 = 0x302,
|
||||
KEY_F4 = 0x303,
|
||||
KEY_F5 = 0x304,
|
||||
KEY_F6 = 0x305,
|
||||
KEY_F7 = 0x306,
|
||||
KEY_F8 = 0x307,
|
||||
KEY_F9 = 0x308,
|
||||
KEY_F10 = 0x309,
|
||||
KEY_F11 = 0x30A,
|
||||
KEY_F12 = 0x30B,
|
||||
KEY_F13 = 0x212,
|
||||
KEY_F14 = 0x30D,
|
||||
KEY_F15 = 0x30E,
|
||||
KEY_F16 = 0x30F,
|
||||
KEY_F17 = 0x310,
|
||||
KEY_F18 = 0x311,
|
||||
KEY_F19 = 0x312,
|
||||
KEY_LAST = 0x313
|
||||
};
|
||||
|
||||
enum MOUSEBUTTON {
|
||||
MOUSE_BUTTON_NONE = 0x0,
|
||||
MOUSE_BUTTON_LEFT = 0x1,
|
||||
MOUSE_BUTTON_MIDDLE = 0x2,
|
||||
MOUSE_BUTTON_RIGHT = 0x4,
|
||||
MOUSE_BUTTON_XBUTTON1 = 0x8,
|
||||
MOUSE_BUTTON_XBUTTON2 = 0x10,
|
||||
MOUSE_BUTTON_XBUTTON3 = 0x20,
|
||||
MOUSE_BUTTON_XBUTTON4 = 0x40,
|
||||
MOUSE_BUTTON_XBUTTON5 = 0x80,
|
||||
MOUSE_BUTTON_XBUTTON6 = 0x100,
|
||||
MOUSE_BUTTON_XBUTTON7 = 0x200,
|
||||
MOUSE_BUTTON_XBUTTON8 = 0x400,
|
||||
MOUSE_BUTTON_XBUTTON9 = 0x800,
|
||||
MOUSE_BUTTON_XBUTTON10 = 0x1000,
|
||||
MOUSE_BUTTON_XBUTTON11 = 0x2000,
|
||||
MOUSE_BUTTON_XBUTTON12 = 0x4000,
|
||||
MOUSE_BUTTON_ALL = 0xFFFFFFFF
|
||||
};
|
||||
|
||||
enum MOUSEMODE {
|
||||
MOUSE_MODE_NORMAL = 0x0,
|
||||
MOUSE_MODE_RELATIVE = 0x1,
|
||||
MOUSE_MODES = 0x2
|
||||
};
|
||||
|
||||
enum OSINPUT {
|
||||
OS_INPUT_CAPTURE_CHANGED = 0,
|
||||
OS_INPUT_CHAR = 1,
|
||||
OS_INPUT_STRING = 2,
|
||||
OS_INPUT_IME = 3,
|
||||
OS_INPUT_SIZE = 4,
|
||||
OS_INPUT_CLOSE = 5,
|
||||
OS_INPUT_FOCUS = 6,
|
||||
OS_INPUT_KEY_DOWN = 7,
|
||||
OS_INPUT_KEY_UP = 8,
|
||||
OS_INPUT_MOUSE_DOWN = 9,
|
||||
OS_INPUT_MOUSE_MOVE = 10,
|
||||
OS_INPUT_MOUSE_WHEEL = 11,
|
||||
OS_INPUT_MOUSE_MOVE_RELATIVE = 12,
|
||||
OS_INPUT_MOUSE_UP = 13,
|
||||
OS_INPUT_14 = 14,
|
||||
OS_INPUT_15 = 15,
|
||||
OS_INPUT_16 = 16,
|
||||
OS_INPUT_17 = 17,
|
||||
OS_INPUT_18 = 18,
|
||||
OS_INPUT_SHUTDOWN = 19
|
||||
};
|
||||
|
||||
enum OS_MOUSE_MODE {
|
||||
OS_MOUSE_MODE_NORMAL = 0,
|
||||
OS_MOUSE_MODE_RELATIVE = 1,
|
||||
OS_MOUSE_MODES = 2,
|
||||
};
|
||||
|
||||
struct OSEVENT {
|
||||
OSINPUT id;
|
||||
int32_t param[4];
|
||||
};
|
||||
|
||||
struct EVENT_DATA_CHAR {
|
||||
int32_t ch;
|
||||
uint32_t metaKeyState;
|
||||
uint32_t repeat;
|
||||
};
|
||||
|
||||
struct EVENT_DATA_FOCUS {
|
||||
int32_t focus;
|
||||
};
|
||||
|
||||
struct EVENT_DATA_IDLE {
|
||||
float elapsedSec;
|
||||
uint32_t time;
|
||||
};
|
||||
|
||||
struct EVENT_DATA_KEY {
|
||||
KEY key;
|
||||
uint32_t metaKeyState;
|
||||
uint32_t repeat;
|
||||
uint32_t time;
|
||||
};
|
||||
|
||||
struct EVENT_DATA_MOUSE {
|
||||
MOUSEMODE mode;
|
||||
MOUSEBUTTON button;
|
||||
uint32_t buttonState;
|
||||
uint32_t metaKeyState;
|
||||
uint32_t flags;
|
||||
float x;
|
||||
float y;
|
||||
int32_t wheelDistance;
|
||||
uint32_t time;
|
||||
};
|
||||
|
||||
struct EVENT_DATA_SIZE {
|
||||
int32_t w;
|
||||
int32_t h;
|
||||
};
|
||||
|
||||
#endif
|
||||
35
profile/3.3.5a-windows/include/framescript/event_object.h
Normal file
35
profile/3.3.5a-windows/include/framescript/event_object.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef FRAMESCRIPT_EVENT_OBJECT_H
|
||||
#define FRAMESCRIPT_EVENT_OBJECT_H
|
||||
|
||||
#include "storm/hash.h"
|
||||
|
||||
#include "framescript/object.h"
|
||||
|
||||
#include "ui/simpleframe.h"
|
||||
|
||||
DECLARE_STRUCT(FrameScript_EventObject);
|
||||
DECLARE_STRUCT(SIMPLEFRAMENODE);
|
||||
DECLARE_STRUCT(EVENTLISTENERNODE);
|
||||
|
||||
STORM_TS_LIST(SIMPLEFRAMENODE);
|
||||
STORM_TS_LIST(EVENTLISTENERNODE);
|
||||
|
||||
// struct SIMPLEFRAMENODE : TSLinkedNode<SIMPLEFRAMENODE>
|
||||
struct SIMPLEFRAMENODE {
|
||||
TSLinkedNode_SIMPLEFRAMENODE b_base;
|
||||
CSimpleFrame* frame;
|
||||
};
|
||||
|
||||
// struct EVENTLISTENERNODE : TSLinkedNode<EVENTLISTENERNODE> {
|
||||
struct EVENTLISTENERNODE {
|
||||
TSLinkedNode_EVENTLISTENERNODE b_base;
|
||||
FrameScript_Object* listener;
|
||||
};
|
||||
|
||||
STORM_TS_HASH(FrameScript_EventObject, HASHKEY_STRI)
|
||||
|
||||
struct FrameScript_EventObject {
|
||||
TSHashObject_FrameScript_EventObject_HASHKEY_STRI b_base;
|
||||
};
|
||||
|
||||
#endif
|
||||
15
profile/3.3.5a-windows/include/framescript/object.h
Normal file
15
profile/3.3.5a-windows/include/framescript/object.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#ifndef FRAMESCRIPT_OBJECT_H
|
||||
#define FRAMESCRIPT_OBJECT_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(FrameScript_Object);
|
||||
|
||||
struct FrameScript_Object {
|
||||
void** v_vtable;
|
||||
int32_t lua_registered;
|
||||
int32_t lua_objectRef;
|
||||
int32_t m_onEvent;
|
||||
};
|
||||
|
||||
#endif
|
||||
17
profile/3.3.5a-windows/include/gx/batch.h
Normal file
17
profile/3.3.5a-windows/include/gx/batch.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef GX_BATCH_H
|
||||
#define GX_BATCH_H
|
||||
|
||||
#include "gx/types.h"
|
||||
|
||||
typedef struct CGxBatch CGxBatch;
|
||||
|
||||
struct CGxBatch {
|
||||
// Member variables
|
||||
EGxPrim m_primType;
|
||||
uint32_t m_start;
|
||||
uint32_t m_count;
|
||||
uint16_t m_minIndex;
|
||||
uint16_t m_maxIndex;
|
||||
};
|
||||
|
||||
#endif
|
||||
136
profile/3.3.5a-windows/include/gx/buffer.h
Normal file
136
profile/3.3.5a-windows/include/gx/buffer.h
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
#ifndef GX_BUFFER_H
|
||||
#define GX_BUFFER_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/list.h"
|
||||
#include "tempest/vector.h"
|
||||
|
||||
typedef enum EGxPoolHintBits EGxPoolHintBits;
|
||||
typedef enum EGxPoolTarget EGxPoolTarget;
|
||||
typedef enum EGxPoolUsage EGxPoolUsage;
|
||||
typedef enum EGxVertexAttrib EGxVertexAttrib;
|
||||
typedef enum EGxVertexBufferFormat EGxVertexBufferFormat;
|
||||
typedef struct ubyte4 ubyte4;
|
||||
typedef struct CGxVertexAttrib CGxVertexAttrib;
|
||||
typedef struct CGxVertexPBNT2 CGxVertexPBNT2;
|
||||
typedef struct CGxVertexPCT CGxVertexPCT;
|
||||
typedef struct CGxPool CGxPool;
|
||||
typedef struct CGxBuf CGxBuf;
|
||||
|
||||
enum EGxPoolHintBits {
|
||||
GxPoolHintBit_Unk0 = 0,
|
||||
GxPoolHintBit_Unk1 = 1,
|
||||
GxPoolHintBit_Unk2 = 2,
|
||||
GxPoolHintBit_Unk3 = 3
|
||||
};
|
||||
|
||||
enum EGxPoolTarget {
|
||||
GxPoolTarget_Vertex = 0,
|
||||
GxPoolTarget_Index = 1,
|
||||
GxPoolTargets_Last = 2
|
||||
};
|
||||
|
||||
enum EGxPoolUsage {
|
||||
GxPoolUsage_Static = 0,
|
||||
GxPoolUsage_Dynamic = 1,
|
||||
GxPoolUsage_Stream = 2,
|
||||
GxPoolUsages_Last = 3
|
||||
};
|
||||
|
||||
enum EGxVertexAttrib {
|
||||
GxVA_Position = 0,
|
||||
GxVA_BlendWeight = 1,
|
||||
GxVA_BlendIndices = 2,
|
||||
GxVA_Normal = 3,
|
||||
GxVA_Color0 = 4,
|
||||
GxVA_Color1 = 5,
|
||||
GxVA_TexCoord0 = 6,
|
||||
GxVA_TexCoord1 = 7,
|
||||
GxVA_TexCoord2 = 8,
|
||||
GxVA_TexCoord3 = 9,
|
||||
GxVA_TexCoord4 = 10,
|
||||
GxVA_TexCoord5 = 11,
|
||||
GxVA_TexCoord6 = 12,
|
||||
GxVA_TexCoord7 = 13,
|
||||
GxVAs_Last = 14
|
||||
};
|
||||
|
||||
enum EGxVertexBufferFormat {
|
||||
GxVBF_P = 0,
|
||||
GxVBF_PN = 1,
|
||||
GxVBF_PNC = 2,
|
||||
GxVBF_PNT = 3,
|
||||
GxVBF_PNCT = 4,
|
||||
GxVBF_PNT2 = 5,
|
||||
GxVBF_PNCT2 = 6,
|
||||
GxVBF_PC = 7,
|
||||
GxVBF_PCT = 8,
|
||||
GxVBF_PCT2 = 9,
|
||||
GxVBF_PT = 10,
|
||||
GxVBF_PT2 = 11,
|
||||
GxVBF_PBNT2 = 12,
|
||||
GxVBF_PNC2T2 = 13,
|
||||
GxVertexBufferFormats_Last = 14
|
||||
};
|
||||
|
||||
struct ubyte4 {
|
||||
union {
|
||||
uint8_t b[4];
|
||||
uint32_t u;
|
||||
};
|
||||
};
|
||||
|
||||
struct CGxVertexAttrib {
|
||||
EGxVertexAttrib attrib;
|
||||
uint32_t type;
|
||||
uint32_t offset;
|
||||
uint32_t bufSize;
|
||||
};
|
||||
|
||||
struct CGxVertexPBNT2 {
|
||||
C3Vector p;
|
||||
ubyte4 bw;
|
||||
ubyte4 bi;
|
||||
C3Vector n;
|
||||
C2Vector tc[2];
|
||||
};
|
||||
|
||||
struct CGxVertexPCT {
|
||||
C3Vector p;
|
||||
CImVector c;
|
||||
C2Vector tc[1];
|
||||
};
|
||||
|
||||
STORM_TS_LIST(CGxBuf);
|
||||
STORM_TS_LIST(CGxPool);
|
||||
|
||||
// class CGxPool : public TSLinkedNode<CGxPool>
|
||||
struct CGxPool {
|
||||
TSLinkedNode_CGxPool b_base;
|
||||
EGxPoolTarget m_target;
|
||||
EGxPoolUsage m_usage;
|
||||
int32_t m_size;
|
||||
void* m_apiSpecific;
|
||||
void* m_mem;
|
||||
int32_t unk1C; // TODO
|
||||
TSList_CGxBuf m_bufList;
|
||||
EGxPoolHintBits m_hint;
|
||||
const char* m_name;
|
||||
};
|
||||
|
||||
// class CGxBuf : public TSLinkedNode<CGxBuf>
|
||||
struct CGxBuf {
|
||||
TSLinkedNode_CGxBuf b_base;
|
||||
CGxPool* m_pool;
|
||||
uint32_t m_itemSize;
|
||||
uint32_t m_itemCount;
|
||||
uint32_t m_size;
|
||||
uint32_t m_index;
|
||||
uint8_t unk1C; // TODO
|
||||
uint8_t unk1D; // TODO
|
||||
uint8_t unk1E; // TODO
|
||||
uint8_t unk1F; // TODO
|
||||
};
|
||||
|
||||
#endif
|
||||
61
profile/3.3.5a-windows/include/gx/caps.h
Normal file
61
profile/3.3.5a-windows/include/gx/caps.h
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
#ifndef GX_CAPS_H
|
||||
#define GX_CAPS_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "gx/types.h"
|
||||
|
||||
typedef struct CGxCaps CGxCaps;
|
||||
|
||||
struct CGxCaps {
|
||||
int32_t m_numTmus;
|
||||
int32_t m_pixelCenterOnEdge;
|
||||
int32_t m_texelCenterOnEdge;
|
||||
int32_t m_numStreams;
|
||||
int32_t int10;
|
||||
EGxColorFormat m_colorFormat;
|
||||
uint32_t unk18;
|
||||
uint32_t m_maxIndex;
|
||||
int32_t m_generateMipMaps;
|
||||
// int32_t m_texFmt[GxTexFormats_Last];
|
||||
int32_t m_texFmt[13];
|
||||
// int32_t m_texTarget[GxTexTargets_Last];
|
||||
int32_t m_texTarget[4];
|
||||
uint32_t unk68;
|
||||
// uint32_t m_texMaxSize[GxTexTargets_Last];
|
||||
uint32_t m_texMaxSize[4];
|
||||
uint32_t unk7C;
|
||||
uint32_t unk80;
|
||||
uint32_t unk84;
|
||||
uint32_t unk88;
|
||||
uint32_t unk8C;
|
||||
uint32_t unk90;
|
||||
uint32_t unk94;
|
||||
uint32_t unk98;
|
||||
uint32_t unk9C;
|
||||
uint32_t unkA0;
|
||||
uint32_t unkA4;
|
||||
uint32_t unkA8;
|
||||
int32_t hwPcf;
|
||||
uint32_t unkB0;
|
||||
// int32_t m_shaderTargets[GxShTargets_Last];
|
||||
int32_t m_shaderTargets[6];
|
||||
// Evidence for this: go to 0x00684CD8
|
||||
uint32_t m_shaderConstants[6];
|
||||
int32_t m_texFilterTrilinear;
|
||||
int32_t m_texFilterAnisotropic;
|
||||
uint32_t m_maxTexAnisotropy;
|
||||
int32_t m_depthBias;
|
||||
uint32_t unkF4;
|
||||
int32_t m_maxClipPlanes;
|
||||
// CGxDeviceD3d::ISetCaps
|
||||
int32_t m_hardwareCursor;
|
||||
uint32_t unk100[5];
|
||||
uint32_t unk114[6];
|
||||
int32_t m_stereoAvailable;
|
||||
int32_t int130;
|
||||
int32_t int134;
|
||||
int32_t int138;
|
||||
};
|
||||
|
||||
#endif
|
||||
46
profile/3.3.5a-windows/include/gx/d3d9.h
Normal file
46
profile/3.3.5a-windows/include/gx/d3d9.h
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#ifndef GX_D3D9_H
|
||||
#define GX_D3D9_H
|
||||
|
||||
#include "gx/device.h"
|
||||
|
||||
#include "d3d9/device.h"
|
||||
|
||||
typedef struct CGxDeviceD3d CGxDeviceD3d;
|
||||
|
||||
struct CGxDeviceD3d {
|
||||
CGxDevice b_base;
|
||||
void* m_hwnd;
|
||||
uint16_t m_hwndClass;
|
||||
uint16_t unk396E;
|
||||
int32_t m_ownhwnd;
|
||||
void* m_d3dLib;
|
||||
IDirect3D9* m_d3d;
|
||||
IDirect3DDevice9* m_d3dDevice;
|
||||
D3DCAPS9 m_d3dCaps;
|
||||
int32_t m_d3dIsHwDevice;
|
||||
uint32_t unk3AB4[11];
|
||||
IDirect3DVertexDeclaration9* m_d3dVertexDecl[14];
|
||||
D3DDISPLAYMODE m_desktopDisplayMode;
|
||||
int32_t m_inScene;
|
||||
uint32_t unk3B2C;
|
||||
D3DFORMAT m_devDepthFormat;
|
||||
D3DFORMAT m_devAdapterFormat;
|
||||
uint32_t unk3B38;
|
||||
IDirect3DSurface9* m_defColorSurface;
|
||||
IDirect3DSurface9* m_defDepthSurface;
|
||||
uint32_t unk3B44;
|
||||
uint32_t unk3B48;
|
||||
int32_t m_hwCursorNeedsUpdate;
|
||||
IDirect3DTexture9* m_hwCursorTexture;
|
||||
IDirect3DSurface9* m_hwCursorBitmap;
|
||||
uint32_t unk3B58;
|
||||
IDirect3DVertexDeclaration9* m_d3dCurrentVertexDecl;
|
||||
IDirect3DIndexBuffer9* m_d3dCurrentIndexBuf;
|
||||
IDirect3DVertexBuffer9* m_d3dVertexStreamBuf[8];
|
||||
uint32_t m_d3dVertexStreamOfs[8];
|
||||
uint32_t m_d3dVertexStreamStride[8];
|
||||
uint32_t m_deviceStates[182];
|
||||
bool m_texEnabled[8];
|
||||
};
|
||||
|
||||
#endif
|
||||
254
profile/3.3.5a-windows/include/gx/device.h
Normal file
254
profile/3.3.5a-windows/include/gx/device.h
Normal file
|
|
@ -0,0 +1,254 @@
|
|||
#ifndef GX_DEVICE_H
|
||||
#define GX_DEVICE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
#include "storm/array/uint32_t.h"
|
||||
|
||||
#include "tempest/box.h"
|
||||
#include "tempest/matrix.h"
|
||||
#include "tempest/rect.h"
|
||||
#include "tempest/vector.h"
|
||||
|
||||
#include "gx/types.h"
|
||||
#include "gx/caps.h"
|
||||
#include "gx/format.h"
|
||||
#include "gx/state_bom.h"
|
||||
#include "gx/shader.h"
|
||||
#include "gx/matrix_stack.h"
|
||||
#include "gx/buffer.h"
|
||||
#include "gx/texture.h"
|
||||
|
||||
typedef struct CGxAppRenderState CGxAppRenderState;
|
||||
typedef struct CGxPushedRenderState CGxPushedRenderState;
|
||||
typedef struct ShaderConstants ShaderConstants;
|
||||
typedef struct CGxDevice CGxDevice;
|
||||
typedef struct CGxDevice__vtable CGxDevice__vtable;
|
||||
|
||||
struct CGxAppRenderState {
|
||||
CGxStateBom m_value;
|
||||
uint32_t m_stackDepth;
|
||||
int32_t m_dirty;
|
||||
};
|
||||
STORM_TS_FIXED_ARRAY(CGxAppRenderState);
|
||||
|
||||
struct CGxPushedRenderState {
|
||||
EGxRenderState m_which;
|
||||
CGxStateBom m_value;
|
||||
uint32_t m_stackDepth;
|
||||
};
|
||||
STORM_TS_GROWABLE_ARRAY(CGxPushedRenderState);
|
||||
|
||||
struct ShaderConstants {
|
||||
C4Vector constants[256];
|
||||
uint32_t unk1;
|
||||
uint32_t unk2;
|
||||
};
|
||||
|
||||
// 84 functions
|
||||
struct CGxDevice__vtable {
|
||||
// void ITexMarkAsUpdated(CGxTex*, uint32_t);
|
||||
void* v_fn_0_ITexMarkAsUpdated;
|
||||
// void IRsSendToHw(EGxRenderState);
|
||||
void* v_fn_1_IRsSendToHw;
|
||||
// void ICursorCreate(const CGxFormat&);
|
||||
void* v_fn_2_ICursorCreate;
|
||||
// void ICursorDestroy();
|
||||
void* v_fn_3_ICursorDestroy;
|
||||
// void ICursorDraw();
|
||||
void* v_fn_4_ICursorDraw;
|
||||
// don't know if this ever gets called (IStateSync something?)
|
||||
void* v_fn_5;
|
||||
// don't know if this ever gets called (IStateSync something?)
|
||||
void* v_fn_6;
|
||||
// don't know if this ever gets called (IStateSync something?)
|
||||
void* v_fn_7;
|
||||
// don't know if this ever gets called (something deleted?)
|
||||
void* v_fn_8;
|
||||
void* v_fn_9;
|
||||
// int32_t DeviceCreate(long (*)(void*, uint32_t, uint32_t, int32_t), CGxFormat const&);
|
||||
void* v_fn_10_DeviceCreate;
|
||||
// void DeviceDestroy();
|
||||
void* v_fn_11_DeviceDestroy;
|
||||
void* v_fn_12;
|
||||
// int32_t DeviceSetFormat(struct CGxFormat const &);
|
||||
void* v_fn_13_DeviceSetFormat;
|
||||
// void DeviceSetBaseMipLevel(uint32_t);
|
||||
void* v_fn_14_DeviceSetBaseMipLevel;
|
||||
// void DeviceSetGamma(CGxGammaRamp const&);
|
||||
void* v_fn_15_DeviceSetGamma;
|
||||
void* v_fn_16;
|
||||
void* v_fn_17;
|
||||
void* v_fn_18;
|
||||
void* v_fn_19;
|
||||
void* v_fn_20;
|
||||
void* v_fn_21;
|
||||
// void DeviceWM(EGxWM, int32_t, int32_t);
|
||||
void* v_fn_22_DeviceWM;
|
||||
void* v_fn_23;
|
||||
void* v_fn_24;
|
||||
void* v_fn_25;
|
||||
void* v_fn_26;
|
||||
void* v_fn_27;
|
||||
// void DeviceOverride(EGxOverride, uint32_t);
|
||||
void* v_fn_28_DeviceOverride;
|
||||
void* v_fn_29;
|
||||
void* v_fn_30;
|
||||
void* v_fn_31;
|
||||
void* v_fn_32;
|
||||
void* v_fn_33;
|
||||
void* v_fn_34;
|
||||
// void CapsWindowSize(CRect&);
|
||||
void* v_fn_35_CapsWindowSize;
|
||||
// void CapsWindowSize(CRect&);
|
||||
void* v_fn_36_CapsWindowSizeInScreenCoords;
|
||||
void* v_fn_37;
|
||||
// void ScenePresent(uint32_t);
|
||||
void* v_fn_38_ScenePresent;
|
||||
// void SceneClear(uint32_t, CImVector);
|
||||
void* v_fn_39_SceneClear;
|
||||
// void XformSetProjection(const C44Matrix&);
|
||||
void* v_fn_40_XformSetProjection;
|
||||
// void XformSetView(const C44Matrix&);
|
||||
void* v_fn_41_XformSetView;
|
||||
// void Draw(CGxBatch*, int32_t);
|
||||
void* v_fn_42_Draw;
|
||||
void* v_fn_43;
|
||||
void* v_fn_44;
|
||||
void* v_fn_45;
|
||||
void* v_fn_46;
|
||||
void* v_fn_47;
|
||||
void* v_fn_48;
|
||||
void* v_fn_49;
|
||||
void* v_fn_50;
|
||||
// void MasterEnableSet(EGxMasterEnables, int);
|
||||
void* v_fn_51_MasterEnableSet;
|
||||
// void PoolSizeSet(CGxPool*, uint32_t);
|
||||
void* v_fn_52_PoolSizeSet;
|
||||
// void PoolDestroy(CGxPool*);
|
||||
void* v_fn_53_PoolDestroy;
|
||||
// char* BufLock(CGxBuf*);
|
||||
void* v_fn_54_BufLock;
|
||||
// int32_t BufUnlock(CGxBuf*, uint32_t);
|
||||
void* v_fn_55_BufUnlock;
|
||||
// void BufData(CGxBuf*, void const*, uint32_t, uint32_t);
|
||||
void* v_fn_56_BufData;
|
||||
// int32_t TexCreate(EGxTexTarget, uint32_t, uint32_t, uint32_t, EGxTexFormat, EGxTexFormat, CGxTexFlags, void*, void (*)(EGxTexCommand, uint32_t, uint32_t, uint32_t, uint32_t, void*, uint32_t&, void const*&), char const*, CGxTex*&);
|
||||
void* v_fn_57_TexCreate;
|
||||
// void TexDestroy(CGxTex*);
|
||||
void* v_fn_58_TexDestroy;
|
||||
// int32_t TexCopy(CGxTex*, CGxTex*, const C2iVector&, const C2iVector&, const C2iVector&, uint32_t);
|
||||
void* v_fn_59_TexCopy;
|
||||
void* v_fn_60;
|
||||
void* v_fn_61;
|
||||
void* v_fn_62;
|
||||
void* v_fn_63;
|
||||
void* v_fn_64;
|
||||
void* v_fn_65;
|
||||
void* v_fn_66;
|
||||
void* v_fn_67;
|
||||
// void ShaderCreate(CGxShader*[], EGxShTarget, const char*, const char*, int32_t);
|
||||
void* v_fn_68_ShaderCreate;
|
||||
void* v_fn_69;
|
||||
// void ShaderConstantsSet(EGxShTarget, uint32_t, const float*, uint32_t);
|
||||
void* v_fn_70_ShaderConstantsSet;
|
||||
void* v_fn_71;
|
||||
// void IShaderCreate(CGxShader*);
|
||||
void* v_fn_72_IShaderCreate;
|
||||
// void CursorSetVisible(int32_t);
|
||||
void* v_fn_73_CursorSetVisible;
|
||||
// void* CursorLock();
|
||||
void* v_fn_74_CursorLock;
|
||||
// void CursorUnlock(uint32_t, uint32_t);
|
||||
void* v_fn_75_CursorUnlock;
|
||||
void* v_fn_76;
|
||||
void* v_fn_77;
|
||||
void* v_fn_78;
|
||||
void* v_fn_79;
|
||||
// bool StereoEnabled();
|
||||
void* v_fn_80_StereoEnabled;
|
||||
void* v_fn_81;
|
||||
void* v_fn_82;
|
||||
void* v_fn_83;
|
||||
};
|
||||
|
||||
// this class is at least 14688 bytes in size
|
||||
struct CGxDevice {
|
||||
// pointer to struct CGxDevice__vtable
|
||||
CGxDevice__vtable* v_vtable; // 0x0 (size: 0x4)
|
||||
TSGrowableArray_CGxPushedRenderState m_pushedStates; // 0x4 (size: 0x14)
|
||||
TSGrowableArray_uint32_t m_stackOffsets; // 0x18 (size: 0x14)
|
||||
TSGrowableArray_EGxRenderState m_dirtyStates; // 0x2C (size: 0x14)
|
||||
uint32_t m_unk34[76];
|
||||
CRect m_defWindowRect; // 0x164 (size: 0x10)
|
||||
CRect m_curWindowRect; // 0x174 (size: 0x10)
|
||||
uint32_t m_unk184[12];
|
||||
EGxApi m_api; // 0x1b4
|
||||
uint32_t m_cpuFeatures;
|
||||
CGxFormat m_format;
|
||||
CGxCaps m_caps;
|
||||
uint32_t m_baseMipLevel;
|
||||
CGxGammaRamp m_gammaRamp;
|
||||
CGxGammaRamp m_systemGammaRamp;
|
||||
// TSHashTable_CGxShader_HASHKEY_STRI m_shaderList[GxShTargets_Last];
|
||||
// TSHashTable_CGxShader_HASHKEY_STRI m_shaderList[6];
|
||||
int32_t (*m_windowProc)(void* window, uint32_t message, uintptr_t wparam, intptr_t lparam);
|
||||
int32_t m_context;
|
||||
int32_t intF5C;
|
||||
int32_t m_windowVisible;
|
||||
int32_t intF64;
|
||||
int32_t intF68;
|
||||
int32_t intF6C;
|
||||
CBoundingBox m_viewport;
|
||||
C44Matrix m_projection;
|
||||
C44Matrix m_projNative;
|
||||
// CGxMatrixStack m_xforms[GxXforms_Last];
|
||||
CGxMatrixStack m_xforms[11];
|
||||
CGxMatrixStack m_texGen[8];
|
||||
uint32_t unk24D0[162];
|
||||
uint32_t m_appMasterEnables;
|
||||
uint32_t m_hwMasterEnables;
|
||||
TSList_CGxPool m_poolList;
|
||||
uint32_t unk276C[3];
|
||||
// CGxBuf* m_bufLocked[GxPoolTargets_Last];
|
||||
CGxBuf* m_bufLocked[2];
|
||||
CGxPool* m_vertexPool;
|
||||
CGxPool* m_indexPool;
|
||||
// CGxBuf* m_streamBufs[GxPoolTargets_Last];
|
||||
CGxBuf* m_streamBufs[2];
|
||||
// CGxVertexAttrib m_primVertexFormatAttrib[GxVertexBufferFormats_Last];
|
||||
CGxVertexAttrib m_primVertexFormatAttrib[14];
|
||||
// CGxBuf* m_primVertexFormatBuf[GxVertexBufferFormats_Last];
|
||||
CGxBuf* m_primVertexFormatBuf[14];
|
||||
uint32_t m_primVertexMask;
|
||||
uint32_t m_primVertexDirty;
|
||||
EGxVertexBufferFormat m_primVertexFormat;
|
||||
CGxBuf* m_primVertexBuf;
|
||||
uint32_t m_primVertexSize;
|
||||
CGxBuf* m_primIndexBuf;
|
||||
int32_t m_primIndexDirty;
|
||||
uint32_t unk28C4;
|
||||
uint32_t unk28C8;
|
||||
uint32_t unk28CC;
|
||||
uint32_t unk28D0;
|
||||
uint32_t unk28D4;
|
||||
uint32_t unk28D8;
|
||||
uint32_t unk28DC;
|
||||
uint32_t unk28E0;
|
||||
uint32_t unk28E4;
|
||||
uint32_t unk28E8;
|
||||
TSFixedArray_CGxAppRenderState m_appRenderStates;
|
||||
TSFixedArray_CGxStateBom m_hwRenderStates;
|
||||
uint32_t unk2904[19]; // 0x2904 (size 0x4C)
|
||||
int32_t m_cursorVisible;
|
||||
int32_t m_hardwareCursor; // 0x2954 (size 0x4)
|
||||
uint32_t m_cursorHotspotX;
|
||||
uint32_t m_cursorHotspotY;
|
||||
CImVector m_cursor[1024]; // 0x2960 (size 0x4)
|
||||
CGxTex* m_cursorTexture; // 0x3960 (size 0x4)
|
||||
float m_cursorDepth; // 0x3964 (size 0x4)
|
||||
// 0x3968 == 14692 (the complete size of CGxDevice)
|
||||
};
|
||||
|
||||
#endif
|
||||
50
profile/3.3.5a-windows/include/gx/format.h
Normal file
50
profile/3.3.5a-windows/include/gx/format.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#ifndef GX_FORMAT_H
|
||||
#define GX_FORMAT_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
typedef enum CGxFormat__Format CGxFormat__Format;
|
||||
typedef struct CGxFormat CGxFormat;
|
||||
|
||||
enum CGxFormat__Format {
|
||||
Fmt_Rgb565 = 0,
|
||||
Fmt_ArgbX888 = 1,
|
||||
Fmt_Argb8888 = 2,
|
||||
Fmt_Argb2101010 = 3,
|
||||
Fmt_Ds160 = 4,
|
||||
Fmt_Ds24X = 5,
|
||||
Fmt_Ds248 = 6,
|
||||
Fmt_Ds320 = 7,
|
||||
Formats_Last = 8
|
||||
};
|
||||
|
||||
struct CGxFormat {
|
||||
uint32_t unk0;
|
||||
bool hwTnL;
|
||||
// TODO: verify this name
|
||||
bool hwCursor; // 0x5
|
||||
int8_t fixLag;
|
||||
int8_t window;
|
||||
uint32_t unk8;
|
||||
int32_t maximize;
|
||||
CGxFormat__Format depthFormat;
|
||||
C2iVector size;
|
||||
uint32_t unk1C;
|
||||
uint32_t sampleCount;
|
||||
float float24;
|
||||
CGxFormat__Format colorFormat;
|
||||
uint32_t refreshRate;
|
||||
uint32_t vsync;
|
||||
uint32_t unk34;
|
||||
uint32_t unk38;
|
||||
uint32_t unk3C;
|
||||
uint32_t unk40;
|
||||
uint32_t unk44;
|
||||
uint32_t unk48;
|
||||
uint32_t unk4C;
|
||||
C2iVector pos;
|
||||
};
|
||||
|
||||
#endif
|
||||
22
profile/3.3.5a-windows/include/gx/matrix_stack.h
Normal file
22
profile/3.3.5a-windows/include/gx/matrix_stack.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef GX_MATRIX_STACK_H
|
||||
#define GX_MATRIX_STACK_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "tempest/matrix.h"
|
||||
|
||||
typedef enum CGxMatrixStack__EMatrixFlags CGxMatrixStack__EMatrixFlags;
|
||||
typedef struct CGxMatrixStack CGxMatrixStack;
|
||||
|
||||
enum CGxMatrixStack__EMatrixFlags {
|
||||
F_Identity = 0x1
|
||||
};
|
||||
|
||||
struct CGxMatrixStack {
|
||||
uint32_t m_level;
|
||||
int8_t m_dirty;
|
||||
C44Matrix m_mtx[4];
|
||||
uint32_t m_flags[4];
|
||||
};
|
||||
|
||||
#endif
|
||||
30
profile/3.3.5a-windows/include/gx/shader.h
Normal file
30
profile/3.3.5a-windows/include/gx/shader.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
#ifndef GX_SHADER_H
|
||||
#define GX_SHADER_H
|
||||
|
||||
#include "storm/hash.h"
|
||||
#include "storm/array/uint8_t.h"
|
||||
|
||||
typedef struct CGxShader CGxShader;
|
||||
|
||||
STORM_TS_HASH(CGxShader, HASHKEY_STRI);
|
||||
|
||||
// class CGxShader : public TSHashObject<CGxShader, HASHKEY_STRI>
|
||||
struct CGxShader {
|
||||
TSHashObject_CGxShader_HASHKEY_STRI b_base;
|
||||
uint32_t refCount;
|
||||
void* apiSpecific;
|
||||
int32_t target;
|
||||
int32_t int28;
|
||||
int32_t valid;
|
||||
int32_t loaded;
|
||||
int32_t int34;
|
||||
int32_t patched;
|
||||
int32_t int3C;
|
||||
int32_t int40;
|
||||
int16_t int44;
|
||||
int16_t int46;
|
||||
TSGrowableArray_uint8_t code;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
21
profile/3.3.5a-windows/include/gx/state_bom.h
Normal file
21
profile/3.3.5a-windows/include/gx/state_bom.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef GX_STATE_BOM_H
|
||||
#define GX_STATE_BOM_H
|
||||
|
||||
#include "system/types.h"
|
||||
#include "storm/array.h"
|
||||
|
||||
typedef struct CGxStateBom CGxStateBom;
|
||||
|
||||
struct CGxStateBom {
|
||||
union {
|
||||
int32_t i[3];
|
||||
uint32_t u[3];
|
||||
float f[3];
|
||||
void* p;
|
||||
} m_data;
|
||||
|
||||
int32_t filler;
|
||||
};
|
||||
STORM_TS_FIXED_ARRAY(CGxStateBom);
|
||||
|
||||
#endif
|
||||
50
profile/3.3.5a-windows/include/gx/texture.h
Normal file
50
profile/3.3.5a-windows/include/gx/texture.h
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
#ifndef GX_TEXTURE_H
|
||||
#define GX_TEXTURE_H
|
||||
|
||||
#include "tempest/rect.h"
|
||||
|
||||
typedef struct CGxTexFlags CGxTexFlags;
|
||||
typedef struct CGxTex CGxTex;
|
||||
|
||||
struct CGxTexFlags {
|
||||
// unsigned __int32 m_filter : 3;
|
||||
// unsigned __int32 m_wrapU : 1;
|
||||
// unsigned __int32 m_wrapV : 1;
|
||||
// unsigned __int32 m_forceMipTracking : 1;
|
||||
// unsigned __int32 m_generateMipMaps : 1;
|
||||
// unsigned __int32 m_renderTarget : 1;
|
||||
// unsigned __int32 m_maxAnisotropy : 5;
|
||||
uint32_t m_flags;
|
||||
};
|
||||
|
||||
struct CGxTex {
|
||||
CiRect m_updateRect;
|
||||
int16_t m_updatePlaneMin;
|
||||
int16_t m_updatePlaneMax;
|
||||
uint32_t m_width;
|
||||
uint32_t m_height;
|
||||
uint32_t m_depth;
|
||||
uint32_t m_target;
|
||||
uint32_t m_format;
|
||||
uint32_t m_dataFormat;
|
||||
CGxTexFlags m_flags;
|
||||
void* m_userArg;
|
||||
void* m_userFunc;
|
||||
void* m_apiSpecificData;
|
||||
void* m_apiSpecificData2;
|
||||
uint32_t unk40;
|
||||
uint32_t unk44;
|
||||
uint32_t unk48;
|
||||
uint32_t unk4C;
|
||||
uint32_t unk50;
|
||||
uint32_t unk54;
|
||||
int8_t char58;
|
||||
int8_t char59;
|
||||
int8_t m_needsUpdate;
|
||||
int8_t m_needsCreation;
|
||||
int8_t m_needsFlagUpdate;
|
||||
int8_t char5D;
|
||||
uint16_t m_pad;
|
||||
};
|
||||
|
||||
#endif
|
||||
397
profile/3.3.5a-windows/include/gx/types.h
Normal file
397
profile/3.3.5a-windows/include/gx/types.h
Normal file
|
|
@ -0,0 +1,397 @@
|
|||
#ifndef GX_TYPES_H
|
||||
#define GX_TYPES_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
|
||||
DECLARE_ENUM(BlitAlpha);
|
||||
DECLARE_ENUM(BlitFormat);
|
||||
DECLARE_ENUM(EGxApi);
|
||||
DECLARE_ENUM(EGxBlend);
|
||||
DECLARE_ENUM(EGxColorFormat);
|
||||
DECLARE_ENUM(EGxFontHJusts);
|
||||
DECLARE_ENUM(EGxFontVJusts);
|
||||
DECLARE_ENUM(EGxMasterEnables);
|
||||
DECLARE_ENUM(EGxPrim);
|
||||
DECLARE_ENUM(EGxPrimMask);
|
||||
DECLARE_ENUM(EGxRenderState);
|
||||
DECLARE_ENUM(EGxShPS);
|
||||
DECLARE_ENUM(EGxShTarget);
|
||||
DECLARE_ENUM(EGxShVS);
|
||||
DECLARE_ENUM(EGxTexCommand);
|
||||
DECLARE_ENUM(EGxTexFilter);
|
||||
DECLARE_ENUM(EGxTexFormat);
|
||||
DECLARE_ENUM(EGxTexTarget);
|
||||
DECLARE_ENUM(EGxTexWrapMode);
|
||||
DECLARE_ENUM(EGxXform);
|
||||
DECLARE_ENUM(EGxuDrawListCategory);
|
||||
DECLARE_ENUM(EGxWM);
|
||||
DECLARE_ENUM(COLOR_FILE_FORMAT);
|
||||
DECLARE_ENUM(PIXEL_FORMAT);
|
||||
|
||||
DECLARE_STRUCT(C4Pixel);
|
||||
DECLARE_STRUCT(C4LargePixel);
|
||||
DECLARE_STRUCT(MipBits);
|
||||
DECLARE_STRUCT(CGxGammaRamp);
|
||||
|
||||
enum BlitAlpha {
|
||||
BlitAlpha_0 = 0,
|
||||
BlitAlpha_1 = 1,
|
||||
BlitAlpha_8 = 2,
|
||||
BlitAlpha_Filler = 3,
|
||||
BlitAlphas_Last = 4
|
||||
};
|
||||
|
||||
enum BlitFormat {
|
||||
BlitFormat_Unknown = 0,
|
||||
BlitFormat_Abgr8888 = 1,
|
||||
BlitFormat_Argb8888 = 2,
|
||||
BlitFormat_Argb4444 = 3,
|
||||
BlitFormat_Argb1555 = 4,
|
||||
BlitFormat_Rgb565 = 5,
|
||||
BlitFormat_Dxt1 = 6,
|
||||
BlitFormat_Dxt3 = 7,
|
||||
BlitFormat_Dxt5 = 8,
|
||||
BlitFormat_Uv88 = 9,
|
||||
BlitFormat_Gr1616F = 10,
|
||||
BlitFormat_R32F = 11,
|
||||
BlitFormat_D24X8 = 12,
|
||||
BlitFormats_Last = 13
|
||||
};
|
||||
|
||||
enum EGxApi {
|
||||
GxApi_OpenGl = 0,
|
||||
GxApi_D3d9 = 1,
|
||||
GxApi_D3d9Ex = 2,
|
||||
GxApi_D3d10 = 3,
|
||||
GxApi_D3d11 = 4,
|
||||
GxApi_GLL = 5,
|
||||
GxApis_Last = 6
|
||||
};
|
||||
|
||||
enum EGxBlend {
|
||||
GxBlend_Opaque = 0,
|
||||
GxBlend_AlphaKey = 1,
|
||||
GxBlend_Alpha = 2,
|
||||
GxBlend_Add = 3,
|
||||
GxBlend_Mod = 4,
|
||||
GxBlend_Mod2x = 5,
|
||||
GxBlend_ModAdd = 6,
|
||||
GxBlend_InvSrcAlphaAdd = 7,
|
||||
GxBlend_InvSrcAlphaOpaque = 8,
|
||||
GxBlend_SrcAlphaOpaque = 9,
|
||||
GxBlend_NoAlphaAdd = 10,
|
||||
GxBlend_ConstantAlpha = 11,
|
||||
GxBlends_Last = 12
|
||||
};
|
||||
|
||||
enum EGxColorFormat {
|
||||
GxCF_argb = 0,
|
||||
GxCF_rgba = 1,
|
||||
GxColorFormats_Last = 2,
|
||||
};
|
||||
|
||||
enum EGxFontHJusts {
|
||||
GxHJ_Left = 0,
|
||||
GxHJ_Center = 1,
|
||||
GxHJ_Right = 2,
|
||||
GxHJ_Last = 3
|
||||
};
|
||||
|
||||
enum EGxFontVJusts {
|
||||
GxVJ_Top = 0,
|
||||
GxVJ_Middle = 1,
|
||||
GxVJ_Bottom = 2,
|
||||
GxVJ_Last = 3
|
||||
};
|
||||
|
||||
enum EGxMasterEnables {
|
||||
GxMasterEnable_Lighting = 0,
|
||||
GxMasterEnable_Fog = 1,
|
||||
GxMasterEnable_DepthTest = 2,
|
||||
GxMasterEnable_DepthWrite = 3,
|
||||
GxMasterEnable_ColorWrite = 4,
|
||||
GxMasterEnable_Culling = 5,
|
||||
GxMasterEnable_DoubleBuffering = 6,
|
||||
GxMasterEnable_NormalProjection = 7,
|
||||
GxMasterEnable_PolygonFill = 8,
|
||||
GxMasterEnables_Last = 9
|
||||
};
|
||||
|
||||
enum EGxPrim {
|
||||
GxPrim_Points = 0,
|
||||
GxPrim_Lines = 1,
|
||||
GxPrim_LineStrip = 2,
|
||||
GxPrim_Triangles = 3,
|
||||
GxPrim_TriangleStrip = 4,
|
||||
GxPrim_TriangleFan = 5,
|
||||
GxPrims_Last = 6
|
||||
};
|
||||
|
||||
enum EGxPrimMask {
|
||||
GxPrim_Position = 0x1,
|
||||
GxPrim_BlendWeight = 0x2,
|
||||
GxPrim_BlendIndices = 0x4,
|
||||
GxPrim_Normal = 0x8,
|
||||
GxPrim_Color0 = 0x10,
|
||||
GxPrim_Color1 = 0x20,
|
||||
GxPrim_TexCoord0 = 0x40,
|
||||
GxPrim_TexCoord1 = 0x80
|
||||
};
|
||||
|
||||
enum EGxRenderState {
|
||||
GxRs_PolygonOffset = 0,
|
||||
GxRs_MatDiffuse = 1,
|
||||
GxRs_MatEmissive = 2,
|
||||
GxRs_MatSpecular = 3,
|
||||
GxRs_MatSpecularExp = 4,
|
||||
GxRs_NormalizeNormals = 5,
|
||||
GxRs_BlendingMode = 6,
|
||||
GxRs_AlphaRef = 7,
|
||||
GxRs_FogStart = 8,
|
||||
GxRs_FogEnd = 9,
|
||||
GxRs_FogColor = 10,
|
||||
GxRs_Lighting = 11,
|
||||
GxRs_Fog = 12,
|
||||
GxRs_DepthTest = 13,
|
||||
GxRs_DepthFunc = 14,
|
||||
GxRs_DepthWrite = 15,
|
||||
GxRs_ColorWrite = 16,
|
||||
GxRs_Culling = 17,
|
||||
GxRs_ClipPlaneMask = 18,
|
||||
GxRs_Multisample = 19,
|
||||
GxRs_ScissorTest = 20,
|
||||
GxRs_Texture0 = 21,
|
||||
GxRs_Texture1 = 22,
|
||||
GxRs_Texture2 = 23,
|
||||
GxRs_Texture3 = 24,
|
||||
GxRs_Texture4 = 25,
|
||||
GxRs_Texture5 = 26,
|
||||
GxRs_Texture6 = 27,
|
||||
GxRs_Texture7 = 28,
|
||||
GxRs_Texture8 = 29,
|
||||
GxRs_Texture9 = 30,
|
||||
GxRs_Texture10 = 31,
|
||||
GxRs_Texture11 = 32,
|
||||
GxRs_Texture12 = 33,
|
||||
GxRs_Texture13 = 34,
|
||||
GxRs_Texture14 = 35,
|
||||
GxRs_Texture15 = 36,
|
||||
GxRs_ColorOp0 = 37,
|
||||
GxRs_ColorOp1 = 38,
|
||||
GxRs_ColorOp2 = 39,
|
||||
GxRs_ColorOp3 = 40,
|
||||
GxRs_ColorOp4 = 41,
|
||||
GxRs_ColorOp5 = 42,
|
||||
GxRs_ColorOp6 = 43,
|
||||
GxRs_ColorOp7 = 44,
|
||||
GxRs_AlphaOp0 = 45,
|
||||
GxRs_AlphaOp1 = 46,
|
||||
GxRs_AlphaOp2 = 47,
|
||||
GxRs_AlphaOp3 = 48,
|
||||
GxRs_AlphaOp4 = 49,
|
||||
GxRs_AlphaOp5 = 50,
|
||||
GxRs_AlphaOp6 = 51,
|
||||
GxRs_AlphaOp7 = 52,
|
||||
GxRs_TexGen0 = 53,
|
||||
GxRs_TexGen1 = 54,
|
||||
GxRs_TexGen2 = 55,
|
||||
GxRs_TexGen3 = 56,
|
||||
GxRs_TexGen4 = 57,
|
||||
GxRs_TexGen5 = 58,
|
||||
GxRs_TexGen6 = 59,
|
||||
GxRs_TexGen7 = 60,
|
||||
GxRs_Unk61 = 61,
|
||||
GxRs_Unk62 = 62,
|
||||
GxRs_Unk63 = 63,
|
||||
GxRs_Unk64 = 64,
|
||||
GxRs_Unk65 = 65,
|
||||
GxRs_Unk66 = 66,
|
||||
GxRs_Unk67 = 67,
|
||||
GxRs_Unk68 = 68,
|
||||
GxRs_Unk69 = 69,
|
||||
GxRs_Unk70 = 70,
|
||||
GxRs_Unk71 = 71,
|
||||
GxRs_Unk72 = 72,
|
||||
GxRs_Unk73 = 73,
|
||||
GxRs_Unk74 = 74,
|
||||
GxRs_Unk75 = 75,
|
||||
GxRs_Unk76 = 76,
|
||||
GxRs_VertexShader = 77,
|
||||
GxRs_PixelShader = 78,
|
||||
GxRs_PointScale = 79,
|
||||
GxRs_PointScaleAttenuation = 80,
|
||||
GxRs_PointScaleMin = 81,
|
||||
GxRs_PointScaleMax = 82,
|
||||
GxRs_PointSprite = 83,
|
||||
GxRs_Unk84 = 84,
|
||||
GxRs_ColorMaterial = 85,
|
||||
GxRenderStates_Last = 86
|
||||
};
|
||||
STORM_TS_GROWABLE_ARRAY(EGxRenderState);
|
||||
|
||||
enum EGxShPS {
|
||||
GxShPS_none = 0,
|
||||
GxShPS_ps_1_1 = 1,
|
||||
GxShPS_ps_1_4 = 2,
|
||||
GxShPS_ps_2_0 = 3,
|
||||
GxShPS_ps_3_0 = 4,
|
||||
GxShPS_ps_4_0 = 5,
|
||||
GxShPS_ps_5_0 = 6,
|
||||
GxShPS_nvrc = 7,
|
||||
GxShPS_nvts = 8,
|
||||
GxShPS_nvts2 = 9,
|
||||
GxShPS_nvts3 = 10,
|
||||
GxShPS_nvfp2 = 11,
|
||||
GxShPS_arbfp1 = 12,
|
||||
GxShPS_glsl = 13,
|
||||
};
|
||||
|
||||
enum EGxShTarget {
|
||||
GxSh_Vertex = 0,
|
||||
GxSh_Hull = 1,
|
||||
GxSh_Domain = 2,
|
||||
GxSh_Geometry = 3,
|
||||
GxSh_Pixel = 4,
|
||||
GxSh_Compute = 5,
|
||||
GxShTargets_Last = 6
|
||||
};
|
||||
|
||||
enum EGxShVS {
|
||||
GxShVS_none = 0,
|
||||
GxShVS_vs_1_1 = 1,
|
||||
GxShVS_vs_2_0 = 2,
|
||||
GxShVS_vs_3_0 = 3,
|
||||
GxShVS_vs_4_0 = 4,
|
||||
GxShVS_vs_5_0 = 5,
|
||||
GxShVS_arbvp1 = 6,
|
||||
GxShVS_arbvp1_cg12 = 7,
|
||||
GxShVS_nvvp = 8,
|
||||
GxShVS_nvvp2 = 9,
|
||||
GxShVS_nvvp3 = 10,
|
||||
GxShVS_glsl = 11
|
||||
};
|
||||
|
||||
enum EGxTexCommand {
|
||||
GxTex_Lock = 0,
|
||||
GxTex_Latch = 1,
|
||||
GxTex_Unlock = 2,
|
||||
GxTexCommands_Last = 3
|
||||
};
|
||||
|
||||
enum EGxTexFilter {
|
||||
GxTex_Nearest = 0x0,
|
||||
GxTex_Linear = 0x1,
|
||||
GxTex_NearestMipNearest = 0x2,
|
||||
GxTex_LinearMipNearest = 0x3,
|
||||
GxTex_LinearMipLinear = 0x4,
|
||||
GxTex_Anisotropic = 0x5,
|
||||
GxTexFilters_Last = 0x6,
|
||||
};
|
||||
|
||||
enum EGxTexFormat {
|
||||
GxTex_Unknown = 0x0,
|
||||
GxTex_Abgr8888 = 0x1,
|
||||
GxTex_Argb8888 = 0x2,
|
||||
GxTex_Argb4444 = 0x3,
|
||||
GxTex_Argb1555 = 0x4,
|
||||
GxTex_Rgb565 = 0x5,
|
||||
GxTex_Dxt1 = 0x6,
|
||||
GxTex_Dxt3 = 0x7,
|
||||
GxTex_Dxt5 = 0x8,
|
||||
GxTex_Uv88 = 0x9,
|
||||
GxTex_Gr1616F = 0xA,
|
||||
GxTex_R32F = 0xB,
|
||||
GxTex_D24X8 = 0xC,
|
||||
GxTexFormats_Last = 0xD,
|
||||
};
|
||||
|
||||
enum EGxTexTarget {
|
||||
GxTex_2d = 0x0,
|
||||
GxTex_CubeMap = 0x1,
|
||||
GxTex_Rectangle = 0x2,
|
||||
GxTex_NonPow2 = 0x3,
|
||||
GxTexTargets_Last = 0x4
|
||||
};
|
||||
|
||||
enum EGxTexWrapMode {
|
||||
GxTex_Clamp = 0,
|
||||
GxTex_Wrap = 1
|
||||
};
|
||||
|
||||
enum EGxXform {
|
||||
GxXform_Tex0 = 0,
|
||||
GxXform_Tex1 = 1,
|
||||
GxXform_Tex2 = 2,
|
||||
GxXform_Tex3 = 3,
|
||||
GxXform_Tex4 = 4,
|
||||
GxXform_Tex5 = 5,
|
||||
GxXform_Tex6 = 6,
|
||||
GxXform_Tex7 = 7,
|
||||
GxXform_World = 8,
|
||||
GxXform_Projection = 9,
|
||||
GxXform_View = 10,
|
||||
GxXforms_Last = 11
|
||||
};
|
||||
|
||||
enum EGxuDrawListCategory {
|
||||
GxuCat_0 = 0,
|
||||
GxuCat_1 = 1,
|
||||
GxuCat_2 = 2
|
||||
};
|
||||
|
||||
enum EGxWM {
|
||||
GxWM_Size = 0,
|
||||
GxWM_DisplayChange = 1,
|
||||
GxWM_Destroy = 2,
|
||||
GxWM_SetFocus = 3,
|
||||
GxWM_KillFocus = 4,
|
||||
};
|
||||
|
||||
enum COLOR_FILE_FORMAT {
|
||||
COLOR_JPEG = 0,
|
||||
COLOR_PAL = 1,
|
||||
COLOR_DXT = 2,
|
||||
COLOR_3 = 3
|
||||
};
|
||||
|
||||
enum PIXEL_FORMAT {
|
||||
PIXEL_DXT1 = 0x0,
|
||||
PIXEL_DXT3 = 0x1,
|
||||
PIXEL_ARGB8888 = 0x2,
|
||||
PIXEL_ARGB1555 = 0x3,
|
||||
PIXEL_ARGB4444 = 0x4,
|
||||
PIXEL_RGB565 = 0x5,
|
||||
PIXEL_A8 = 0x6,
|
||||
PIXEL_DXT5 = 0x7,
|
||||
PIXEL_UNSPECIFIED = 0x8,
|
||||
PIXEL_ARGB2565 = 0x9,
|
||||
NUM_PIXEL_FORMATS = 0xA
|
||||
};
|
||||
|
||||
struct C4Pixel {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
struct C4LargePixel {
|
||||
uint64_t b;
|
||||
uint64_t g;
|
||||
uint64_t r;
|
||||
uint64_t a;
|
||||
};
|
||||
|
||||
struct MipBits {
|
||||
C4Pixel* mip[1];
|
||||
};
|
||||
|
||||
struct CGxGammaRamp {
|
||||
uint16_t red[256];
|
||||
uint16_t green[256];
|
||||
uint16_t blue[256];
|
||||
};
|
||||
|
||||
#endif
|
||||
68
profile/3.3.5a-windows/include/main.h
Normal file
68
profile/3.3.5a-windows/include/main.h
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
// Defines
|
||||
|
||||
#include "system/detect.h"
|
||||
|
||||
// Types
|
||||
|
||||
#include "common/handle.h"
|
||||
#include "common/instance.h"
|
||||
#include "common/datarecycler.h"
|
||||
#include "common/status.h"
|
||||
|
||||
#include "cursor/types.h"
|
||||
|
||||
#include "d3d9/caps.h"
|
||||
#include "d3d9/device.h"
|
||||
|
||||
#include "event/types.h"
|
||||
#include "event/context.h"
|
||||
#include "event/handler.h"
|
||||
#include "event/id_table.h"
|
||||
#include "event/keydown.h"
|
||||
#include "event/message.h"
|
||||
#include "event/timer.h"
|
||||
|
||||
#include "framescript/object.h"
|
||||
#include "framescript/event_object.h"
|
||||
|
||||
#include "gx/buffer.h"
|
||||
#include "gx/caps.h"
|
||||
#include "gx/device.h"
|
||||
#include "gx/format.h"
|
||||
#include "gx/matrix_stack.h"
|
||||
#include "gx/shader.h"
|
||||
#include "gx/state_bom.h"
|
||||
#include "gx/types.h"
|
||||
#include "gx/batch.h"
|
||||
#include "gx/d3d9.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
#include "storm/list.h"
|
||||
#include "storm/hash.h"
|
||||
|
||||
#include "tempest/box.h"
|
||||
#include "tempest/matrix.h"
|
||||
#include "tempest/plane.h"
|
||||
#include "tempest/quaternion.h"
|
||||
#include "tempest/range.h"
|
||||
#include "tempest/rect.h"
|
||||
#include "tempest/sphere.h"
|
||||
#include "tempest/vector.h"
|
||||
|
||||
#include "texture/blp.h"
|
||||
#include "texture/tga.h"
|
||||
|
||||
#include "ui/simpleframe.h"
|
||||
|
||||
// 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
|
||||
|
||||
#include "storm/array/pointer_to_void.h"
|
||||
#include "storm/array/uint8_t.h"
|
||||
#include "storm/array/uint32_t.h"
|
||||
|
||||
#include "storm/queue/timer_priority_uint32_t.h"
|
||||
|
||||
// template types that are defined in our headers, should be declared immediately after the base type
|
||||
// and not used anywhere else
|
||||
|
||||
52
profile/3.3.5a-windows/include/storm/array.h
Normal file
52
profile/3.3.5a-windows/include/storm/array.h
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
#ifndef STORM_ARRAY_H
|
||||
#define STORM_ARRAY_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#define STORM_TS_BASE_ARRAY(T) typedef struct TSBaseArray_##T TSBaseArray_##T; \
|
||||
struct TSBaseArray_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T* m_data; \
|
||||
};
|
||||
|
||||
#define STORM_TS_FIXED_ARRAY(T) typedef struct TSFixedArray_##T TSFixedArray_##T; \
|
||||
struct TSFixedArray_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T* m_data; \
|
||||
};
|
||||
|
||||
#define STORM_TS_GROWABLE_ARRAY(T) typedef struct TSGrowableArray_##T TSGrowableArray_##T; \
|
||||
struct TSGrowableArray_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T* m_data; \
|
||||
uint32_t m_chunk; \
|
||||
};
|
||||
|
||||
// "pointer-to" types hack
|
||||
|
||||
#define STORM_TS_BASE_ARRAY_POINTER_TO(T) typedef struct TSBaseArray_pointer_to_##T TSBaseArray_pointer_to_##T; \
|
||||
struct TSBaseArray_pointer_to_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T** m_data; \
|
||||
};
|
||||
|
||||
#define STORM_TS_FIXED_ARRAY_POINTER_TO(T) typedef struct TSFixedArray_pointer_to_##T TSFixedArray_pointer_to_##T; \
|
||||
struct TSFixedArray_pointer_to_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T** m_data; \
|
||||
};
|
||||
|
||||
#define STORM_TS_GROWABLE_ARRAY_POINTER_TO(T) typedef struct TSGrowableArray_pointer_to_##T TSGrowableArray_pointer_to_##T; \
|
||||
struct TSGrowableArray_pointer_to_##T { \
|
||||
uint32_t m_alloc; \
|
||||
uint32_t m_count; \
|
||||
T** m_data; \
|
||||
uint32_t m_chunk; \
|
||||
};
|
||||
|
||||
#endif
|
||||
10
profile/3.3.5a-windows/include/storm/array/pointer_to_void.h
Normal file
10
profile/3.3.5a-windows/include/storm/array/pointer_to_void.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef STORM_ARRAY_POINTER_TO_VOID_H
|
||||
#define STORM_ARRAY_POINTER_TO_VOID_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
|
||||
STORM_TS_GROWABLE_ARRAY_POINTER_TO(void);
|
||||
|
||||
#endif
|
||||
10
profile/3.3.5a-windows/include/storm/array/uint32_t.h
Normal file
10
profile/3.3.5a-windows/include/storm/array/uint32_t.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef STORM_ARRAY_UINT32_T_H
|
||||
#define STORM_ARRAY_UINT32_T_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
|
||||
STORM_TS_GROWABLE_ARRAY(uint32_t);
|
||||
|
||||
#endif
|
||||
10
profile/3.3.5a-windows/include/storm/array/uint8_t.h
Normal file
10
profile/3.3.5a-windows/include/storm/array/uint8_t.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef STORM_ARRAY_UINT8_T_H
|
||||
#define STORM_ARRAY_UINT8_T_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
|
||||
STORM_TS_GROWABLE_ARRAY(uint8_t);
|
||||
|
||||
#endif
|
||||
9
profile/3.3.5a-windows/include/storm/file.h
Normal file
9
profile/3.3.5a-windows/include/storm/file.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef STORM_FILE_H
|
||||
#define STORM_FILE_H
|
||||
|
||||
DECLARE_STRUCT(SFile);
|
||||
|
||||
struct SFile {
|
||||
};
|
||||
|
||||
#endif
|
||||
48
profile/3.3.5a-windows/include/storm/hash.h
Normal file
48
profile/3.3.5a-windows/include/storm/hash.h
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
#ifndef STORM_HASH_H
|
||||
#define STORM_HASH_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array.h"
|
||||
#include "storm/list.h"
|
||||
|
||||
#define STORM_TS_HASH(T, K) \
|
||||
STORM_TS_LIST(T) \
|
||||
STORM_TS_GROWABLE_ARRAY(TSList_##T) \
|
||||
typedef struct TSHashTable_##T##_##K TSHashTable_##T##_##K; \
|
||||
typedef struct TSHashObject_##T##_##K TSHashObject_##T##_##K; \
|
||||
struct TSHashTable_##T##_##K { \
|
||||
TSList_##T m_fulllist; \
|
||||
uint32_t m_fullnessIndicator; \
|
||||
TSGrowableArray_TSList_##T m_slotlistarray; \
|
||||
uint32_t m_slotmask; \
|
||||
}; \
|
||||
struct TSHashObject_##T##_##K { \
|
||||
uint32_t m_hashval; \
|
||||
TSLink_##T m_linktoslot; \
|
||||
TSLink_##T m_linktofull; \
|
||||
K m_key; \
|
||||
};
|
||||
|
||||
DECLARE_STRUCT(HASHKEY_PTR);
|
||||
DECLARE_STRUCT(HASHKEY_STR);
|
||||
DECLARE_STRUCT(HASHKEY_STRI);
|
||||
DECLARE_STRUCT(HASHKEY_NONE);
|
||||
|
||||
struct HASHKEY_PTR {
|
||||
void* m_key;
|
||||
};
|
||||
|
||||
struct HASHKEY_STR {
|
||||
char* m_str;
|
||||
};
|
||||
|
||||
struct HASHKEY_STRI {
|
||||
char* m_str;
|
||||
};
|
||||
|
||||
struct HASHKEY_NONE {
|
||||
int32_t m_unused;
|
||||
};
|
||||
|
||||
#endif
|
||||
33
profile/3.3.5a-windows/include/storm/list.h
Normal file
33
profile/3.3.5a-windows/include/storm/list.h
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#ifndef STORM_LIST_H
|
||||
#define STORM_LIST_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
// to make an object self referential
|
||||
// forward-declare 'struct Object_type' as 'Object_type'
|
||||
// then define 'struct Object_type'
|
||||
|
||||
// TSLink<T>
|
||||
#define STORM_TS_LINK(T) typedef struct TSLink_##T TSLink_##T; \
|
||||
struct TSLink_##T { \
|
||||
TSLink_##T* m_prevlink; \
|
||||
T* m_next; \
|
||||
};
|
||||
|
||||
// TSList<T>
|
||||
// TSExplicitList<T>
|
||||
// TSLinkedNode<T>
|
||||
#define STORM_TS_LIST(T) \
|
||||
STORM_TS_LINK(T) \
|
||||
typedef struct TSList_##T TSList_##T; \
|
||||
typedef struct TSList_##T TSExplicitList_##T; \
|
||||
typedef struct TSLinkedNode_##T TSLinkedNode_##T; \
|
||||
struct TSList_##T { \
|
||||
ptrdiff_t m_linkoffset; \
|
||||
TSLink_##T m_terminator; \
|
||||
}; \
|
||||
struct TSLinkedNode_##T { \
|
||||
TSLink_##T m_link; \
|
||||
};
|
||||
|
||||
#endif
|
||||
31
profile/3.3.5a-windows/include/storm/queue.h
Normal file
31
profile/3.3.5a-windows/include/storm/queue.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#ifndef STORM_QUEUE_H
|
||||
#define STORM_QUEUE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/array/pointer_to_void.h"
|
||||
|
||||
DECLARE_STRUCT(CSBasePriorityQueue);
|
||||
DECLARE_STRUCT(CSBasePriority);
|
||||
|
||||
struct CSBasePriorityQueue {
|
||||
TSGrowableArray_pointer_to_void b_base;
|
||||
uint32_t m_linkOffset;
|
||||
};
|
||||
|
||||
struct CSBasePriority {
|
||||
CSBasePriorityQueue* m_queue;
|
||||
uint32_t m_index;
|
||||
};
|
||||
|
||||
#define STORM_TS_TIMER_PRIORITY(T) \
|
||||
typedef struct TSTimerPriority_##T TSTimerPriority_##T; \
|
||||
struct TSTimerPriority_##T { \
|
||||
CSBasePriority b_base; \
|
||||
T m_val; \
|
||||
};
|
||||
|
||||
#define STORM_TS_PRIORITY_QUEUE(T) \
|
||||
typedef CSBasePriorityQueue TSPriorityQueue_##T;
|
||||
|
||||
#endif
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
#ifndef STORM_QUEUE_TIMER_PRIORITY_UINT32_T_H
|
||||
#define STORM_QUEUE_TIMER_PRIORITY_UINT32_T_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/queue.h"
|
||||
|
||||
STORM_TS_TIMER_PRIORITY(uint32_t);
|
||||
|
||||
#endif
|
||||
17
profile/3.3.5a-windows/include/storm/thread.h
Normal file
17
profile/3.3.5a-windows/include/storm/thread.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef STORM_THREAD_H
|
||||
#define STORM_THREAD_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(SCritSect);
|
||||
typedef struct CSRWLock CSRWLock;
|
||||
|
||||
struct SCritSect {
|
||||
uint8_t m_critsect[24];
|
||||
};
|
||||
|
||||
struct CSRWLock {
|
||||
uint8_t m_opaqueData[12];
|
||||
};
|
||||
|
||||
#endif
|
||||
23
profile/3.3.5a-windows/include/system/detect.h
Normal file
23
profile/3.3.5a-windows/include/system/detect.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef SYSTEM_DETECT_H
|
||||
#define SYSTEM_DETECT_H
|
||||
|
||||
#if !defined(IDA) && !defined(GHIDRA) && !defined(BINANA_GENERATOR)
|
||||
|
||||
#error "Preprocessor mode not detected! You must define either IDA or GHIDRA or BINANA_GENERATOR"
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(IDA)
|
||||
|
||||
// why does this work?
|
||||
#define DECLARE_ENUM(E) typedef enum E##__ E
|
||||
|
||||
#else
|
||||
|
||||
#define DECLARE_ENUM(E) typedef enum E E
|
||||
|
||||
#endif
|
||||
|
||||
#define DECLARE_STRUCT(T) typedef struct T T
|
||||
|
||||
#endif
|
||||
40
profile/3.3.5a-windows/include/system/types.h
Normal file
40
profile/3.3.5a-windows/include/system/types.h
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
#ifndef SYSTEM_TYPES_H
|
||||
#define SYSTEM_TYPES_H
|
||||
|
||||
// stdint
|
||||
#if defined(IDA) || defined(BINANA_GENERATOR)
|
||||
|
||||
typedef signed char int8_t;
|
||||
typedef short int16_t;
|
||||
typedef int int32_t;
|
||||
typedef long long int64_t;
|
||||
typedef unsigned char uint8_t;
|
||||
typedef unsigned short uint16_t;
|
||||
typedef unsigned int uint32_t;
|
||||
typedef unsigned long long uint64_t;
|
||||
|
||||
typedef int32_t ptrdiff_t;
|
||||
typedef uint32_t uintptr_t;
|
||||
typedef int32_t intptr_t;
|
||||
|
||||
#else
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#endif
|
||||
|
||||
// stdbool
|
||||
|
||||
#if defined(BINANA_GENERATOR)
|
||||
|
||||
typedef char bool;
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(GHIDRA)
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
21
profile/3.3.5a-windows/include/tempest/box.h
Normal file
21
profile/3.3.5a-windows/include/tempest/box.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef TEMPEST_BOX_H
|
||||
#define TEMPEST_BOX_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
#include "tempest/range.h"
|
||||
|
||||
DECLARE_STRUCT(CAaBox);
|
||||
DECLARE_STRUCT(CBoundingBox);
|
||||
|
||||
struct CAaBox {
|
||||
C3Vector b;
|
||||
C3Vector t;
|
||||
};
|
||||
|
||||
struct CBoundingBox {
|
||||
CRange x;
|
||||
CRange y;
|
||||
CRange z;
|
||||
};
|
||||
|
||||
#endif
|
||||
55
profile/3.3.5a-windows/include/tempest/matrix.h
Normal file
55
profile/3.3.5a-windows/include/tempest/matrix.h
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
#ifndef TEMPEST_MATRIX_H
|
||||
#define TEMPEST_MATRIX_H
|
||||
|
||||
DECLARE_STRUCT(C33Matrix);
|
||||
DECLARE_STRUCT(C34Matrix);
|
||||
DECLARE_STRUCT(C44Matrix);
|
||||
|
||||
struct C33Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
};
|
||||
|
||||
struct C34Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
float d0;
|
||||
float d1;
|
||||
float d2;
|
||||
};
|
||||
|
||||
struct C44Matrix {
|
||||
float a0;
|
||||
float a1;
|
||||
float a2;
|
||||
float a3;
|
||||
float b0;
|
||||
float b1;
|
||||
float b2;
|
||||
float b3;
|
||||
float c0;
|
||||
float c1;
|
||||
float c2;
|
||||
float c3;
|
||||
float d0;
|
||||
float d1;
|
||||
float d2;
|
||||
float d3;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/plane.h
Normal file
13
profile/3.3.5a-windows/include/tempest/plane.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_PLANE_H
|
||||
#define TEMPEST_PLANE_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
DECLARE_STRUCT(C4Plane);
|
||||
|
||||
struct C4Plane {
|
||||
C3Vector n;
|
||||
float d;
|
||||
};
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/quaternion.h
Normal file
13
profile/3.3.5a-windows/include/tempest/quaternion.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_QUATERNION_H
|
||||
#define TEMPEST_QUATERNION_H
|
||||
|
||||
DECLARE_STRUCT(C4Quaternion);
|
||||
|
||||
struct C4Quaternion {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
#endif
|
||||
19
profile/3.3.5a-windows/include/tempest/range.h
Normal file
19
profile/3.3.5a-windows/include/tempest/range.h
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#ifndef TEMPEST_RANGE_H
|
||||
#define TEMPEST_RANGE_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(CRange);
|
||||
DECLARE_STRUCT(CiRange);
|
||||
|
||||
struct CRange {
|
||||
float l;
|
||||
float h;
|
||||
};
|
||||
|
||||
struct CiRange {
|
||||
int32_t l;
|
||||
int32_t h;
|
||||
};
|
||||
|
||||
#endif
|
||||
23
profile/3.3.5a-windows/include/tempest/rect.h
Normal file
23
profile/3.3.5a-windows/include/tempest/rect.h
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#ifndef TEMPEST_RECT_H
|
||||
#define TEMPEST_RECT_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(CRect);
|
||||
DECLARE_STRUCT(CiRect);
|
||||
|
||||
struct CRect {
|
||||
float minY; // t
|
||||
float minX; // l
|
||||
float maxY; // b
|
||||
float maxX; // r
|
||||
};
|
||||
|
||||
struct CiRect {
|
||||
int32_t minY;
|
||||
int32_t minX;
|
||||
int32_t maxY;
|
||||
int32_t maxX;
|
||||
};
|
||||
|
||||
#endif
|
||||
13
profile/3.3.5a-windows/include/tempest/sphere.h
Normal file
13
profile/3.3.5a-windows/include/tempest/sphere.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#ifndef TEMPEST_SPHERE_H
|
||||
#define TEMPEST_SPHERE_H
|
||||
|
||||
#include "tempest/vector.h"
|
||||
|
||||
DECLARE_STRUCT(CAaSphere);
|
||||
|
||||
struct CAaSphere {
|
||||
C3Vector n;
|
||||
float d;
|
||||
};
|
||||
|
||||
#endif
|
||||
43
profile/3.3.5a-windows/include/tempest/vector.h
Normal file
43
profile/3.3.5a-windows/include/tempest/vector.h
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
#ifndef TEMPEST_VECTOR_H
|
||||
#define TEMPEST_VECTOR_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
DECLARE_STRUCT(C2Vector);
|
||||
DECLARE_STRUCT(C2iVector);
|
||||
DECLARE_STRUCT(C3Vector);
|
||||
DECLARE_STRUCT(C4Vector);
|
||||
DECLARE_STRUCT(CImVector);
|
||||
|
||||
struct C2Vector {
|
||||
float x;
|
||||
float y;
|
||||
};
|
||||
|
||||
struct C2iVector {
|
||||
int32_t x;
|
||||
int32_t y;
|
||||
};
|
||||
|
||||
struct C3Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
};
|
||||
|
||||
struct C4Vector {
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
float w;
|
||||
};
|
||||
|
||||
struct CImVector {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
70
profile/3.3.5a-windows/include/texture/blp.h
Normal file
70
profile/3.3.5a-windows/include/texture/blp.h
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
#ifndef TEXTURE_BLP_H
|
||||
#define TEXTURE_BLP_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/file.h"
|
||||
|
||||
#include "gx/types.h"
|
||||
|
||||
DECLARE_HANDLE(HCOLORMAP);
|
||||
|
||||
DECLARE_ENUM(MipMapAlgorithm);
|
||||
|
||||
DECLARE_STRUCT(CBLPFile);
|
||||
DECLARE_STRUCT(BlpPalPixel);
|
||||
DECLARE_STRUCT(BLPHeader);
|
||||
DECLARE_STRUCT(BLPJPEGHeader);
|
||||
|
||||
enum MipMapAlgorithm {
|
||||
MMA_BOX = 0x0,
|
||||
MMA_CUBIC = 0x1,
|
||||
MMA_FULLDFT = 0x2,
|
||||
MMA_KAISER = 0x3,
|
||||
MMA_LINEARLIGHTKAISER = 0x4
|
||||
};
|
||||
|
||||
struct BlpPalPixel {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t pad;
|
||||
};
|
||||
|
||||
struct BLPJPEGHeader {
|
||||
uint32_t headerSize;
|
||||
uint8_t headerData[1020];
|
||||
};
|
||||
|
||||
struct BLPHeader {
|
||||
uint32_t magic;
|
||||
uint32_t formatVersion;
|
||||
uint8_t colorEncoding;
|
||||
uint8_t alphaSize;
|
||||
uint8_t preferredFormat;
|
||||
uint8_t hasMips;
|
||||
uint32_t width;
|
||||
uint32_t height;
|
||||
uint32_t mipOffsets[16];
|
||||
uint32_t mipSizes[16];
|
||||
|
||||
union {
|
||||
BlpPalPixel palette[256];
|
||||
|
||||
BLPJPEGHeader jpeg;
|
||||
} extended;
|
||||
};
|
||||
|
||||
struct CBLPFile {
|
||||
MipBits* m_images;
|
||||
BLPHeader m_header;
|
||||
void* m_inMemoryImage;
|
||||
int32_t m_inMemoryNeedsFree;
|
||||
uint32_t m_numLevels;
|
||||
uint32_t m_quality;
|
||||
HCOLORMAP m_colorMapping;
|
||||
MipMapAlgorithm m_mipMapAlgorithm;
|
||||
uint8_t* m_lockDecompMem;
|
||||
};
|
||||
|
||||
#endif
|
||||
66
profile/3.3.5a-windows/include/texture/tga.h
Normal file
66
profile/3.3.5a-windows/include/texture/tga.h
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
#ifndef TEXTURE_TGA_H
|
||||
#define TEXTURE_TGA_H
|
||||
|
||||
#include "system/types.h"
|
||||
|
||||
#include "storm/file.h"
|
||||
|
||||
DECLARE_STRUCT(TGAFooter);
|
||||
DECLARE_STRUCT(TGAHeader);
|
||||
DECLARE_STRUCT(TGA32Pixel);
|
||||
DECLARE_STRUCT(TGAImageDesc);
|
||||
DECLARE_STRUCT(CTgaFile);
|
||||
|
||||
struct TGAFooter {
|
||||
uint32_t dwExtensionOffset;
|
||||
uint32_t dwDeveloperOffset;
|
||||
uint8_t szSigniture[18];
|
||||
};
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
struct TGAImageDesc {
|
||||
uint8_t bAlphaChannelBits : 4;
|
||||
uint8_t bLeftRightOrder : 1;
|
||||
uint8_t bTopBottomOrder : 1;
|
||||
uint8_t bReserved : 2;
|
||||
};
|
||||
|
||||
struct TGAHeader {
|
||||
uint8_t bIDLength;
|
||||
uint8_t bColorMapType;
|
||||
uint8_t bImageType;
|
||||
// byte packed
|
||||
uint16_t wColorMapStartIndex;
|
||||
uint16_t wColorMapEntries;
|
||||
uint8_t bColorMapEntrySize;
|
||||
uint16_t wXOrigin;
|
||||
uint16_t wYOrigin;
|
||||
uint16_t wWidth;
|
||||
uint16_t wHeight;
|
||||
uint8_t bPixelDepth;
|
||||
union {
|
||||
uint8_t bImageDescriptor;
|
||||
TGAImageDesc desc;
|
||||
};
|
||||
};
|
||||
#pragma pack(pop)
|
||||
|
||||
struct TGA32Pixel {
|
||||
uint8_t b;
|
||||
uint8_t g;
|
||||
uint8_t r;
|
||||
uint8_t a;
|
||||
};
|
||||
|
||||
struct CTgaFile {
|
||||
SFile* m_file;
|
||||
uint8_t* m_image;
|
||||
TGAHeader m_header;
|
||||
uint8_t* m_addlHeaderData;
|
||||
TGAFooter m_footer;
|
||||
uint32_t m_imageBytes;
|
||||
uint8_t* m_colorMap;
|
||||
};
|
||||
|
||||
#endif
|
||||
9
profile/3.3.5a-windows/include/ui/simpleframe.h
Normal file
9
profile/3.3.5a-windows/include/ui/simpleframe.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef UI_SIMPLE_FRAME_H
|
||||
#define UI_SIMPLE_FRAME_H
|
||||
|
||||
DECLARE_STRUCT(CSimpleFrame);
|
||||
|
||||
struct CSimpleFrame {
|
||||
};
|
||||
|
||||
#endif
|
||||
5
profile/3.3.5a-windows/symbol/camera/func.sym
Normal file
5
profile/3.3.5a-windows/symbol/camera/func.sym
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
CCamera__SetupWorldProjection 004BECF0 f end=004BEE5E
|
||||
CameraSetupScreenProjection 004BEE60 f end=004BF0B9
|
||||
CameraSetupWorldProjection 004BF0C0 f end=004BF0E2
|
||||
CCamera__CCamera 004BF770 f end=004BFA4E
|
||||
CameraCreate 004BFCA0 f end=004BFCD4
|
||||
9
profile/3.3.5a-windows/symbol/client/func.sym
Normal file
9
profile/3.3.5a-windows/symbol/client/func.sym
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
SetPaths 00402B20 f end=00402B8B
|
||||
CommonMain 00406C70 f end=00406D64
|
||||
InitializeGlobal 004067F0 f end=00406B67
|
||||
DestroyGlobal 00406B70 f end=00406C65
|
||||
CmdLineProcess 0047B720 f end=0047B736
|
||||
ConvertPosition 0047FC90 f end=0047FDD4
|
||||
ScrnLayerCreate 004A8BB0 f end=004A8C83
|
||||
ScrnLayerSetRect 004A8500 f end=004A8522
|
||||
ClientKillTimer 004033B0 f end=004033B9
|
||||
42
profile/3.3.5a-windows/symbol/console/func.sym
Normal file
42
profile/3.3.5a-windows/symbol/console/func.sym
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
CVar__Set 007668C0 f end=00766936
|
||||
CVar__Destroy 007673F0 f end=00767434
|
||||
CVar__Register 00767FC0 f end=007681E9
|
||||
CVar__Initialize 00768340 f end=00768402
|
||||
CVarSaveFile 00767100 f end=0076719C
|
||||
CVarLoadFile 00766530 f end=007665C2
|
||||
ConsoleAccessGetEnabled 00769230 f end=00769236
|
||||
ConsoleCommand_Quit 00768410 f end=0076841B
|
||||
ConsoleCommandExecute 007658A0 f end=007659BF
|
||||
ConsoleCommandHistory 00768440 f end=0076845B
|
||||
ConsoleCommandHistoryDepth 0095BFB0 f end=0095BFB6
|
||||
ConsoleCommandHistoryPrev 00763B40 f end=00763B83 ; UC
|
||||
ConsoleCommandHistoryNext 00763B90 f end=00763BD6 ; UC
|
||||
ConsoleCommandRegister 00769100 f end=007691B3
|
||||
ConsoleCommandUnregister 007689E0 f end=00768A19
|
||||
ConsoleDeviceInitialize 0076AB80 f end=0076B287
|
||||
ConsolePostClose 00763C50 f end=00763C5D
|
||||
ConsoleScreenInitialize 00766140 f end=00766295
|
||||
RegisterHandlers 00765FF0 f end=007660C2
|
||||
ConsoleWrite 00765270 f end=00765359
|
||||
ConsoleWriteA 007653B0 f end=00765400
|
||||
EventCloseCallback 00763D60 f end=00763D71
|
||||
PaintBackground 007643F0 f end=00764413
|
||||
PaintText 007645E0 f end=00764788
|
||||
OnChar 00764990 f end=00764A03
|
||||
OnIdle 007659C0 f end=00765AE5
|
||||
OnKeyDown 00765AF0 f end=00765FB2
|
||||
OnKeyUp 00763BE0 f end=00763C0A
|
||||
OnKeyDownRepeat 00764B90 f end=00764E4F
|
||||
OnMouseDown 00764A10 f end=00764B88
|
||||
OnMouseUp 007639A0 f end=007639CF
|
||||
OnMouseMove 007639D0 f end=00763A54
|
||||
MakeCommandCurrent 00763A60 f end=00763AAA
|
||||
ReserveInputSpace 007637D0 f end=0076382B
|
||||
GetInputLine 00764520 f end=007645D3
|
||||
PasteInInputLine 00764800 f end=00764985
|
||||
SetInputString 00763730 f end=007637CD ; UC
|
||||
ResetHighlight 00763830 f end=00763855
|
||||
UpdateHighlight 00763860 f end=00763996
|
||||
DrawBackground 00763DF0 f end=00764039
|
||||
DrawHighLight 00764040 f end=00764196
|
||||
DrawCaret 007641A0 f end=007643EA
|
||||
35
profile/3.3.5a-windows/symbol/console/label.sym
Normal file
35
profile/3.3.5a-windows/symbol/console/label.sym
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
g_commandHistory 00ca3a28 l ; char[10394]
|
||||
g_commandHistoryIndex 00caba28 l ; uint32
|
||||
g_consoleCommandHash 00caba30 l ; TSHashTable<CONSOLECOMMAND, HASHKEY_CONSTSTRI>
|
||||
g_defaultCommand 00caba2c l ; command function pointer
|
||||
s_active 007649af l ; int32 as boolean
|
||||
s_baseTextFlags 00adbae4 l ; uint32
|
||||
s_batch 00ca1874 l ; CGxStringBatch*
|
||||
s_caret 00ca1694 l ; int32
|
||||
s_caretpixwidth 00ca1718 l
|
||||
s_caretpixheight 00ca1690 l
|
||||
s_charSpacing 00ca19a8 l ; float
|
||||
s_completedCmd 00ca1984 l ; int32
|
||||
s_completionMode 00ca1980 l
|
||||
s_consoleAccessEnabled 00cabcc4 l ; int32 as boolean
|
||||
s_consoleHeight 00ca19b0 l ; float
|
||||
s_consoleHotKey 00adbac4 l ; KEY
|
||||
s_consoleResizeState 00ca1990 l ; CONSOLERESIZESTATE
|
||||
s_currlineptr 00ca1720 l ; CONSOLELINE*
|
||||
s_fontHeight 00adbacc l ; float
|
||||
s_fontName 00ca1768 l ; char[260]
|
||||
s_highlightState 00ca1994 l ; HIGHLIGHTSTATE
|
||||
s_highlightLeftCharIndex 00ca19a0 l ; uint32
|
||||
s_highlightRightCharIndex 00ca19a4 l ; uint32
|
||||
s_historyIndex 00adbac8 l ; int32
|
||||
s_hRect 00adbad4 l ; RECTF
|
||||
s_inputString 00ca171c l ; CGxString*
|
||||
s_layerBackground 00ca1724 l ; HLAYER
|
||||
s_layerText 00ca1870 l ; HLAYER
|
||||
s_partial 00ca1878 l ; char[100]
|
||||
s_rect 00adbab4 l ; RECTF
|
||||
s_repeatCount 00ca186c l ; uint32
|
||||
s_repeatBuffer 00ca1728 l ; char[64]
|
||||
carettime 00ca19f0 l ; float
|
||||
s_NumLines 00ca197c l ; int32
|
||||
s_textFont 00ca198c l ; HTEXTFONT
|
||||
9
profile/3.3.5a-windows/symbol/coordinate/func.sym
Normal file
9
profile/3.3.5a-windows/symbol/coordinate/func.sym
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
DDCToNDCWidth 0047C050 f end=0047C05E
|
||||
DDCToNDCHeight 0047C060 f end=0047C06E
|
||||
NDCToDDCWidth 0047C070 f end=0047C07E
|
||||
NDCToDDCHeight 0047C080 f end=0047C08E
|
||||
NDCToDDC 0047BFF0 f end=0047C019
|
||||
DDCToNDC 0047C020 f end=0047C049
|
||||
CoordinateSetAspectRatio 0047BF90 f end=0047BFC8
|
||||
CoordinateGetAspectRatio 0047BFD0 f end=0047BFD7
|
||||
CoordinateGetAspectCompensation 0047BFE0 f end=0047BFE7
|
||||
4
profile/3.3.5a-windows/symbol/cursor/func.sym
Normal file
4
profile/3.3.5a-windows/symbol/cursor/func.sym
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
CursorInitialize 006163B0 f end=006164A5
|
||||
CopyCursorImage 006160B0 f end=00616211 type="int32_t __usercall func@<eax>(uint32_t** image@<eax>, MipBits* mipImages@<ecx>, uint32_t width@<edx>, uint32_t height)"
|
||||
UpdateCursor 006162C0 f end=006163AD
|
||||
CursorSetMode 00616800 f end=0061682E type="void __stdcall func(CURSORMODE mode)"
|
||||
10
profile/3.3.5a-windows/symbol/cursor/label.sym
Normal file
10
profile/3.3.5a-windows/symbol/cursor/label.sym
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
s_cursorNames 00AD2808 l type="char*[53]"
|
||||
s_cursorFile 00C25CD0 l type="int8_t" ; wonder why it's this type
|
||||
s_cursorItemMipsWidth 00C25DD4 l
|
||||
s_cursorItemMipsHeight 00C25DD8 l
|
||||
s_cursorItemMips 00C25DDC l
|
||||
s_cursorItemType 00C25DE0 l
|
||||
s_cursorResetMode 00C25DE4 l
|
||||
s_cursorItem 00C25DE8 l type="uint32_t[1024]"
|
||||
s_cursorMode 00C26DE8 l type="CURSORMODE"
|
||||
s_cursorImages 00C26DF0 l type="uint32_t[53][1024]"
|
||||
2
profile/3.3.5a-windows/symbol/dataallocator/func.sym
Normal file
2
profile/3.3.5a-windows/symbol/dataallocator/func.sym
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CDataAllocator__GetData 0095D110 f ; CDataAllocator::GetData(int, char const*, int)
|
||||
CDataAllocator__PutData 0095D1B0 f ; CDataAllocator::PutData(void*, char const*, int)
|
||||
3
profile/3.3.5a-windows/symbol/datarecycler/func.sym
Normal file
3
profile/3.3.5a-windows/symbol/datarecycler/func.sym
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
CDataRecycler__Clear 0095CEC0 f end=0095CF39
|
||||
CDataRecycler__PutData 0095CFB0 f end=0095D077
|
||||
CDataRecycler__GetData 0095CF40 f end=0095CFAE
|
||||
26
profile/3.3.5a-windows/symbol/datastore/func.sym
Normal file
26
profile/3.3.5a-windows/symbol/datastore/func.sym
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
CDataStore__FetchWrite 00401070 f ; protected: int __thiscall CDataStore::FetchWrite(unsigned int,unsigned int,char const *,int)
|
||||
CDataStore__IsRead 004010D0 f ; CDataStore::IsRead() const
|
||||
CDataStore__Reset 004010E0 f ; CDataStore::Reset()
|
||||
CDataStore__Finalize 00401130 f ; CDataStore::Finalize()
|
||||
CDataStore__destructor 004038A0 f ; CDataStore::~CDataStore()
|
||||
CDataStore__GetBufferParams 0047ADE0 f ; CDataStore::GetBufferParams(void const**, unsigned int*, unsigned int*)
|
||||
CDataStore__DetachBuffer 0047AE10 f ; CDataStore::DetachBuffer(void**, unsigned int*, unsigned int*)
|
||||
CDataStore__InternalDestroy 0047AE50 f ; virtual void __thiscall CDataStore::InternalDestroy(unsigned char * &,unsigned int &,unsigned int &)
|
||||
CDataStore__InternalFetchWrite 0047AEA0 f ; CDataStore::InternalFetchWrite(unsigned int, unsigned int, unsigned char*&, unsigned int&, unsigned int&, char const*, int)
|
||||
CDataStore__Set 0047AF40 f ; CDataStore::Set(unsigned int, unsigned short)
|
||||
CDataStore__Put_uint8_t 0047AFE0 f ; CDataStore::Put(unsigned char)
|
||||
CDataStore__Put_uint16_t 0047B040 f ; CDataStore::Put(unsigned short)
|
||||
CDataStore__Put_uint32_t 0047B0A0 f ; CDataStore::Put(unsigned int)
|
||||
CDataStore__Put_uint64_t 0047B100 f ; CDataStore::Put(unsigned long long)
|
||||
CDataStore__PutArray 0047B1C0 f ; CDataStore::PutArray(unsigned char const*, unsigned int)
|
||||
CDataStore__PutData 0047B280 f ; CDataStore::PutData(void const*, unsigned long)
|
||||
CDataStore__FetchRead 0047B290 f ; CDataStore::FetchRead(unsigned int, unsigned int)
|
||||
CDataStore__PutString 0047B300 f ; CDataStore::PutString(char const*)
|
||||
CDataStore__Get_uint8_t 0047B340 f end=0047B371 ; CDataStore::Get(unsigned char&)
|
||||
CDataStore__Get_uint16_t 0047B380 f end=0047B3B3 ; CDataStore::Get(unsigned short&)
|
||||
CDataStore__Get_uint32_t 0047B3C0 f end=0047B3F1 ; CDataStore::Get(unsigned int&)
|
||||
CDataStore__Get_uint64_t 0047B400 f end=0047B43A ; CDataStore::Get(unsigned long long&)
|
||||
CDataStore__Get_float 0047B440 f end=0047B471 ; CDataStore::Get(float&)
|
||||
CDataStore__GetString 0047B480 f end=0047B560 ; CDataStore::GetString(char*, unsigned int)
|
||||
CDataStore__GetArray 0047B560 f end=0047B5ED ; CDataStore::GetArray(unsigned char*, unsigned int)
|
||||
CDataStore__GetDataInSitu 0047B6B0 f end=0047B6E9 ; CDataStore::GetDataInSitu(void*&, unsigned int)
|
||||
50
profile/3.3.5a-windows/symbol/event/func.sym
Normal file
50
profile/3.3.5a-windows/symbol/event/func.sym
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
EventDestroy 0047D030 f end=0047D04E
|
||||
EventDestroy_cleanup 00480EA0 f end=00480ED9
|
||||
EventInitialize 0047CFF0 f end=0047D02D
|
||||
EventCreateContextEx 0047D080 f end=0047D089
|
||||
EventSetConfirmCloseCallback 0047D090 f end=0047D099
|
||||
EventIsButtonDown 0047D1D0 f end=0047D230
|
||||
EventIsKeyDown 0047D230 f end=0047D290
|
||||
EventPostCloseEx 0047D290 f end=0047D305
|
||||
EventRegisterEx 0047D3C0 f end=0047D443
|
||||
EventSetMouseMode 0047D690 f end=0047D6FD
|
||||
EventSetTimer 0047D530 f end=0047D59C
|
||||
EventRegister 0047D770 f end=0047D78D
|
||||
EventUnregister 0047D790 f end=0047D7A9
|
||||
EventUnregisterEx 0047D450 f end=0047D4B7
|
||||
EventDoMessageLoop 0047F2D0 f end=0047F2EC
|
||||
EventForceIdleProcessing 0047DCA0 f end=0047DE09
|
||||
EventKillTimer 0047D620 f end=0047D683
|
||||
EventQueuePost 0047D310 f end=0047D3AF
|
||||
IEvtInputProcess 00480410 f end=004804A8
|
||||
IEvtInputGetMousePosition 004800A0 f end=004800EF
|
||||
IEvtInputSetConfirmCloseCallback 0047FC20 f end=0047FC36
|
||||
IEvtInputSetMouseMode 0047FBB0 f end=0047FC17
|
||||
IEvtInputDestroy 0047FB80 f end=0047FB92
|
||||
IEvtQueueCheckSyncKeyState 00480A50 f end=00480AC2
|
||||
IEvtQueueCheckSyncMouseState 004804C0 f end=004804E6
|
||||
IEvtQueueDestroy 004804B0 f end=004804BA
|
||||
IEvtQueueDispatch 00480AD0 f end=00480BCB
|
||||
IEvtQueueDispatchAll 00480BD0 f end=00480D28
|
||||
IEvtQueueRegister 004804F0 f end=004805F4 type="void __cdecl func(EvtContext* context, EVENTID id, void* handler, void* param, float priority)"
|
||||
IEvtQueueUnregister 00480D30 f end=00480DD1
|
||||
IEvtQueuePost 004806A0 f end=0048071F type="int32_t __cdecl func(EvtContext* context, EVENTID id, void *data, size_t bytes)"
|
||||
IEvtSchedulerCreateContext 0047F5C0 f end=0047F6B9
|
||||
IEvtSchedulerInitialize 0047F2F0 f end=0047F5BA
|
||||
IEvtSchedulerDestroy 0047DEA0 f end=0047E117
|
||||
IEvtSchedulerShutdown 0047D990 f end=0047D9EB
|
||||
SchedulerThreadProc 0047F230 f end=0047F2C1 ; IEvtSchedulerProcess as an independent function appears to be optimized out
|
||||
SchedulerThreadProcProcess 0047EFF0 f end=0047F225
|
||||
IEvtTimerDispatch 00481100 f end=00481289
|
||||
IEvtTimerGetNextTime 00480F70 f end=00480FCA
|
||||
IEvtTimerKill 00481290 f end=0048138F
|
||||
IEvtTimerSet 00481390 f end=004814E4
|
||||
PostMouseModeChanged 0047FAC0 f end=0047FB22
|
||||
PropSelectContext 0047CBF0 f end=0047CC08
|
||||
PropSet 0047CC50 f end=0047CC70
|
||||
PropGet 0047CC20 f end=0047CC41
|
||||
InitializeSchedulerThread 0047E910 f end=0047EA69
|
||||
SynthesizeIdle 0047DBC0 f end=0047DC14
|
||||
SynthesizePaint 0047DC50 f end=0047DC8D
|
||||
SynthesizePoll 0047DC20 f end=0047DC50
|
||||
AttachContextToThread 0047EC10 f
|
||||
3
profile/3.3.5a-windows/symbol/event/label.sym
Normal file
3
profile/3.3.5a-windows/symbol/event/label.sym
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
s_mainThread 00b417c8 l type="uint32_t"
|
||||
s_messageRecycler 00B41850 l type="CDataRecycler"
|
||||
s_interactiveCount 00B417D0 l type="int32_t"
|
||||
12
profile/3.3.5a-windows/symbol/file/func.sym
Normal file
12
profile/3.3.5a-windows/symbol/file/func.sym
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
SFile__Open 00424F80 f end=00424F98
|
||||
SFile__OpenEx 00424B50 f end=00424E44
|
||||
SFile__Close 00422910 f end=004229AB
|
||||
SFile__Load 00424E80 f end=00424F46
|
||||
SFile__Read 00422530 f end=004227D4
|
||||
SFile__FileIsLocal 004217C0 f end=004217DA
|
||||
SFile__GetFileSize 004218C0 f end=00421948
|
||||
SFile__SetDataPath 00421AF0 f end=00421B4A
|
||||
SFile__Unload 00421CA0 f end=00421CB8
|
||||
SFile__IsStreamingMode 00422130 f end=00422139
|
||||
SFile__SetFilePointer 00421BB0 f end=00421C98
|
||||
SFile__FileExistsEx 00424B10 f end=00424B41
|
||||
2
profile/3.3.5a-windows/symbol/framescript/func.sym
Normal file
2
profile/3.3.5a-windows/symbol/framescript/func.sym
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
FrameScript_Execute 00819EA0 f end=0081A2B5 type="void __stdcall func(int32_t function, FrameScript_Object* object, int32_t args, char* args_fmt, FrameScript_EventObject* eventObject)"
|
||||
FrameScript_SignalEvent 0081B530 f end=0081B549
|
||||
1
profile/3.3.5a-windows/symbol/gameui/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/gameui/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGameUI__Initialize 0052A980 f end=0052AEC6
|
||||
18
profile/3.3.5a-windows/symbol/gluemgr/func.sym
Normal file
18
profile/3.3.5a-windows/symbol/gluemgr/func.sym
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
CGlueMgr__SetCurrentAccount 004D7F60 f end=004D7F82
|
||||
CGlueMgr__DisplayLoginStatus 004D80C0 f end=004D8200
|
||||
CGlueMgr__SetScreen 004D82A0 f end=004D82B8
|
||||
CGlueMgr__UpdateCurrentScreen 004D82C0 f end=004D834D
|
||||
CGlueMgr__HandleDisplaySizeChanged 004D8860 f end=004D8924
|
||||
CGlueMgr__Suspend 004D8930 f end=004D8A2D
|
||||
CGlueMgr__LoginServerLogin 004D8A30 f end=004D8B9C
|
||||
CGlueMgr__ChangeRealm 004D8BD0 f end=004D8C56
|
||||
CGlueMgr__OnKickReasonMsg 004D9500 f end=004D9582
|
||||
CGlueMgr__GetCharacterList 004D95C0 f end=004D960D
|
||||
CGlueMgr__StatusDialogClick 004D98D0 f end=004D99D4
|
||||
CGlueMgr__LogConnectionStatus 004DA3D0 f end=004DA4A8
|
||||
CGlueMgr__SetLoginStateAndResult 004DA4B0 f end=004DA50D
|
||||
CGlueMgr__Resume 004DA5F0 f end=004DA9C4
|
||||
CGlueMgr__NetDisconnectHandler 004DA9D0 f end=004DAB3D
|
||||
CGlueMgr__Idle 004DAB40 f end=004DB9E4
|
||||
CGlueMgr__Initialize 004DB9F0 f end=004DBBBF
|
||||
CGlueMgr__SurveyDownloadCancel 004E4A40 f end=004E4A9E
|
||||
1
profile/3.3.5a-windows/symbol/gluemgr/label.sym
Normal file
1
profile/3.3.5a-windows/symbol/gluemgr/label.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGlueMgr__m_cursorMipBits 00B6A9DC l type="MipBits*"
|
||||
22
profile/3.3.5a-windows/symbol/gx/func.sym
Normal file
22
profile/3.3.5a-windows/symbol/gx/func.sym
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
GxDevCreate 00681290 f end=00681301
|
||||
GxDrawLockedElements 00682340 f end=0068239E
|
||||
GxLog 006817E0 f end=006817F5
|
||||
OnPaint 004A8720 f end=004A8B58
|
||||
GxCapsWindowSizeInScreenCoords 00493BF0 f end=00493C09
|
||||
GxTexCreate 00681CB0 f end=00681D87
|
||||
GxTexUpdate 006813D0 f end=006813EC
|
||||
GxXformProjection 004BEC70 f end=004BEC88
|
||||
GxXformSetProjection 00408030 f end=00408049
|
||||
GxXformViewport 00408070 f end=004080D9
|
||||
GxXformProjNativeTranspose 00408110 f end=0040820F
|
||||
GxXformPush_EGxXform_C44Matrix 00616AD0 f end=00616AE8
|
||||
GxXformPop 0057C420 f end=0057C44A
|
||||
GxRsSet_int32_t 00408BF0 f end=00408C27
|
||||
GxRsSet_CGxShader 00408240 f end=00408258
|
||||
GxDraw 00482A40 f end=00482A5D
|
||||
GxShaderConstantsSet 00408210 f end=0040823B
|
||||
GxBufLock 004829D0 f end=004829E9
|
||||
GxBufUnlock 004829F0 f end=00482A13
|
||||
GxBufStream 00482A20 f end=00482A3C
|
||||
GxScenePresent 00682A00 f end=00682A33
|
||||
GxSceneClear 006813B0 f end=006813CD
|
||||
57
profile/3.3.5a-windows/symbol/gxdevice/func.sym
Normal file
57
profile/3.3.5a-windows/symbol/gxdevice/func.sym
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
CGxDevice__CGxDevice 00688690 f end=0068903F
|
||||
CGxDevice__MasterEnableSet 00685EB0 f end=00685F33
|
||||
CGxDevice__IRsForceUpdate 006859E0 f end=00685A65
|
||||
CGxDevice__NewOpenGl 0068BF20 f end=0068BF44
|
||||
CGxDevice__NewD3d 00689EF0 f end=00689F14
|
||||
CGxDevice__NewD3d9Ex 0068C220 f end=0068C244
|
||||
CGxDevice__Caps 00532AF0 f end=00532AF7 ; public: class CGxCaps const & __thiscall CGxDevice::Caps(void)const
|
||||
CGxDevice__DeviceCreate_WindowProc_CGxFormat 00682CB0 f end=00682CCB
|
||||
CGxDevice__DeviceApi 00682D20 f end=00682D27
|
||||
CGxDevice__IDevIsWindowed 00682D40 f end=00682D48
|
||||
CGxDevice__DeviceCurWindow 00682D70 f end=00682D76
|
||||
CGxDevice__ScenePresent 00682E50 f end=00682E66
|
||||
CGxDevice__PrimCalcCount 00682F40 f end=00682F66
|
||||
CGxDevice__LightEnable 00683080 f end=006830A4
|
||||
CGxDevice__NeedsUpdate 006830B0 f end=006830F9
|
||||
CGxDevice__MasterEnable 00683100 f end=00683121
|
||||
CGxDevice__ShaderConstantsClear 006833A0 f end=006833DD
|
||||
CGxDevice__ShaderConstantsLock 00683560 f end=00683577
|
||||
CGxDevice__ShaderConstantsUnlock 00683580 f end=006835D6
|
||||
CGxDevice__ICursorUpdate 00683610 f end=00683632
|
||||
CGxDevice__DeviceSetFormat 006840F0 f end=0068416C
|
||||
CGxDevice__DeviceSetDefWindow 00684360 f end=006843B0
|
||||
CGxDevice__ClipPlaneSet 00684440 f end=006844B9
|
||||
CGxDevice__LightSet 006847D0 f end=00684843
|
||||
CGxDevice__BufStream 00684850 f end=0068489F
|
||||
CGxDevice__IShaderLoad 00684970 f end=00684AC8
|
||||
CGxDevice__Log 00684C20 f end=00684C3E
|
||||
CGxDevice__Log_CGxCaps 00684C40 f end=00684D07 ; CGxDevice::Log(CGxCaps const&) const
|
||||
CGxDevice__Log 00684D10 f end=00684D6C
|
||||
CGxDevice__IRsDirty 00685970 f end=006859DB
|
||||
CGxDevice__IRsForceUpdate_EGxRenderState 006859E0 f end=00685A65 ; CGxDevice::IRsForceUpdate(EGxRenderState)
|
||||
CGxDevice__IRsForceUpdate 00685A70 f end=00685B4E ; CGxDevice::IRsForceUpdate()
|
||||
CGxDevice__IRsSync 00685B50 f end=00685BFE
|
||||
CGxDevice__RsPush 00409670 f end=004096CC
|
||||
CGxDevice__RsSet 00685F50 f end=00685FB0
|
||||
CGxDevice__RsPop 00685FB0 f end=00686116
|
||||
CGxDevice__BufCreate 00687660 f end=006876C9
|
||||
CGxDevice__PoolCreate 006876D0 f end=0068773F
|
||||
CGxDevice__ITexWHDStartEnd 006A5EF0 f end=006A5FDF
|
||||
CGxDevice__TexMarkForUpdate 006848A0 f end=000684900
|
||||
CGxDevice__ITexMarkAsUpdated 00684900 f end=0068492D
|
||||
CGxDevice__ICursorCreate 00684AD0 f end=00684B4A
|
||||
CGxDevice__ICursorDestroy 006835E0 f end=00683602
|
||||
CGxDevice__ICursorDraw 00687A90 f end=00687FCA
|
||||
CGxDevice__DeviceSetBaseMipLevel 00682D00 f end=00682D10
|
||||
CGxDevice__DeviceSetGamma 00684190 f end=006841AF
|
||||
CGxDevice__PoolDestroy 00688340 f end=00688372
|
||||
CGxDevice__BufLock 00683150 f end=00683171
|
||||
CGxDevice__BufUnlock 00683180 f end=006831A0
|
||||
CGxDevice__BufData 00683130 f end=00683142
|
||||
CGxDevice__TexCreate 00685C60 f end=00685CCB
|
||||
CGxDevice__ShaderCreate 006897C0 f end=00689A49
|
||||
CGxDevice__ShaderConstantsSet 006833E0 f end=00683554
|
||||
CGxDevice__CursorSetVisible 00683640 f end=00683650
|
||||
CGxDevice__CursorLock 00683650 f end=00683657
|
||||
CGxDevice__CursorSetDepth 00683660 f end=00683670
|
||||
CGxDevice__CursorUnlock 00684B50 f end=00684B99
|
||||
5
profile/3.3.5a-windows/symbol/gxdevice/label.sym
Normal file
5
profile/3.3.5a-windows/symbol/gxdevice/label.sym
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
g_theGxDevicePtr 00C5DF88 l type="CGxDevice*"
|
||||
CGxDevice__vtable 00A2DDC0 l type="CGxDevice__vtable"
|
||||
CGxDevice__s_shadowConstants 00C5DFE0 l
|
||||
CGxDevice__s_uiVertexShader 00C5DFDC l
|
||||
CGxDevice__s_uiPixelShader 00C5FFFC l
|
||||
57
profile/3.3.5a-windows/symbol/gxdeviced3d/func.sym
Normal file
57
profile/3.3.5a-windows/symbol/gxdeviced3d/func.sym
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
CGxDeviceD3d__ICreateD3dIB 0068E180 f end=0068E1E8
|
||||
CGxDeviceD3d__ISetPresentParms 0068E250 f end=0068E448
|
||||
CGxDeviceD3d__PoolDestroy 0068E720 f end=0068E742
|
||||
CGxDeviceD3d__CursorSetVisible 0068E750 f end=0068E7D6
|
||||
CGxDeviceD3d__ICursorDraw 0068E810 f end=0068E8F2
|
||||
CGxDeviceD3d__ICursorCreate 0068E900 f end=0068E975
|
||||
CGxDeviceD3d__ICreateWindow 0068EBB0 f end=0068ED78
|
||||
CGxDeviceD3d__ILoadD3dLib 0068ED80 f end=0068EE13
|
||||
CGxDeviceD3d__ISetCaps 0068EE20 f end=0068F36D
|
||||
CGxDeviceD3d__ICreateD3dDevice 0068F3D0 f end=0068F692
|
||||
CGxDeviceD3d__IBufUnlock 0068FA60 f end=0068FADC
|
||||
CGxDeviceD3d__BufUnlock 0068FAE0 f end=0068FB07
|
||||
CGxDeviceD3d__IBufLock 0068FB10 f end=0068FCDC
|
||||
CGxDeviceD3d__BufLock 0068FCE0 f end=0068FCFE
|
||||
CGxDeviceD3d__BufData 0068FD00 f end=0068FD49
|
||||
CGxDeviceD3d__CGxDeviceD3d 0068FD50 f end=0068FE80
|
||||
CGxDeviceD3d__DeviceWM 00690230 f end=0069038D
|
||||
CGxDeviceD3d__DeviceSetFormat 006904D0 f end=006905E8
|
||||
CGxDeviceD3d__ICreateD3d 00690680 f end=00690742
|
||||
CGxDeviceD3d__DeviceCreate_WindowProc_CGxFormat 00690750 f end=00690821
|
||||
CGxDeviceD3d__ICreateD3dVB 0069FB00 f end=0069FB68
|
||||
CGxDeviceD3d__CreatePoolAPI 0069FB70 f end=0069FBB8
|
||||
CGxDeviceD3d__ICursorDestroy 006A00C0 f end=006A0102
|
||||
CGxDeviceD3d__WindowProcD3d 006A0360 f end=006A0834
|
||||
CGxDeviceD3d__ITexCreate 006A2C00 f end=006A2D7E
|
||||
CGxDeviceD3d__ITexUpload 006A2D80 f end=006A3062
|
||||
CGxDeviceD3d__ITexMarkAsUpdated 006A3070 f end=006A30CF
|
||||
CGxDeviceD3d__ISceneBegin 006A3350 f end=006A3417
|
||||
CGxDeviceD3d__ISceneEnd 006A3420 f end=006A3449
|
||||
CGxDeviceD3d__ScenePresent 006A3450 f end=006A3611
|
||||
CGxDeviceD3d__Draw 006A3620 f end=006A3716
|
||||
CGxDeviceD3d__IStateSyncEnables 006A3810 f end=006A386E
|
||||
CGxDeviceD3d__ISetVertexBuffer 006A39E0 f end=006A3A59
|
||||
CGxDeviceD3d__IStateSetD3DDefaults 006A3A60 f end=006A3C34
|
||||
CGxDeviceD3d__DsSet 006A3C40 f end=006A40F2
|
||||
CGxDeviceD3d__ISetColorOp 006A4190 f end=006A41EC
|
||||
CGxDeviceD3d__ISetAlphaOp 006A41F0 f end=006A424C
|
||||
CGxDeviceD3d__IStateSyncMaterial 006A4700 f end=006A4846
|
||||
CGxDeviceD3d__IStateSyncXforms 006A4850 f end=006A48FE
|
||||
CGxDeviceD3d__ISetTexture 006A4900 f end=006A4AB3
|
||||
CGxDeviceD3d__IRsSendToHw 006A4C30 f end=006A5499
|
||||
CGxDeviceD3d__ICreateD3dVertexDecl 006A5540 f end=006A5677
|
||||
CGxDeviceD3d__IStateSyncVertexPtrs 006A5700 f end=006A5934
|
||||
CGxDeviceD3d__IStateSync 006A5940 f end=006A59f5
|
||||
CGxDeviceD3d__CapsWindowSize 006A5A00 f end=006A5A25
|
||||
CGxDeviceD3d__IXformSetWorld 006A5A30 f end=006A5A92 type="void __thiscall func(CGxDeviceD3d* this)"
|
||||
CGxDeviceD3d__IBindPixelShader 006A5C70 f end=006A5D48
|
||||
CGxDeviceD3d__IShaderCreate 006A5E10 f end=006A5E36
|
||||
CGxDeviceD3d__SceneClear 006A74B0 f end=006A7538
|
||||
CGxDeviceD3d__CapsWindowSizeInScreenCoords 006A9920 f end=006A99D4
|
||||
CGxDeviceD3d__XformSetProjection 006A9B40 f end=006A9D88
|
||||
CGxDeviceD3d__XformSetView 006A9E00 f end=006A9E09
|
||||
CGxDeviceD3d__IShaderConstantsFlush 006A9FE0 f end=006AA06D
|
||||
CGxDeviceD3d__IShaderCreatePixel 006AA070 f end=006AA0C5
|
||||
CGxDeviceD3d__IShaderCreateVertex 006AA0D0 f end=006AA125
|
||||
CGxDeviceD3d__ShaderCreate 006AA130 f end=006AA18A
|
||||
CGxDeviceD3d__IBindVertexShader 006AA2F0 f end=006AA346
|
||||
2
profile/3.3.5a-windows/symbol/gxdeviced3d/label.sym
Normal file
2
profile/3.3.5a-windows/symbol/gxdeviced3d/label.sym
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CGxDeviceD3d__vtable 00a2e718 l
|
||||
isIdent 00C60760 l
|
||||
1
profile/3.3.5a-windows/symbol/gxdeviced3d9ex/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxdeviced3d9ex/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxDeviceD3d9Ex__CGxDeviceD3d9Ex 006A1A90 f end=006A1C24
|
||||
1
profile/3.3.5a-windows/symbol/gxdeviced3d9ex/label.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxdeviced3d9ex/label.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxDeviceD3d9Ex__vtable 00a2f500 l
|
||||
1
profile/3.3.5a-windows/symbol/gxdeviceopengl/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxdeviceopengl/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxDeviceOpenGl__CGxDeviceOpenGl 0068BBC0 f end=0068BD15
|
||||
1
profile/3.3.5a-windows/symbol/gxdeviceopengl/label.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxdeviceopengl/label.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxDeviceOpenGl__vtable 00A2E198 l
|
||||
4
profile/3.3.5a-windows/symbol/gxprim/func.sym
Normal file
4
profile/3.3.5a-windows/symbol/gxprim/func.sym
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
GxPrimIndexPtr 00681AB0 f end=00681AFB
|
||||
GxPrimVertexPtr 00681B00 f
|
||||
GxPrimVertexPtr_FFP 00682400 f end=00682781 ; this is one of the functions named 'GxPrimVertexPtr' that uses the fixed-function pipeline
|
||||
GxPrimLockVertexPtrs 006828C0 f end=006828FE
|
||||
1
profile/3.3.5a-windows/symbol/gxshader/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxshader/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxShader__Valid 00689A50 f end=00689A6F
|
||||
1
profile/3.3.5a-windows/symbol/gxtexture/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/gxtexture/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
CGxTexFlags__CGxTexFlags 00681BE0 f end=00681CAB ; UC
|
||||
22
profile/3.3.5a-windows/symbol/gxu/func.sym
Normal file
22
profile/3.3.5a-windows/symbol/gxu/func.sym
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
GxuFontShutdown 004A8D10 f end=004A8DBF
|
||||
GxuFontGetOneToOneHeight 006BD020 f end=006BD069
|
||||
GxuFontAddToBatch 006BCE10 f end=006BCE32
|
||||
GxuFontRenderBatch 006BCE40 f end=006BCE52
|
||||
GxuFontGetTextExtent 006BCE60 f end=006BCE98
|
||||
GxuFontGetMaxCharsWithinWidth 006BCEA0 f end=006BCEE7
|
||||
GxuFontSetStringPosition 006BD0A0 f end=006BD0BE
|
||||
GxuFontAddShadow 006BD0C0 f end=006BD0DF
|
||||
GxuDetermineQuotedCode 006BD5A0 f end=006BD89D
|
||||
GxuFontDestroyString 006BDFC0 f end=006BE014
|
||||
GxuFontDestroyBatch 006BE3B0 f end=006BE3DD
|
||||
GxuFontUpdate 006BE3E0 f end=006BEE87
|
||||
GxuFontWindowSizeChanged 006BE020 f end=006BE221
|
||||
GxuFontCreateString 006BE2B0 f end=006BE390
|
||||
GxuFontClearBatch 006BE390 f end=006BE3AD
|
||||
GxuFontCreateBatch 006BF160 f end=006BF202
|
||||
GxuXformCreateProjection_Exact 006BF370 f end=006BF4B2
|
||||
GxuXformCalcFrustumCorners 006BF6D0 f end=006BFB60
|
||||
GxuUpdateSingleColorTexture 006BFDA0 f end=006BFDFE
|
||||
GxuXformCreateProjection_SG 006BFE00 f end=006BFE5C
|
||||
GxuXformCreateLookAtSgCompat 006BFE60 f end=006C004D
|
||||
IGxuFontGlyphRenderGlyph 006C8CC0 f end=006C8E6B
|
||||
3
profile/3.3.5a-windows/symbol/handle/func.sym
Normal file
3
profile/3.3.5a-windows/symbol/handle/func.sym
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
HandleClose 0047BF30 f end=0047BF46
|
||||
HandleCreate 0047BF50 f end=0047BF6B
|
||||
HandleDuplicate 0047BF70 f end=0047BF82
|
||||
2
profile/3.3.5a-windows/symbol/lock/func.sym
Normal file
2
profile/3.3.5a-windows/symbol/lock/func.sym
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
CSRWLock__Enter 0047D0E0 f end=0047D16A
|
||||
CSRWLock__Leave 00774660 f end=00774675
|
||||
22
profile/3.3.5a-windows/symbol/lua/func.sym
Normal file
22
profile/3.3.5a-windows/symbol/lua/func.sym
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
_lua_gettop 0084DBD0 f
|
||||
_lua_settop 0084DBF0 f
|
||||
_lua_insert 0084DCC0 f
|
||||
_lua_type 0084DEB0 f
|
||||
_lua_isnumber 0084DF20 f
|
||||
_lua_isstring 0084DF60 f
|
||||
_lua_tonumber 0084E030 f
|
||||
_lua_tolstring 0084E0E0 f
|
||||
_lua_touserdata 0084E1C0 f
|
||||
_lua_pushnil 0084E280 f
|
||||
_lua_pushnumber 0084E2A0 f
|
||||
_lua_pushstring 0084E350 f
|
||||
_lua_rawget 0084E600 f
|
||||
_lua_rawgeti 0084E670 f
|
||||
_lua_rawset 0084E970 f
|
||||
_luaL_error 0084F280 f
|
||||
_luaL_unref 0084F7A0 f
|
||||
_luaG_runerror 00850920 f
|
||||
_luaD_throw 008562E0 f
|
||||
_luaD_precall 00856370 f
|
||||
luaD_call 00856760 f
|
||||
_luaV_execute 00857CA0 f
|
||||
2707
profile/3.3.5a-windows/symbol/main.sym
Normal file
2707
profile/3.3.5a-windows/symbol/main.sym
Normal file
File diff suppressed because it is too large
Load diff
158
profile/3.3.5a-windows/symbol/nullsub/func.sym
Normal file
158
profile/3.3.5a-windows/symbol/nullsub/func.sym
Normal file
|
|
@ -0,0 +1,158 @@
|
|||
nullsub_1 0040D3B5 f
|
||||
nullsub_2 0047ADD0 f
|
||||
j_nullsub_3 0047B760 f
|
||||
nullsub_3 005EEB70 f end=005EEB71 ; SErrDisplayAppFatal resolves to this in release mode?
|
||||
nullsub_4 00632050 f
|
||||
nullsub_5 00653A10 f
|
||||
nullsub_154 006B0960 f
|
||||
nullsub_151 006B1B80 f
|
||||
nullsub_6 006B1B90 f
|
||||
nullsub_155 006B1BA0 f
|
||||
nullsub_152 00743550 f
|
||||
nullsub_153 00743560 f
|
||||
nullsub_7 009D34B0 f
|
||||
nullsub_8 009D34C0 f
|
||||
nullsub_9 009D4260 f
|
||||
nullsub_10 009DB620 f
|
||||
nullsub_11 009DB630 f
|
||||
nullsub_12 009DD930 f
|
||||
nullsub_13 009DD940 f
|
||||
nullsub_14 009DD950 f
|
||||
nullsub_15 009DD960 f
|
||||
nullsub_16 009DD970 f
|
||||
nullsub_17 009DD980 f
|
||||
nullsub_18 009DD990 f
|
||||
nullsub_19 009DD9A0 f
|
||||
nullsub_20 009DD9B0 f
|
||||
nullsub_21 009DD9C0 f
|
||||
nullsub_22 009DD9D0 f
|
||||
nullsub_23 009DD9E0 f
|
||||
nullsub_24 009DD9F0 f
|
||||
nullsub_25 009DDA00 f
|
||||
nullsub_26 009DDA10 f
|
||||
nullsub_27 009DDA20 f
|
||||
nullsub_28 009DDA30 f
|
||||
nullsub_29 009DDA40 f
|
||||
nullsub_30 009DDA50 f
|
||||
nullsub_31 009DDA60 f
|
||||
nullsub_32 009DDA70 f
|
||||
nullsub_33 009DDA80 f
|
||||
nullsub_34 009DDA90 f
|
||||
nullsub_35 009DDAA0 f
|
||||
nullsub_36 009DDAB0 f
|
||||
nullsub_37 009DDAC0 f
|
||||
nullsub_38 009DDAD0 f
|
||||
nullsub_39 009DDAE0 f
|
||||
nullsub_40 009DDAF0 f
|
||||
nullsub_41 009DDB00 f
|
||||
nullsub_42 009DDB10 f
|
||||
nullsub_43 009DDB20 f
|
||||
nullsub_44 009DDB30 f
|
||||
nullsub_45 009DDB40 f
|
||||
nullsub_46 009DDB50 f
|
||||
nullsub_47 009DDB60 f
|
||||
nullsub_48 009DDB70 f
|
||||
nullsub_49 009DDB80 f
|
||||
nullsub_50 009DDB90 f
|
||||
nullsub_51 009DDBA0 f
|
||||
nullsub_52 009DDBB0 f
|
||||
nullsub_53 009DDBC0 f
|
||||
nullsub_54 009DDBD0 f
|
||||
nullsub_55 009DDBE0 f
|
||||
nullsub_56 009DDBF0 f
|
||||
nullsub_57 009DDC00 f
|
||||
nullsub_58 009DDC10 f
|
||||
nullsub_59 009DDC20 f
|
||||
nullsub_60 009DDC30 f
|
||||
nullsub_61 009DDC40 f
|
||||
nullsub_62 009DDC50 f
|
||||
nullsub_63 009DDC60 f
|
||||
nullsub_64 009DDC70 f
|
||||
nullsub_65 009DDC80 f
|
||||
nullsub_66 009DDC90 f
|
||||
nullsub_67 009DDCA0 f
|
||||
nullsub_68 009DDCB0 f
|
||||
nullsub_69 009DDCC0 f
|
||||
nullsub_70 009DDCD0 f
|
||||
nullsub_71 009DDCE0 f
|
||||
nullsub_72 009DDCF0 f
|
||||
nullsub_73 009DDD00 f
|
||||
nullsub_74 009DDD10 f
|
||||
nullsub_75 009DDD20 f
|
||||
nullsub_76 009DDD30 f
|
||||
nullsub_77 009DDD40 f
|
||||
nullsub_78 009DDD50 f
|
||||
nullsub_79 009DDD60 f
|
||||
nullsub_80 009DDD70 f
|
||||
nullsub_81 009DDD80 f
|
||||
nullsub_82 009DDD90 f
|
||||
nullsub_83 009DDDA0 f
|
||||
nullsub_84 009DDDB0 f
|
||||
nullsub_85 009DDDC0 f
|
||||
nullsub_86 009DDDD0 f
|
||||
nullsub_87 009DDDE0 f
|
||||
nullsub_88 009DDDF0 f
|
||||
nullsub_89 009DDE00 f
|
||||
nullsub_90 009DDE10 f
|
||||
nullsub_91 009DDE20 f
|
||||
nullsub_92 009DDE30 f
|
||||
nullsub_93 009DDE40 f
|
||||
nullsub_94 009DDE50 f
|
||||
nullsub_95 009DDE60 f
|
||||
nullsub_96 009DDE70 f
|
||||
nullsub_97 009DDE80 f
|
||||
nullsub_98 009DDE90 f
|
||||
nullsub_99 009DDEA0 f
|
||||
nullsub_100 009DDEB0 f
|
||||
nullsub_101 009DDEC0 f
|
||||
nullsub_102 009DDED0 f
|
||||
nullsub_103 009DDEE0 f
|
||||
nullsub_104 009DDEF0 f
|
||||
nullsub_105 009DDF00 f
|
||||
nullsub_106 009DDF10 f
|
||||
nullsub_107 009DDF20 f
|
||||
nullsub_108 009DDF30 f
|
||||
nullsub_109 009DDF40 f
|
||||
nullsub_110 009DDF50 f
|
||||
nullsub_111 009DDF60 f
|
||||
nullsub_112 009DDF70 f
|
||||
nullsub_113 009DDF80 f
|
||||
nullsub_114 009DDF90 f
|
||||
nullsub_115 009DDFA0 f
|
||||
nullsub_116 009DDFB0 f
|
||||
nullsub_117 009DDFC0 f
|
||||
nullsub_118 009DDFD0 f
|
||||
nullsub_119 009DDFE0 f
|
||||
nullsub_120 009DDFF0 f
|
||||
nullsub_121 009DE000 f
|
||||
nullsub_122 009DE010 f
|
||||
nullsub_123 009DE020 f
|
||||
nullsub_124 009DE030 f
|
||||
nullsub_125 009DE040 f
|
||||
nullsub_126 009DE050 f
|
||||
nullsub_127 009DE060 f
|
||||
nullsub_128 009DE070 f
|
||||
nullsub_129 009DE080 f
|
||||
nullsub_130 009DE090 f
|
||||
nullsub_131 009DE0A0 f
|
||||
nullsub_132 009DE0B0 f
|
||||
nullsub_133 009DE0C0 f
|
||||
nullsub_134 009DE0D0 f
|
||||
nullsub_135 009DE0E0 f
|
||||
nullsub_136 009DE0F0 f
|
||||
nullsub_137 009DE100 f
|
||||
nullsub_138 009DE110 f
|
||||
nullsub_139 009DE120 f
|
||||
nullsub_140 009DE130 f
|
||||
nullsub_141 009DE140 f
|
||||
nullsub_142 009DE150 f
|
||||
nullsub_143 009DE160 f
|
||||
nullsub_144 009DE170 f
|
||||
nullsub_145 009DE180 f
|
||||
nullsub_146 009DE190 f
|
||||
nullsub_147 009DE1A0 f
|
||||
nullsub_148 009DE1B0 f
|
||||
nullsub_149 009DE1C0 f
|
||||
nullsub_150 009DE1D0 f
|
||||
return_zero4_sub 008E5250 f end=008E5253 ; Script_ToggleTris
|
||||
purecall 0040BAA5 f end=0040BACF
|
||||
29
profile/3.3.5a-windows/symbol/os/func.sym
Normal file
29
profile/3.3.5a-windows/symbol/os/func.sym
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
OsCloseFile 00461B00 f end=00461B09
|
||||
OsReadFile 00461B50 f end=00461B88
|
||||
OsGetFileSize 00461BD0 f end=00461BF4
|
||||
OsSetCurrentDirectory 00461DB0 f end=00461DD7
|
||||
OsCreateFile 00461FA0 f end=00461FFA
|
||||
OsInputDestroy 00869760 f end=008697D3
|
||||
OsInputInitialize 00869720 f end=00869757 ; actually called by IEvtInputInitialize, but this is optimized out
|
||||
OsInputGet 00869E00 f end=0086A01A
|
||||
OsInputGetMousePosition 0086A0D0 f end=0086A130
|
||||
OsInputSetMousePosition 0086A130 f end=0086A194
|
||||
OsInputSetMouseMode 0086A020 f end=0086A063
|
||||
OsInputSetEventPollProc 00869D90 f end=00869D9D
|
||||
CenterMouse 00869DB0 f end=00869DF6
|
||||
RestoreMouse 008695B0 f end=008695FB
|
||||
OsGetAsyncTimeMs 0086AE20 f end=0086AE2B
|
||||
OsSystemEnableCpuLog 0086B0C0 f end=0086B0CB
|
||||
OsGetProcessorCount 0086B240 f end=0086B27D
|
||||
OsGetExeName 0086BBD0 f end=0086BC2F
|
||||
OsPathGetRootChars 0086BC30 f end=0086BC9E
|
||||
OsPathStripFilename 0086BE50 f end=0086BE9B
|
||||
OsGetExePath 0086BEA0 f end=0086BEBE
|
||||
OsGuiGetWindow 0086C6A0 f end=0086C6CE
|
||||
OsGetDefaultWindowRect 0086A1A0 f end=0086A20C
|
||||
OsIMEInitialize 0086D0A0 f end=0086D0B8
|
||||
OsIMEDestroy 0086D0C0 f end=0086D0Df
|
||||
OsClipboardPutString 008722A0 f end=008722BF
|
||||
OsCallSetContext 0086F5A0 f end=0086F5EA
|
||||
OsCallInitializeContext 0086F880 f end=0086F902
|
||||
OsCallInitialize 0086F760 f end=0086F875
|
||||
1
profile/3.3.5a-windows/symbol/rcstring/func.sym
Normal file
1
profile/3.3.5a-windows/symbol/rcstring/func.sym
Normal file
|
|
@ -0,0 +1 @@
|
|||
RCString__Copy 0047CF80 f end=0047CFEC
|
||||
1972
profile/3.3.5a-windows/symbol/script/func.sym
Normal file
1972
profile/3.3.5a-windows/symbol/script/func.sym
Normal file
File diff suppressed because it is too large
Load diff
37
profile/3.3.5a-windows/symbol/storm/func.sym
Normal file
37
profile/3.3.5a-windows/symbol/storm/func.sym
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
SCmdRegisterArgList 00773590 f end=007737C2
|
||||
SCmdProcess 00773890 f end=00773986
|
||||
SCmdProcessCommandLine 00773990 f end=007739AD
|
||||
SErrSetLastError 00771870 f end=00771886
|
||||
SErrSetLogTitleString 00771890 f end=007718F2
|
||||
SErrSetLogTitleCallback 00771900 f end=00771957
|
||||
SErrRegisterHandler 00771B80 f end=00771C15
|
||||
SErrCatchUnhandledExceptions 00772B20 f end=00772B2C
|
||||
SMemAlloc 0076E540 f end=0076E59A type="void* __stdcall func(uint32_t bytes, char* filename, int32_t linenumber, uint32_t flags)"
|
||||
SMemFree 0076E5A0 f end=0076E5C4 type="int32_t __stdcall func(void* ptr, char* filename, int32_t linenumber, uint32_t flags)"
|
||||
SMemReAlloc 0076E5E0 f end=0076E6D6 type="void* __stdcall func(void* ptr, uint32_t bytes, char* filename, int32_t linenumber, uint32_t flags)"
|
||||
SMemSetDebugFlags 0076E4A0 f end=0076E4D2
|
||||
SRegLoadValue 00770840 f end=007708E9
|
||||
SRegSaveValue 007709A0 f end=007709E8
|
||||
SStrChr 0076E6E0 f end=0076E712
|
||||
SStrChrR 0076E720 f end=0076E756
|
||||
SStrCmp 0076E760 f end=0076E77B
|
||||
SStrCmpI 0076E780 f end=0076E79B
|
||||
SStrCopy 0076ED20 f end=0076ED98
|
||||
SStrLen 0076EE30 f end=0076EE5E
|
||||
SStrPack 0076EF70 f end=0076F001
|
||||
SStrPrintf 0076F070 f end=0076F09E type="int32_t __stdcall func(char* dest, size_t maxchars, char* format, ...)"
|
||||
SStrVPrintf 0076F0A0 f end=0076F0CE
|
||||
SStrTokenize 0076F1E0 f end=0076F331
|
||||
SStrHashHT 0076F640 f end=0076F6B9
|
||||
SEvent__Set 00774720 f end=0077472A
|
||||
SEvent__Reset 00774730 f end=0077473A
|
||||
SSyncObject__Wait 00774690 f end=007746A4
|
||||
StormInitialize 007739E0 f end=007739F4
|
||||
StormSetOption 00773A80 f end=00773C81
|
||||
TSList__LinkNode 004F71A0 f end=004F724D
|
||||
SCritSect__SCritSect 00774620 f end=0077462E type="SCritSect* __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__destructor 00774630 f end=00774638 type="void __thiscall func(SCritSect *this)"
|
||||
SRgnCreate 00777980 f end=00777A78
|
||||
SRgnDelete 00777940 f end=00777971
|
||||
23
profile/3.3.5a-windows/symbol/tempest/func.sym
Normal file
23
profile/3.3.5a-windows/symbol/tempest/func.sym
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
CRndSeed__SetSeed 004C1510 f
|
||||
C44Matrix__C44Matrix 00407F40 f end=00407F76
|
||||
C44Matrix__operator_assign_C44Matrix 00407F80 f end=00407FEA
|
||||
C44Matrix__Determinant 004C1930 f
|
||||
C44Matrix__Translate 004C1B30 f
|
||||
C44Matrix__Scale_C3Vector 004C1B90 f
|
||||
C44Matrix__Scale_float 004C1BF0 f
|
||||
C44Matrix__C44Matrix_C4Quaternion 004C1DE0 f
|
||||
operator_multiply_C44Matrix_C44Matrix 004C1F00 f
|
||||
operator_multiply_C3Vector_C44Matrix 004C21B0 f
|
||||
C44Matrix__operator_assignment_multiply 004C2370 f
|
||||
C44Matrix__Transpose 004C23D0 f
|
||||
C44Matrix__Inverse 004C2F90 f
|
||||
C44Matrix__AffineInverse 004C2FC0 f
|
||||
C44Matrix__AffineInvertInPlace 004C30A0 f
|
||||
C44Matrix__RotationAroundZ 004C3290 f
|
||||
C44Matrix__RotateAroundX 004C3300 f
|
||||
C44Matrix__RotateAroundY 004C3340 f
|
||||
C44Matrix__RotateAroundZ 004C3380 f
|
||||
C44Matrix__Rotate 004C33C0 f
|
||||
C3Vector__Normalize_1 004C3420 f
|
||||
C3Vector__Normalize_2 004C3600 f
|
||||
C33Matrix__operator_assign_C33Matrix 004C51B0 f
|
||||
5
profile/3.3.5a-windows/symbol/textblock/func.sym
Normal file
5
profile/3.3.5a-windows/symbol/textblock/func.sym
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TextBlockCreate 004BDAA0 f end=004BDBE4
|
||||
TextBlockGenerateFont 004BE9C0 f end=004BEB8C
|
||||
TextBlockGetFontPtr 004BD9D0 f end=004BD9EA
|
||||
TextBlockSetStringPos 004BDBF0 f end=004BDC4C
|
||||
TextBlockGetWrappedTextHeight 004BDD80 f
|
||||
45
profile/3.3.5a-windows/symbol/texture/func.sym
Normal file
45
profile/3.3.5a-windows/symbol/texture/func.sym
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
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)"
|
||||
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)"
|
||||
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)"
|
||||
CBLPFile__Pixels 006AF6A0 f end=006AF6D1 type="uint32_t __thiscall func(CBLPFile* this, uint32_t mipLevel)"
|
||||
CBLPFile__Close 006AE8B0 f end=006AE8DA type="void __thiscall func(CBLPFile* this)"
|
||||
CBLPFile__Open 006AFF10 f end=006AFFCF type="int32_t __thiscall func(CBLPFile* this, char* filename)"
|
||||
CBLPFile__Source 006AE900 f end=006AE990 type="int32_t __thiscall func(CBLPFile* this, void* fileBits)"
|
||||
CBLPFile__LockChain2 006AFFD0 f end=006B012E type="int32_t __thiscall func(CBLPFile* this, char* fileName, PIXEL_FORMAT format, MipBits** images, uint32_t mipLevel, int32_t a6)"
|
||||
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__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__DecompPalARGB8888 006AE9E0 f end=006AEB93 type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)"
|
||||
CBLPFile__DecompPalFastPath 006AE990 f end=006AE9D6 type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t colorSize)"
|
||||
CBLPFile__DecompPalARGB4444DitherFloydSteinberg 006AEBA0 f end=006AEE61 type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)"
|
||||
CBLPFile__DecompPalARGB1555DitherFloydSteinberg 006AEE70 f end=006AF133 type="void __thiscall func(CBLPFile* this, uint8_t* data, void* tempbuffer, uint32_t width, uint32_t height)"
|
||||
CBLPFile__DecompPalARGB565DitherFloydSteinberg 006AF140 f end=006AF33F 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__DecompPal 006AF810 f end=006AF984 type="int32_t __thiscall func(CBLPFile* this, PIXEL_FORMAT format, uint32_t mipLevel, uint8_t* data, void* tempBuffer)"
|
||||
CTgaFile__AddAlphaChannel_internal 006AA420 f end=006AA51E type="void __thiscall func(CTgaFile* this, uint8_t* pAlphaData, uint8_t* pNoAlphaData, uint8_t* alpha)" ; private utility method
|
||||
CTgaFile__AddAlphaChannel 006AB390 f end=006AB447 type="int32_t __thiscall func(CTgaFile* this, void* pImg)" ; public method
|
||||
CTgaFile__RemoveAlphaChannels 006AA870 f end=006AA948 type="int32_t __thiscall func(CTgaFile* this)"
|
||||
CTgaFile__Open 006AAFB0 f end=006AB0D4 type="int32_t __thiscall func(CTgaFile* this, char* filename, int32_t a3)"
|
||||
CTgaFile__Close 006AAF40 f end=006AAFA5 type="int32_t __thiscall func(CTgaFile* this)"
|
||||
CTgaFile__LoadImageData 006AB4B0 f end=006AB5B8 type="int32_t __thiscall func(CTgaFile* this, int32_t flags)"
|
||||
CTgaFile__ReadRawImage 006AA520 f end=006AA62F
|
||||
CTgaFile__ReadRleImage 006AB220 f end=006AB381
|
||||
CTgaFile__ConvertColorMapped 006AB0E0 f end=006AB212
|
||||
CTgaFile__ReadColorMappedImage 006AB450 f end=006AB4A1
|
||||
CTgaFile__ColorMapEntryBytes 006AA350 f end=006AA379 ; UC
|
||||
CTgaFile__ColorMapBytes 006AA380 f end=006AA3B0
|
||||
CTgaFile__SetTopDown 006AA700 f end=006AA81D type="void __thiscall func(CTgaFile* this, int32_t set)"
|
||||
CTgaFile__ImageTGA32Pixel 006AA840 f end=006AA867 type="TGA32Pixel* __thiscall func(CTgaFile* this)"
|
||||
CTgaFile__ValidateColorDepth 006AA3B0 f end=006AA3E0 type="int32_t __thiscall func(CTgaFile* this)"
|
||||
CTgaFile__PreImageBytes 006AA3E0 f end=006AA41B type="uint32_t __thiscall func(CTgaFile* this)"
|
||||
CTgaFile__RLEDecompressImage 006AA630 f end=006AA6F2 type="int32_t __thiscall func(CTgaFile* this, uint8_t* pRLEData, uint8_t* pData)"
|
||||
TextureCalcMipCount 004B5510 f end=004B5549 type="int32_t __stdcall func(uint32_t width, uint32_t height)"
|
||||
TextureAllocMippedImg 004B7220 f end=004B72F4 type="MipBits* __stdcall func(PIXEL_FORMAT format, uint32_t width, uint32_t height)"
|
||||
MippedImgSet 006AB810 f end=006AB85E type="void __stdcall func(uint32_t fourCC, uint32_t width, uint32_t height, MipBits* bits)"
|
||||
MippedImgAllocA 006AB760 f end=006AB7DF type="MipBits* __stdcall func(uint32_t fourCC, uint32_t width, uint32_t height, char* filename, int32_t linenumber)"
|
||||
LoadPredrawnMips 004B5A00 f end=004B5BA2
|
||||
FullShrink 006AB860 f end=006ABAAF type="void _stdcall func(C4Pixel* dest, uint32_t destWidth, uint32_t destHeight, C4Pixel* source, uint32_t sourceWidth, uint32_t sourceHeight)"
|
||||
TextureGenerateMips 004B5550 f end=004B55D7
|
||||
CalcLevelSize 006AB620 f end=006AB6B9 type="uint32_t __cdecl func(uint32_t level, uint32_t width, uint32_t height, uint32_t fourCC)"
|
||||
CalcLevelCount 006AB700 f end=006AB75C type="uint32_t __stdcall func(uint32_t width, uint32_t height)"
|
||||
GetBitDepth 006AB5C0 f end=006AB614
|
||||
3
profile/3.3.5a-windows/symbol/texture/label.sym
Normal file
3
profile/3.3.5a-windows/symbol/texture/label.sym
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
s_pixelFormatToMipBitsCache 009F1074 l
|
||||
CBLPFile__s_oneBitAlphaLookup 00AD90C0 l type="uint8_t[2]"
|
||||
CBLPFile__s_eightBitAlphaLookup 00AD90B0 l type="uint8_t[16]"
|
||||
37416
profile/3.3.5a-windows/x32dbg/game.dd32
Normal file
37416
profile/3.3.5a-windows/x32dbg/game.dd32
Normal file
File diff suppressed because it is too large
Load diff
5282
profile/3.3.5a-windows/x32dbg/types.json
Normal file
5282
profile/3.3.5a-windows/x32dbg/types.json
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue