mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-25 20:25:07 +00:00
38 lines
901 B
INI
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
|