summaryrefslogtreecommitdiff
path: root/src/common/config.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-31 21:26:28 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-31 21:26:28 +0300
commit8c2d41ab26c49ec6b9398a3d5117e69d8b1bcbf0 (patch)
tree86d84540074f4b212c433e3c50c9a66f85db2999 /src/common/config.h
parentc3ac3686cd4a52a9c72da045564e653e94c30d48 (diff)
downloadevol-hercules-8c2d41ab26c49ec6b9398a3d5117e69d8b1bcbf0.tar.gz
evol-hercules-8c2d41ab26c49ec6b9398a3d5117e69d8b1bcbf0.tar.bz2
evol-hercules-8c2d41ab26c49ec6b9398a3d5117e69d8b1bcbf0.tar.xz
evol-hercules-8c2d41ab26c49ec6b9398a3d5117e69d8b1bcbf0.zip
Read default map and position from config.
Diffstat (limited to 'src/common/config.h')
-rw-r--r--src/common/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/common/config.h b/src/common/config.h
new file mode 100644
index 0000000..9c24932
--- /dev/null
+++ b/src/common/config.h
@@ -0,0 +1,16 @@
+// Copyright (c) Copyright (c) Hercules Dev Team, licensed under GNU GPL.
+// Copyright (c) 2014 Evol developers
+
+#ifndef EVOL_COMMON_CONFIG
+#define EVOL_COMMON_CONFIG
+
+void config_default_map(const char *val);
+void config_default_x(const char *val);
+void config_default_y(const char *val);
+void common_config_final(void);
+
+extern const char *default_map;
+extern int default_x;
+extern int default_y;
+
+#endif // EVOL_COMMON_CONFIG