summaryrefslogtreecommitdiffstats
path: root/src/common/defines.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2011-12-02 23:53:45 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-02-24 20:44:13 +0100
commitdd20c7f6148cc8b8b627028e25e817cc1cab063b (patch)
treeb7c9900c8b01aa67a496cd92276a166450817761 /src/common/defines.h
parent9860dacbb6526138ae8edf57adc42ddc3e6073fa (diff)
downloadmanaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.tar.gz
manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.tar.xz
manaserv-dd20c7f6148cc8b8b627028e25e817cc1cab063b.zip
Added possibility to reserve maps
If you set net_gameServerName you can now reserve maps in the maps.xml. There you have to add the servername - property to the <map> tag. Then the map will only be activated by that server. Also changed the activate sequence that the account server now tells the game server what maps to activate (previously the server requested all maps and the account server said yes or no). TODO: Fix general inter server map switching.
Diffstat (limited to 'src/common/defines.h')
-rw-r--r--src/common/defines.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/defines.h b/src/common/defines.h
index d572df1..4ba77a1 100644
--- a/src/common/defines.h
+++ b/src/common/defines.h
@@ -29,6 +29,18 @@
// World tick time in miliseconds.
#define WORLD_TICK_MS 100
+// Files
+#define DEFAULT_MAPSDB_FILE "maps.xml"
+#define DEFAULT_ITEMSDB_FILE "items.xml"
+#define DEFAULT_EQUIPDB_FILE "equip.xml"
+#define DEFAULT_SKILLSDB_FILE "skills.xml"
+#define DEFAULT_ATTRIBUTEDB_FILE "attributes.xml"
+#define DEFAULT_MONSTERSDB_FILE "monsters.xml"
+#define DEFAULT_STATUSDB_FILE "status-effects.xml"
+#define DEFAULT_PERMISSION_FILE "permissions.xml"
+#define DEFAULT_SPECIALSDB_FILE "specials.xml"
+#define DEFAULT_EMOTESDB_FILE "emotes.xml"
+
/**
* Exit value codes are thrown back at servers exit to reflect their exit state.
*/