mirror of
https://github.com/zeldaret/ph
synced 2026-07-08 13:46:28 -04:00
Decomp ItemManager::RemoveItem
This commit is contained in:
@@ -305,7 +305,7 @@ public:
|
||||
// Item
|
||||
bool HasItem(ItemFlag item) const;
|
||||
void AddItem(ItemFlag item);
|
||||
void RemoveItem(ItemFlag item);
|
||||
void RemoveItem(s32 item);
|
||||
void GiveItem(ItemId id, unk32 param2, unk32 param3);
|
||||
void GiveEquipItem(ItemFlag item, u16 ammo);
|
||||
|
||||
|
||||
+2
-1
@@ -4,7 +4,8 @@
|
||||
#define NULL 0
|
||||
|
||||
#define GET_FLAG(arr, pos) (((1 << ((pos) & 0x1f)) & (arr)[(pos) >> 5]) != 0)
|
||||
#define SET_FLAG(arr, pos) ((arr)[(pos) >> 5] |= 1 << ((pos) & 0x1f))
|
||||
#define SET_FLAG(arr, pos) ((arr)[((u32(pos))) >> 5] |= 1 << ((pos) & 0x1f))
|
||||
#define RESET_FLAG(arr, pos) ((arr)[((u32)(pos)) >> 5] &= ~(1 << ((pos) & 0x1f)))
|
||||
|
||||
#ifdef NONMATCHING
|
||||
#define NONMATCH
|
||||
|
||||
Reference in New Issue
Block a user