Commit graph

11 commits

Author SHA1 Message Date
Zed A. Shaw
3c5021e4c9 So far most of the bugs are solved but there's still some edge cases in the inventory dance. 2025-06-22 23:54:50 -04:00
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. 2025-06-20 13:17:12 -04:00
Zed A. Shaw
119b3ed11d Can now drag an item out of inventory and drop on the ground, then pick it back up, and put it in a loot container, and then back again. Still buggy but working for now. 2025-06-19 00:45:22 -04:00
Zed A. Shaw
68e50342e5 Can now drag an item out of inventory and drop it. 2025-06-18 11:26:38 -04:00
Zed A. Shaw
dfd3118d04 Make the transitions more solid by having an open/close set of functions to maintain cleaning up internal state. 2025-06-17 12:24:11 -04:00
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. 2025-06-17 11:50:03 -04:00
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. 2025-06-15 00:12:46 -04:00
Zed A. Shaw
cd02507023 Make a function that handles the mouse events for everything since those are very similar. 2025-06-14 22:56:23 -04:00
Zed A. Shaw
7fc32b0248 Trying out Ragel's state machine generation as an alternative to the DinkyFSM style. 2025-06-14 00:43:40 -04:00
Zed A. Shaw
9468990f76 DNDLoot works now, just had to fix a problem with the constructor. 2025-06-13 10:46:05 -04:00
Zed A. Shaw
82ee8f68f7 Created a separate FSM for the DND functionality that compiles but need to wire it in to work. 2025-06-13 00:57:45 -04:00