1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merge pull request #5916 from Laserlicht/generate_overlay_shadow

Generate overlay & shadow
This commit is contained in:
Ivan Savenko
2025-07-31 17:05:41 +03:00
committed by GitHub
9 changed files with 410 additions and 13 deletions

View File

@@ -45,7 +45,13 @@ VCMI allows overriding HoMM3 .def files with .json replacement. Compared to .def
"frame" : 0,
// Filename for this frame
"file" : "filename.png"
"file" : "filename.png",
// Automatically create shadow for this frame if required. Optional, 0 = None, 1 = Normal Shadow, 2 = Sheared Shadow (e.g. for adventure map)
"generateShadow" : 1,
// Automatically create overlay for this frame if required. Optional, 0 = None, 1 = Outline
"generateOverlay" : 1,
}.
...
]