Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
unit_exports.cpp
Go to the documentation of this file.
1 #include "python_class.h"
2 
3 #include "cmd/container.h"
4 #include <string>
5 #include "init.h"
6 #include "gfx/vec.h"
7 #include "cmd/unit_generic.h"
8 #include <boost/version.hpp>
9 #if BOOST_VERSION != 102800
10 #include <boost/python.hpp>
11 typedef boost::python::dict BoostPythonDictionary;
12 #else
13 #include <boost/python/objects.hpp>
14 typedef boost::python::dictionary BoostPythonDictionary;
15 #endif
16 
17 #include "universe_util.h"
18 #include "cmd/unit_util.h"
19 #include "faction_generic.h"
20 #include "cmd/ai/fire.h"
21 
22 #include "unit_wrapper_class.h"
23 #include "unit_from_to_python.h"
24 extern void ExportUnitFIRST( class boost::python::class_builder< class UnitWrapper >&Class );
25 extern void ExportUnitSECOND( boost::python::class_builder< UnitWrapper > &Class );
26 extern void ExportUnitTHIRD( boost::python::class_builder< UnitWrapper > &Class );
27 
28 void ExportUnit( boost::python::class_builder< UnitWrapper > &Class )
29 {
30  ExportUnitFIRST( Class );
31  ExportUnitSECOND( Class );
32  ExportUnitTHIRD( Class );
33 }
34