Commit Graph

13 Commits (75c28cd7643776017bd0d92be11bfbfa15e628c5)

Author SHA1 Message Date
Zed A. Shaw b0204772c7 Need to not transition out of END if the slot clicked is empty. Closes #45 1 day ago
Zed A. Shaw f668ff6b7a First round of cleanup. dnd_loot. 4 days ago
Zed A. Shaw 689bb150c6 I think that's all the edge cases handled. You can more loot around fairly arbitrarily. 5 days ago
Zed A. Shaw 6ff1919587 Cleaned up the move operation more so that I can use it in the other places that I need it. 5 days ago
Zed A. Shaw f559b5a39d Fixed the problem where the only way to complete a grab/drop operation was to capture the MOUSE_CLICK directly. Solution was to move the mouse processing out of DNDLoot and only handle the MOUSE_MOVE/DRAG. 5 days ago
Zed A. Shaw a0eff927b6 Big BIG refactor to make inventory use a model that's placed into the world, following a more sane MVC style. 1 week ago
Zed A. Shaw 68e50342e5 Can now drag an item out of inventory and drop it. 2 weeks ago
Zed A. Shaw dfd3118d04 Make the transitions more solid by having an open/close set of functions to maintain cleaning up internal state. 2 weeks ago
Zed A. Shaw 029a0f86ae Drag now show the icon while you're dragging, so now need to work out all of the edge cases for each action. 2 weeks ago
Zed A. Shaw ca74b817e5 You can grab stuff off the ground and put in your inventory but it doesn't show the sprite while you do it yet. 2 weeks ago
Zed A. Shaw cd02507023 Make a function that handles the mouse events for everything since those are very similar. 2 weeks ago
Zed A. Shaw 9468990f76 DNDLoot works now, just had to fix a problem with the constructor. 2 weeks ago
Zed A. Shaw 82ee8f68f7 Created a separate FSM for the DND functionality that compiles but need to wire it in to work. 2 weeks ago