Add map image support with coordinate mapping to pixels
This commit is contained in:
1 parent
3d63950d01
commit
d769c3ef86
5 files changed
+255
-11
No files matched your search
@@ -69,6 +69,31 @@ DEFAULTS = {
|
||||
'check_interval_hours': 24,
|
||||
'renewal_days_before_expiry': 30,
|
||||
},
|
||||
'maps': {
|
||||
'default_map': 'DeepDesert',
|
||||
'DeepDesert': {
|
||||
'image': 'maps/Deep_Desert_Map1.jpg',
|
||||
'bounds': {
|
||||
'min_x': 466906,
|
||||
'max_x': 466907,
|
||||
'min_y': -620339,
|
||||
'max_y': -620340
|
||||
},
|
||||
'flip_y': False,
|
||||
'image_size': {'width': 1200, 'height': 800}
|
||||
},
|
||||
'HaggaBasin': {
|
||||
'image': None,
|
||||
'bounds': {
|
||||
'min_x': 21352,
|
||||
'max_x': 23166,
|
||||
'min_y': 233981,
|
||||
'max_y': 237943
|
||||
},
|
||||
'flip_y': False,
|
||||
'image_size': {'width': 800, 'height': 600}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user