Item Loadout Usage Tests added. 101/101 unit tests passing. Release Build 9947.
This commit is contained in:
@@ -93,6 +93,7 @@ void ItemInfo::InitializeItems(){
|
||||
Inventory::loadoutItemsUsed={};
|
||||
Inventory::sortedInv.clear();
|
||||
Inventory::blacksmithInventory.clear();
|
||||
Inventory::_inventory.clear();
|
||||
|
||||
ITEM_CONVERSIONS.Reset();
|
||||
ITEM_DATA.Reset();
|
||||
|
||||
@@ -250,6 +250,7 @@ class Inventory{
|
||||
friend class Item;
|
||||
friend class SaveFile;
|
||||
friend class InventoryCreator;
|
||||
friend class ItemTests::ItemTest;
|
||||
public:
|
||||
static std::weak_ptr<Item>AddItem(IT it,uint32_t amt=1,bool monsterDrop=false);
|
||||
//Returns the actual amount available in your main inventory.
|
||||
|
||||
@@ -105,6 +105,7 @@ class Player{
|
||||
friend class Inventory;
|
||||
friend void ItemOverlay::Draw();
|
||||
friend class PlayerTests::PlayerTest;
|
||||
friend class ItemTests::ItemTest;
|
||||
public:
|
||||
Player();
|
||||
//So this is rather fascinating and only exists because we have the ability to change classes which means we need to initialize a class
|
||||
|
||||
@@ -39,7 +39,7 @@ All rights reserved.
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 2
|
||||
#define VERSION_PATCH 3
|
||||
#define VERSION_BUILD 9944
|
||||
#define VERSION_BUILD 9947
|
||||
|
||||
#define stringify(a) stringify_(a)
|
||||
#define stringify_(a) #a
|
||||
|
||||
Reference in New Issue
Block a user