summaryrefslogtreecommitdiff
path: root/MapLoading.h
diff options
context:
space:
mode:
authorJapa2010-04-09 14:24:27 +0000
committerJapa2010-04-09 14:24:27 +0000
commit114df922d3073bd296b38cf522997f520fb17850 (patch)
treec4cf372825118c3663cd77e18c69a6c3b59d070f /MapLoading.h
parent81aefc8e03ff3f647494012e18bcdc8f33f4de42 (diff)
downloadstonesense-114df922d3073bd296b38cf522997f520fb17850.tar.gz
stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.bz2
stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.xz
updated trunk to the new graphics engine, and the latest DFhack
Diffstat (limited to 'MapLoading.h')
-rw-r--r--MapLoading.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/MapLoading.h b/MapLoading.h
new file mode 100644
index 0000000..cbb4c23
--- /dev/null
+++ b/MapLoading.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#ifdef LINUX_BUILD
+ #define SUSPEND_DF DF.Suspend()
+ #define RESUME_DF DF.Resume()
+#else
+ #define SUSPEND_DF ;
+ #define RESUME_DF ;
+#endif
+
+
+inline bool IDisWall(int in);
+inline bool IDisFloor(int in);
+void reloadDisplayedSegment();
+
+void DisconnectFromDF();
+bool IsConnectedToDF();
+
+extern const memory_info *dfMemoryInfo;