summaryrefslogtreecommitdiff
path: root/MapLoading.h
diff options
context:
space:
mode:
authorJonas Ask2009-11-12 14:24:57 +0000
committerJonas Ask2009-11-12 14:24:57 +0000
commit3dd787166a3324ceb8ba3c5b6e9b4b3c63b78956 (patch)
treec34ae5fb071aae59c2d08f6884065b9e64ee0fb6 /MapLoading.h
parentb04bb54ef68a1e10b4126caece7b522d39a4ed05 (diff)
downloadstonesense-3dd787166a3324ceb8ba3c5b6e9b4b3c63b78956.tar.gz
stonesense-3dd787166a3324ceb8ba3c5b6e9b4b3c63b78956.tar.bz2
stonesense-3dd787166a3324ceb8ba3c5b6e9b4b3c63b78956.tar.xz
Stonesense now only connects to the dfHack API ONCE. This should significantly improve load times.
There is a known Issue with this: If you exit DF, stonesense will not know about it and crash.
Diffstat (limited to 'MapLoading.h')
-rw-r--r--MapLoading.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/MapLoading.h b/MapLoading.h
index 1aebb94..8582dff 100644
--- a/MapLoading.h
+++ b/MapLoading.h
@@ -7,5 +7,8 @@ inline bool IDisWall(int in);
inline bool IDisFloor(int in);
void reloadDisplayedSegment();
+void DisconnectFromDF();
+bool IsConnectedToDF();
+
WorldSegment* ReadMapSegment(int x, int y, int z, int sizex, int sizey, int sizez);