summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2014-10-09 14:02:02 +0200
committersfan5 <sfan5@live.de>2014-11-19 15:11:23 +0100
commit9d69436052c32bc218352fc991be157a4f135b9d (patch)
tree8c6ebf508615dde855b6331a7f8c0d7afd786a60 /src/client.h
parent0ee5a2197d228122412598f6b87000df10006911 (diff)
downloadminetest-9d69436052c32bc218352fc991be157a4f135b9d.tar.gz
minetest-9d69436052c32bc218352fc991be157a4f135b9d.tar.bz2
minetest-9d69436052c32bc218352fc991be157a4f135b9d.zip
Add (optional) client-side saving of server map to disk
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index 084f7be2c..e41410f14 100644
--- a/src/client.h
+++ b/src/client.h
@@ -46,6 +46,8 @@ class ClientMediaDownloader;
struct MapDrawControl;
class MtEventManager;
struct PointedThing;
+class Database;
+class Server;
struct QueuedMeshUpdate
{
@@ -555,6 +557,10 @@ private:
// own state
LocalClientState m_state;
+
+ // Used for saving server map to disk client-side
+ Database *localdb;
+ Server *localserver;
};
#endif // !CLIENT_HEADER