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
universe_util_export.cpp
Go to the documentation of this file.
1 #include "python_class.h"
2 #include <boost/version.hpp>
3 /* ToDo: Fix so Boost 1.28 is supported */
4 #if BOOST_VERSION != 102800
5 #if BOOST_VERSION != 102800
6 #include <boost/python.hpp>
7 #else
8 #include <boost/python/objects.hpp>
9 #endif
10 
11 #include "cmd/container.h"
12 #include "init.h"
13 #include "gfx/vec.h"
14 #include "cmd/unit_generic.h"
15 #include "universe_util.h"
16 #include "cmd/unit_util.h"
17 #include "faction_generic.h"
18 #include "cmd/ai/fire.h"
20 {
21 #define EXPORT_UTIL( name, aff ) PYTHON_DEFINE_GLOBAL( VS, &UniverseUtil::name, #name );
22 #define voidEXPORT_UTIL( name ) EXPORT_UTIL( name, 0 )
23 #undef EXPORT_FACTION
24 #undef voidEXPORT_FACTION
25 #define EXPORT_FACTION( name, aff ) PYTHON_DEFINE_GLOBAL( VS, &FactionUtil::name, #name );
26 #define voidEXPORT_FACTION( name ) EXPORT_FACTION( name, 0 )
27 
28  #include "star_system_exports.h"
29 }
30 #include <string>
31 #endif
32