4 #include <cereal/archives/json.hpp> 31 template<
class Archive>
44 template<
class Archive>
int d_resolutionX
Definition: options.hpp:22
The data structure holding all of the options settings.
Definition: options.hpp:17
int d_resolutionY
Definition: options.hpp:23
void save(Archive &archive, optionsCereal const &ops)
Save operation for the options data. Serialized to json.
Definition: options.hpp:32
int d_musicVolume
Definition: options.hpp:19
int d_soundEffectVolume
Definition: options.hpp:20
bool d_fullscreen
Definition: options.hpp:21
void load(Archive &archive, optionsCereal &ops)
Load operation for the json serialized options data.
Definition: options.hpp:45