mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 09:33:51 +00:00
Add sqlite single-player persistence with autosave
This commit is contained in:
parent
940669740d
commit
48d2808872
7 changed files with 767 additions and 64 deletions
|
|
@ -15,11 +15,14 @@ public:
|
|||
|
||||
/// Returns true if equipment changed since last call, and clears the flag.
|
||||
bool consumeEquipmentDirty() { bool d = equipmentDirty; equipmentDirty = false; return d; }
|
||||
/// Returns true if any inventory slot changed since last call, and clears the flag.
|
||||
bool consumeInventoryDirty() { bool d = inventoryDirty; inventoryDirty = false; return d; }
|
||||
|
||||
private:
|
||||
bool open = false;
|
||||
bool bKeyWasDown = false;
|
||||
bool equipmentDirty = false;
|
||||
bool inventoryDirty = false;
|
||||
|
||||
// Drag-and-drop held item state
|
||||
bool holdingItem = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue