1 | #! perl # depends=widget mandatory |
1 | #! perl # depends=widget mandatory |
2 | |
2 | |
3 | # this module implements a rather fancy worldmap |
3 | # this module implements a rather fancy worldmap |
4 | |
4 | |
5 | our $WORLDMAP_UPDATE_INTERVAL = $cf::CFG{worldmap_update_interval} || 2; |
5 | CONF WORLDMAP_UPDATE_INTERVAL = 2; |
6 | |
6 | |
7 | our $GENCOUNT = 0; |
7 | our $GENCOUNT = 0; |
8 | our %PLAYERINFO; |
8 | our %PLAYERINFO; |
9 | |
9 | |
10 | our ($MAPW, $MAPH) = (1024, 1024); # it's useful to know the map width/height in pixels |
10 | our ($MAPW, $MAPH) = (1024, 1024); # it's useful to know the map width/height in pixels |