Here is the project code at the time of submission:
https://github.com/arbeiter/SDLGamePOCs/tree/ceec7d83d56193766576f85ec393a0582c49bab7
Here is the project code at the time of submission:
https://github.com/arbeiter/SDLGamePOCs/tree/ceec7d83d56193766576f85ec393a0582c49bab7
Hour 17:
Now supports drag and drop of items across the map from the inventory. The inventory logic is all in a single class: Inventory.cpp.
A transparent sprite is drawn when a user clicks on an item and drags it across the map.
The sprite is colored red (for now) and when the click is released, the item is "dropped" onto the map.
Support dragging and dropping items into crafting slots in the inventory menu.