Roxen.git
/
server
/
etc
/
modules
/
Map.pmod
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/modules/Map.pmod:301:
img = img->autocrop()->setcolor(@opt->background_color); img = img->copy(-opt->border, -opt->border, img->xsize()+opt->border-1, img->ysize()+opt->border-1); return img->scale(min(min(fixed_width/(float)img->xsize(), 1.0), min(fixed_height/(float)img->ysize(), 1.0))); } } static private mapping map_of_the_earth =
-
decode_value(Stdio.read_bytes("etc/maps/
map
"));
+
decode_value(Stdio.read_bytes("etc/maps/
worldmap
"));
class Earth { static string state_region; static string state_country; // Aliases. mapping(string:array(string)) country_name_aliases = ([ "United States of America":({ "USA", "US" }), "Russian Federation":({ "Russia" }), "England":({ "United Kingdom", "UK" }),