RoF+ Cursor Buffer SummonItem Initial Test Change

This commit is contained in:
Trevius committed 2014-12-22 19:47:01 -06:00
1 parent 6e192b1794
commit d454763cd1
5 files changed
+52 -10

No files matched your search

+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);