Log 6


──────────────┤ View On GitHub ├──────────────

Completed this week

1. DONE Refactor to smart pointers

  • All game actor components are now smart pointers.

2. DONE Add Factories

  • Added factories for consumables and game actors. Not entirely keen on the approach here. Feel like I need a service locator or a map of types to factories to not overload the EntityManager constructor.

Next

I saw this week a bunch of warnings in the build output. I hadn't realized last week that zip functionality in libtcod was deprecated. Instead it recommends switching to Cereal for saving and loading. Next up for me is to make that switch.

Bugs

Picking up corpses?!

I accidentally picked up a corpse that was on top of an item this week. I hadn't thought about this being a possibility, but there you go. Not sure if this is a bug or a feature though! Nothing happens if you try to use it, and you can always drop the corpse. Might make an interesting mechanic later.


Get Yet Another Roguelike tutorial with C++ and Libtcod

Leave a comment

Log in with itch.io to leave a comment.