@@ -16,13 +16,13 @@ typedef Integer* PInteger;
1616typedef std::wstring* PWChar;
1717
1818// function declaration
19- const int NUM_FUNCTIONS = 153 ;
19+ const int NUM_FUNCTIONS = 155 ;
2020
2121static const char * FUNCTION_NAMES [NUM_FUNCTIONS] = {
2222 // META METHODS
23- " InitXEdit" , " CloseXEdit" , " GetResultString" , " GetResultArray" , " GetGlobal " , " GetGlobals " ,
24- " SetSortMode " , " Release " , " ReleaseNodes " , " Switch " , " GetDuplicateHandles " , " CleanStore " ,
25- " ResetStore" ,
23+ " InitXEdit" , " CloseXEdit" , " GetResultString" , " GetResultArray" , " GetResultBytes " ,
24+ " GetGlobal " , " GetGlobals " , " SetSortMode " , " Release " , " ReleaseNodes " , " Switch " ,
25+ " GetDuplicateHandles " , " CleanStore " , " ResetStore" ,
2626 // MESSAGE METHODS
2727 " GetMessagesLength" , " GetMessages" , " ClearMessages" , " GetExceptionMessageLength" ,
2828 " GetExceptionMessage" , " GetExceptionStackLength" , " GetExceptionStack" ,
@@ -32,6 +32,8 @@ static const char* FUNCTION_NAMES [NUM_FUNCTIONS] = {
3232 " GetLoaderStatus" , " UnloadPlugin" ,
3333 // ARCHIVE HANDLING METHODS
3434 " ExtractContainer" , " ExtractFile" , " GetContainerFiles" , " GetLoadedContainers" , " LoadContainer" ,
35+ // TEXTURE HANDLING METHODS
36+ " GetBitmapResource" ,
3537 // FILE HANDLING METHODS
3638 " AddFile" , " FileByIndex" , " FileByLoadOrder" , " FileByName" , " FileByAuthor" , " NukeFile" ,
3739 " RenameFile" , " SaveFile" , " GetRecordCount" , " GetOverrideRecordCount" , " MD5Hash" , " CRCHash" ,
@@ -73,6 +75,7 @@ struct functions_struct {
7375 void (__cdecl* CloseXEdit)();
7476 WordBool (__cdecl* GetResultString)(PWChar, Integer);
7577 WordBool (__cdecl* GetResultArray)(PCardinal, Integer);
78+ WordBool (__cdecl* GetResultBytes)(PByte, Integer);
7679 WordBool (__cdecl* GetGlobal)(PWChar, PInteger);
7780 WordBool (__cdecl* GetGlobals)(PInteger);
7881 WordBool (__cdecl* SetSortMode)(Byte, WordBool);
@@ -110,6 +113,8 @@ struct functions_struct {
110113 WordBool (__cdecl* GetContainerFiles)(PWChar, PInteger);
111114 WordBool (__cdecl* GetLoadedContainers)(PInteger);
112115 WordBool (__cdecl* LoadContainer)(PWChar);
116+ // TEXTURE HANDLING METHODS
117+ WordBool (__cdecl* GetBitmapResource)(PWChar, PInteger, PInteger);
113118 // FILE HANDLING METHODS
114119 WordBool (__cdecl* AddFile)(PWChar, PCardinal);
115120 WordBool (__cdecl* FileByIndex)(Integer, PCardinal);
0 commit comments