diff --git a/Source/items.cpp b/Source/items.cpp index 5a5ad8c22..0fb414d7e 100644 --- a/Source/items.cpp +++ b/Source/items.cpp @@ -3084,10 +3084,6 @@ int GetGoldCursor(int value) return ICURS_GOLD_MEDIUM; } -/** - * @brief Update the gold cursor on the given gold item - * @param h The item to update - */ void SetPlrHandGoldCurs(Item &gold) { gold._iCurs = GetGoldCursor(gold._ivalue); @@ -4947,9 +4943,6 @@ void Item::SetNewAnimation(bool showAnimation) } } -/** - * @brief Resets item get records. - */ void initItemGetRecords() { memset(itemrecord, 0, sizeof(itemrecord)); diff --git a/Source/items.h b/Source/items.h index 57ef77325..d19a76685 100644 --- a/Source/items.h +++ b/Source/items.h @@ -415,11 +415,17 @@ void CalcPlrItemVals(Player &player, bool Loadgfx); void CalcPlrInv(Player &player, bool Loadgfx); void SetPlrHandItem(Item &item, int itemData); void GetPlrHandSeed(Item *h); + /** * @brief Set a new unique seed value on the given item */ void SetGoldSeed(Player &player, Item &gold); int GetGoldCursor(int value); + +/** + * @brief Update the gold cursor on the given gold item + * @param h The item to update + */ void SetPlrHandGoldCurs(Item &gold); void CreatePlrItems(int playerId); bool ItemSpaceOk(Point position); @@ -471,6 +477,10 @@ void CreateMagicWeapon(Point position, int imisc, int icurs, bool sendmsg, bool bool GetItemRecord(int nSeed, uint16_t wCI, int nIndex); void SetItemRecord(int nSeed, uint16_t wCI, int nIndex); void PutItemRecord(int nSeed, uint16_t wCI, int nIndex); + +/** + * @brief Resets item get records. + */ void initItemGetRecords(); #ifdef _DEBUG