Abstracted from cave+normal to kzedmaps. Can now have any configurable type of map.

This commit is contained in:
FrozenCow 2011-01-10 23:58:39 +01:00
parent 4b5e6e6f80
commit 8263918b8d
5 changed files with 213 additions and 144 deletions

View file

@ -1,10 +1,17 @@
var setup = {
var config = {
tileUrl: 'tiles/',
updateUrl: 'up/', // For Apache and lighttpd
// updateUrl: 'up/default.aspx?lasttimestamp=', // For IIS
updateRate: 2000, // Seconds the map should poll for updates. (Seconds) * 1000. The default is 2000 (every 2 seconds).
showPortraitsOnMap: true,
showPortraitsInPlayerList: true,
showPlayerNameOnMap: false
showPlayerNameOnMap: false,
defaultMap: 'defaultmap',
maps: {
'defaultmap': new DefaultMapType(),
'cavemap': new CaveMapType()
},
tileWidth: 128,
tileHeight: 128
};