Working on right click gem extraction

This commit is contained in:
Hash Borgir
2024-04-28 12:09:32 -06:00
parent d7fab9d077
commit 74f1d9de01
59 changed files with 418 additions and 187 deletions

View File

@@ -28,6 +28,9 @@ extern int randStatBool;
extern bool m_stats_enabled;
extern bool m_help_enabled;
namespace diablo2 {
namespace structures {
struct unit;

View File

@@ -17,6 +17,7 @@ namespace d2_tweaks {
class loot_filter_settings_toggle_menu final : public ui::menu, singleton<loot_filter_settings_toggle_menu> {
ui::controls::button* m_toggle_filter_settings_btn;
ui::controls::button* m_btn_toggle_stats;
ui::controls::button* m_btn_toggle_help;
menu* m_filter_settings_menu;
bool m_show;
public:
@@ -24,6 +25,7 @@ namespace d2_tweaks {
void toggle_filter_settings_click();
void toggle_stats_settings_click();
void toggle_help_click();
void draw() override;

View File

@@ -235,6 +235,7 @@ namespace d2_tweaks {
struct item_move_cs : packet_header {
uint32_t item_guid;
const char* item_code;
uint8_t target_page;
uint32_t bag_guid = 0;
bool updateBag;

View File

@@ -86,5 +86,10 @@ namespace diablo2 {
static bool is_gamble_open();
static uint8_t current_interact_menu();
static void resync_vendor_inventory(structures::unit* ptNPC);
static int32_t send_to_server_9(BYTE type, DWORD num, DWORD unk1);
};
}

View File

@@ -47,5 +47,6 @@ namespace diablo2 {
static void update_inventory_items(structures::game* game, structures::unit* player);
static uint32_t __fastcall diablo2::d2_game::transmogrify(diablo2::structures::game* game, diablo2::structures::unit* player);
};
}