#textdomain wesnoth # These are clutter, scheduled to be removed. # ! in comments is used for generating HTML documentation, ignore it otherwise. #define DEPRECATE MACRO_NAME VERSION_NAME # Tag macros for removal, the VERSION_NAME argument is the # release where the message is shown the first time. # The removal will be 2 versions later. [deprecated_message] message="Macro '" + {MACRO_NAME} + "' is scheduled for removal in Wesnoth " + {VERSION_NAME} + "." [/deprecated_message] #enddef #define UNIT TYPE ID_STRING NAME_STRING SIDE X Y # Create a unit with the Loyal trait. # # Example: #! {UNIT (Elvish Fighter) (Myname) ( _ "Myname") 1 1 1} # [unit] type={TYPE} id={ID_STRING} name={NAME_STRING} side={SIDE} x={X} y={Y} [modifications] {TRAIT_LOYAL} [/modifications] [/unit] {DEPRECATE "UNIT" 1.4} #enddef #define SET_IMAGE X Y IMAGE # Places an image at a given tile, shrinking it to fit the tile # # For example, let's put a tent on tile 14,5 #! {SET_IMAGE 14 5 "terrain/tent.png"} [item] x,y={X},{Y} image={IMAGE} [/item] {DEPRECATE "SET_IMAGE" 1.4} #enddef