Better support of removing fog from a single hex.
Fixes bug #21643, although artists might find room for improvement.
This commit is contained in:
parent
337fe6535c
commit
46b87250cd
2 changed files with 10 additions and 0 deletions
BIN
data/core/images/terrain/fog/fog-all.png
Normal file
BIN
data/core/images/terrain/fog/fog-all.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
|
@ -1031,6 +1031,16 @@ std::vector<surface> display::get_fog_shroud_images(const map_location& loc, ima
|
|||
}
|
||||
|
||||
if(start == 6) {
|
||||
// Completely surrounded by fog or shroud. This might have
|
||||
// a special graphic.
|
||||
const std::string name = *image_prefix[v] + "-all.png";
|
||||
if ( image::exists(name) ) {
|
||||
names.push_back(name);
|
||||
// Proceed to the next visibility (fog -> shroud -> clear).
|
||||
continue;
|
||||
}
|
||||
// No special graphic found. We'll just combine some other images
|
||||
// and hope it works out.
|
||||
start = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue