mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2025-10-13 16:34:22 -05:00
Latest stable.
This commit is contained in:
@@ -1046,5 +1046,10 @@ namespace diablo2 {
|
||||
//D2Common.0x6FD57720 (#10602)
|
||||
//int __stdcall DATATBLS_GetItemIdFromItemCode(uint32_t dwCode)
|
||||
static int get_item_id_from_item_code(uint32_t dwCode);
|
||||
|
||||
//D2Common.0x6FD576D0 (#10601)
|
||||
// D2ItemsTxt* __stdcall DATATBLS_GetItemRecordFromItemCode(uint32_t dwCode, int* pItemId)
|
||||
static structures::items_line* get_item_record_from_item_code(uint32_t dwCode, int* pItemId);
|
||||
|
||||
};
|
||||
}
|
||||
|
@@ -49,8 +49,10 @@ namespace diablo2 {
|
||||
static uint32_t __fastcall diablo2::d2_game::transmogrify(diablo2::structures::game* game, diablo2::structures::unit* player);
|
||||
|
||||
//D2Game.0x6FC4ED80
|
||||
structures::unit* __fastcall D2GAME_CreateItemEx_6FC4ED80(structures::game* pGame, structures::D2ItemDropStrc* pItemDrop, int32_t a3);
|
||||
static structures::unit* __fastcall D2GAME_CreateItemEx_6FC4ED80(structures::game* pGame, structures::D2ItemDropStrc* pItemDrop, int32_t a3);
|
||||
|
||||
//D2Game.0x6FC4A660
|
||||
static int32_t __fastcall D2GAME_Transmogrify_6FC4A660(structures::game* pGame, structures::unit* pPlayer, structures::unit* pItem);
|
||||
|
||||
static int32_t __fastcall D2GAME_Transmogrify_6FC4A660(structures::game* pGame, structures::unit* pUnit, structures::unit* pItem);
|
||||
};
|
||||
}
|
||||
|
@@ -89,6 +89,12 @@ namespace diablo2 {
|
||||
};
|
||||
};
|
||||
|
||||
struct D2CoordStrc //sizeof 0x08
|
||||
{
|
||||
int nX; //0x00
|
||||
int nY; //0x04
|
||||
};
|
||||
|
||||
struct D2ItemDropStrc
|
||||
{
|
||||
diablo2::structures::unit* pUnit; //0x00
|
||||
|
Reference in New Issue
Block a user