add support to SDLBackend for rendering 24bit data
[openc2e.git] / ser / s_caosVar.h
blob840ae9dbc0e530a029198e7f04eeb0f4244ef496
1 #ifndef SER_CAOSVAR_H
2 #define SER_CAOSVAR_H 1
4 #include "caosVar.h"
5 #include "serialization.h"
6 #include <boost/serialization/variant.hpp>
7 #include "caosVM.h"
8 #include "ser/s_physics.h"
10 // XXX: stub so serialtest works until everything else serializes
11 SAVE(AgentRef) {}
12 LOAD(AgentRef) { obj = NULL; }
13 BOOST_CLASS_IMPLEMENTATION(AgentRef, boost::serialization::object_serializable);
14 BOOST_CLASS_TRACKING(AgentRef, boost::serialization::track_never);
16 SERIALIZE(nulltype_tag) { }
17 BOOST_CLASS_IMPLEMENTATION(nulltype_tag, boost::serialization::object_serializable);
18 BOOST_CLASS_TRACKING(nulltype_tag, boost::serialization::track_never);
21 SERIALIZE(caosVar) {
22 ar & obj.value;
24 BOOST_CLASS_IMPLEMENTATION(caosVar, boost::serialization::object_serializable);
25 BOOST_CLASS_TRACKING(caosVar, boost::serialization::track_never);
28 #endif