Deprecate MESSAGE
This was deprecated once before because of wmllint issues, then reverted. I don't know whether said wmllint issues still exist, but this time it's being deprecated because we no longer wish to support this kind of macro.
This commit is contained in:
parent
d595c97fc0
commit
95d7bcdce6
2 changed files with 14 additions and 14 deletions
|
@ -41,3 +41,17 @@ _"No gold carried over to the next scenario."#enddef
|
|||
# Deprecated; use MISSILE_FRAME_FIREBALL_XY X_OFFSET Y_OFFSET instead
|
||||
{MISSILE_FRAME_FIREBALL_XY 0 0}
|
||||
#enddef
|
||||
|
||||
#define MESSAGE SPEAKER_ID IMAGE CAPTION_TEXT MESSAGE_TEXT
|
||||
# Displays a text message spoken by SPEAKER_ID.
|
||||
# Speaker can be any of: narrator, unit and second_unit
|
||||
# For example, let's have the narrator, which looks like a faery
|
||||
# express some feelings on the undead:
|
||||
#! {MESSAGE narrator "units/elves-wood/shyde.png" _ "Faery" _ "Aarr! Them be undeadies! Loooks at them.."}
|
||||
[message]
|
||||
speaker={SPEAKER_ID}
|
||||
message={MESSAGE_TEXT}
|
||||
image={IMAGE}
|
||||
caption={CAPTION_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
|
|
@ -4,20 +4,6 @@
|
|||
# These don't depend on any other macros. Please don't change this.
|
||||
# ! in comments is used to generate HTML documentation; ignore it otherwise.
|
||||
|
||||
#define MESSAGE SPEAKER_ID IMAGE CAPTION_TEXT MESSAGE_TEXT
|
||||
# Displays a text message spoken by SPEAKER_ID.
|
||||
# Speaker can be any of: narrator, unit and second_unit
|
||||
# For example, let's have the narrator, which looks like a faery
|
||||
# express some feelings on the undead:
|
||||
#! {MESSAGE narrator "units/elves-wood/shyde.png" _ "Faery" _ "Aarr! Them be undeadies! Loooks at them.."}
|
||||
[message]
|
||||
speaker={SPEAKER_ID}
|
||||
message={MESSAGE_TEXT}
|
||||
image={IMAGE}
|
||||
caption={CAPTION_TEXT}
|
||||
[/message]
|
||||
#enddef
|
||||
|
||||
#define HIGHLIGHT_IMAGE X Y IMAGE BACKGROUND_VALUE
|
||||
# Scrolls to the given location, blinks the given image in and out a few
|
||||
# times, and then leaves the image in place. Use this to pinpoint an
|
||||
|
|
Loading…
Add table
Reference in a new issue