summaryrefslogtreecommitdiff
path: root/library/DataStatics.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2011-12-24 14:51:58 +0400
committerAlexander Gavrilov2011-12-24 14:51:58 +0400
commit79ac2a781a3bfd3395a5785098a16403c1a9d3ce (patch)
tree91b5942ba1a17f81554f6ae89d95b81d2aeb2ee5 /library/DataStatics.cpp
parent0b5a470a3894b1cbaaf3970e4416bd35371493d0 (diff)
downloaddfhack-79ac2a781a3bfd3395a5785098a16403c1a9d3ce.tar.gz
dfhack-79ac2a781a3bfd3395a5785098a16403c1a9d3ce.tar.bz2
dfhack-79ac2a781a3bfd3395a5785098a16403c1a9d3ce.tar.xz
Add infrastructure necessary to use the generated headers.
As a usage example, allow toggling water level display and idlers, and implement a ui tweak for easily copying stockpiles. Also disable df2mc by default - default options shouldn't require anything not in the base package.
Diffstat (limited to 'library/DataStatics.cpp')
-rw-r--r--library/DataStatics.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/library/DataStatics.cpp b/library/DataStatics.cpp
new file mode 100644
index 00000000..57aeb779
--- /dev/null
+++ b/library/DataStatics.cpp
@@ -0,0 +1,5 @@
+#include "Internal.h"
+#include "dfhack/DataDefs.h"
+
+// Instantiate all the static objects
+#include "dfhack/df/static.inc"