I have an array with 8 maps: ObjectMap map.
Each map have a member "bool unlock".
First, 7 maps are locked, when the player reach many objectives the maps become unlock.
I want to make a file like this (for save the state of the maps):
So, how can I write and read this file using fstreams?
I need map get the bool state 0 from the file, map, bool state 1, etc.
Thanks for the help!
Edited by buumchakalaka, 15 December 2012 - 01:16 PM.