RoF+ Cursor Buffer SummonItem Initial Test Change

This commit is contained in:
Trevius
2014-12-20 01:52:58 -06:00
parent 6e192b1794
commit d454763cd1
5 changed files with 52 additions and 10 deletions
+5
View File
@@ -259,6 +259,11 @@ int16 Inventory::PushCursor(const ItemInst& inst)
return MainCursor;
}
ItemInst* Inventory::PopCursor()
{
return m_cursor.pop();
}
// Swap items in inventory
bool Inventory::SwapItem(int16 slot_a, int16 slot_b)
{
+2
View File
@@ -151,6 +151,8 @@ public:
// Add item to cursor queue
int16 PushCursor(const ItemInst& inst);
// Remove item from cursor queue
ItemInst* PopCursor();
// Swap items in inventory
bool SwapItem(int16 slot_a, int16 slot_b);