2011-12-24 03:51:58 -07:00
|
|
|
#include "Internal.h"
|
2011-12-31 04:48:42 -07:00
|
|
|
#include "DataDefs.h"
|
|
|
|
#include "MiscUtils.h"
|
2011-12-24 05:22:10 -07:00
|
|
|
|
2011-12-31 04:48:42 -07:00
|
|
|
#include "df/world.h"
|
|
|
|
#include "df/world_data.h"
|
|
|
|
#include "df/ui.h"
|
2011-12-24 05:22:10 -07:00
|
|
|
|
|
|
|
namespace {
|
|
|
|
template<class T>
|
|
|
|
inline T &_toref(T &r) { return r; }
|
|
|
|
template<class T>
|
|
|
|
inline T &_toref(T *&p) { return *p; }
|
|
|
|
}
|
2011-12-24 03:51:58 -07:00
|
|
|
|
|
|
|
// Instantiate all the static objects
|
2011-12-31 04:48:42 -07:00
|
|
|
#include "df/static.inc"
|
|
|
|
#include "df/static.enums.inc"
|