Display invisible overlays on main map in map editor
This commit is contained in:
parent
7a12f685cc
commit
057a2e65a0
4 changed files with 24 additions and 0 deletions
|
@ -54,6 +54,7 @@ Version 1.11.0-svn:
|
|||
* Added a Reset All button to Hotkey Settings dialog in preferences
|
||||
(feature/bug #3797)
|
||||
* Fixed excessive idle CPU usage in story screens without story text
|
||||
* Map editor now displays invisible overlay terrains on main map
|
||||
* Whiteboard
|
||||
* Fixed bug #19369: Using planning mode can cause losing ability to move my units
|
||||
* Fixed bug #19408: Crash shortly after executing invalid multi-turn move
|
||||
|
|
|
@ -45,6 +45,11 @@
|
|||
[/terrain_graphics]
|
||||
{TRANSITION_COMPLETE_L (!,*^_fme) (*^_fme) 1000 off-map/border}
|
||||
|
||||
# Editor overlays - for overlays that should only be visible in the editor
|
||||
{EDITOR_OVERLAY *^Xo impassable-editor}
|
||||
{EDITOR_OVERLAY *^Vov village/village-overlay-editor}
|
||||
{EDITOR_OVERLAY *^Cov castle/castle-overlay-editor}
|
||||
{EDITOR_OVERLAY *^Kov castle/keep-overlay-editor}
|
||||
|
||||
# TRACK LAYOUT MUST STAY ON TOP
|
||||
# they set flags that will be used by other macros later.
|
||||
|
|
17
data/core/terrain-graphics/editor.cfg
Normal file
17
data/core/terrain-graphics/editor.cfg
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Macros for terrains that appear differently (or only) in the editor
|
||||
|
||||
#define EDITOR_OVERLAY TYPE IMAGE
|
||||
#ifdef EDITOR
|
||||
[terrain_graphics]
|
||||
[tile]
|
||||
x,y=0,0
|
||||
type={TYPE}
|
||||
|
||||
[image]
|
||||
name={IMAGE}.png~O(0.5)
|
||||
layer=1000
|
||||
[/image]
|
||||
[/tile]
|
||||
[/terrain_graphics]
|
||||
#endif
|
||||
#enddef
|
|
@ -41,6 +41,7 @@ Version 1.11.0-svn:
|
|||
* Added tooltips to Load Game dialog (feature/bug #18249).
|
||||
* Added a Reset All button to Hotkey Settings dialog in preferences
|
||||
(feature/bug #3797)
|
||||
* Map editor now displays invisible overlay terrains on main map.
|
||||
|
||||
* Whiteboard
|
||||
* Fixed bug #19369 : Using planning mode can cause losing ability to move my units
|
||||
|
|
Loading…
Add table
Reference in a new issue