1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Merge pull request #2840 from krs0/quickfix/fix_adventuremap_widget_json

Fix adventure map widget json
This commit is contained in:
Andrii Danylchenko
2023-09-16 11:07:00 +03:00
committed by GitHub

View File

@@ -1,7 +1,7 @@
{ {
"options" : { "options" : {
// player-colored images used for background // player-colored images used for background
"imagesPlayerColored" : [ "AdvMap.pcx" ], "imagesPlayerColored" : [ "AdvMap.pcx" ]
}, },
"items": "items":
@@ -315,7 +315,7 @@
"item" : { "top" : 16, "left": 2, "width" : 48, "height" : 32 }, "item" : { "top" : 16, "left": 2, "width" : 48, "height" : 32 },
"itemsOffset" : { "x" : 0, "y" : 32 }, "itemsOffset" : { "x" : 0, "y" : 32 },
"itemsCount" : 5 "itemsCount" : 5
}, }
] ]
}, },
{ {
@@ -331,7 +331,7 @@
"image" : "DiBoxBck.pcx", "image" : "DiBoxBck.pcx",
"area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 }, "area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 },
"sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 } "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
}, }
] ]
}, },
// Town / Hero lists for large (664+) vertical resolution // Town / Hero lists for large (664+) vertical resolution
@@ -402,7 +402,7 @@
"image" : "DiBoxBck.pcx", "image" : "DiBoxBck.pcx",
"area": { "top": 192, "bottom" : 3, "right" : 57, "width" : 64 }, "area": { "top": 192, "bottom" : 3, "right" : 57, "width" : 64 },
"sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 } "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
}, }
] ]
}, },
{ {
@@ -418,7 +418,7 @@
"image" : "DiBoxBck.pcx", "image" : "DiBoxBck.pcx",
"area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 }, "area": { "top": 0, "bottom" : 0, "left" : 0, "right" : 0 },
"sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 } "sourceArea": { "left" : 0, "top" : 0, "width" : 256, "height" : 256 }
}, }
] ]
}, },
{ {
@@ -509,7 +509,7 @@
{ {
"type": "adventureMapContainer", "type": "adventureMapContainer",
"hideWhen" : "mapLayerSurface", "hideWhen" : "mapLayerSurface",
"area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 } "area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 },
"items" : [ "items" : [
{ {
"type": "adventureMapButton", "type": "adventureMapButton",
@@ -532,7 +532,7 @@
{ {
"type": "adventureMapContainer", "type": "adventureMapContainer",
"hideWhen" : "mapLayerUnderground", "hideWhen" : "mapLayerUnderground",
"area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 } "area": { "top" : 343, "left": 79, "width" : 32, "height" : 32 },
"items" : [ "items" : [
{ {
"type": "adventureMapButton", "type": "adventureMapButton",