wesnoth/data/core/terrain-graphics/enduring-editor.cfg
doofus-01 19fcc1424f
Deprecation of old-style _PLFB and script-generated macros
1.17 terrain-graphics macros clean-up (#6606)
2022-04-16 10:01:09 -07:00

38 lines
901 B
INI

#textdomain wesnoth
# Macros for terrains that appear differently (or only) in the editor
#define EDITOR_OVERLAY TERRAIN IMAGE_NAME
#ifdef EDITOR
[terrain_graphics]
[tile]
x,y=0,0
type={TERRAIN}
[image]
name={IMAGE_NAME}.png~O(0.5)
layer=1000
[/image]
[/tile]
[/terrain_graphics]
#endif
#enddef
#define EDITOR_DEPRECATED TERRAIN
#ifdef EDITOR
[terrain_graphics]
[tile]
x,y=0,0
type={TERRAIN}
# Instead of using ~O(0.5), this image is mainly transparent pixels. When replacing the
# old mushroom overlay, it's helpful to be able to easily recognise the base terrain.
[image]
name=deprecated-editor.png
layer=1001
[/image]
[/tile]
[/terrain_graphics]
#endif
#enddef