SuperFola / pataro

A generic and modular Roguelike game on top of libtcod - I'll be back soon, just need a break!
25 stars 3 forks source link

Add serialization to be able to save/load games #13

Open SuperFola opened 2 years ago

SuperFola commented 2 years ago

I'm currently trying something on this branch, but before going further, maybe one should consider trying a premade library for this, like cereal

The goal is to be able to serialize:

HexDecimal commented 2 years ago

Cereal is on Vcpkg. It should be easy to add it to the Vcpkg manifest and the CMake scripts.

gusmccallum commented 2 years ago

Hi I'd like to work on this, please assign it to me.

SuperFola commented 2 years ago

Ok!

gusmccallum commented 2 years ago

Thanks!

SuperFola commented 2 years ago

I've picked up the issue again, correcting your code @gusmccallum.

This does compile now, but there are a few blocking things upon saving (and most likely when loading as well).