implement BB item usage and mag feeding

This commit is contained in:
Martin Michelsen
2023-06-12 19:26:53 -07:00
parent 1a72f7c90a
commit 71ebf01b0b
15 changed files with 913 additions and 242 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ struct PlayerInventory { // 0x34C bytes
PlayerInventory();
size_t find_item(uint32_t item_id);
size_t find_item(uint32_t item_id) const;
size_t find_equipped_weapon() const;
size_t find_equipped_armor() const;
size_t find_equipped_mag() const;
} __attribute__((packed));
struct PlayerBank { // 0x12C8 bytes