added FLAG_VARIANT6 macro, for use with ragged flags

This commit is contained in:
Elvish_Hunter 2014-04-16 20:57:08 +02:00
parent 26ca27c583
commit 9289a9fa8a

View file

@ -264,12 +264,23 @@
# Enable the specified flag variant: knalgan, loyalist, ragged,
# long, undead, or wood-elvish. Use within a [side] block; only
# affects that side.
# Since the ragged variant has six frames instead of the usual four,
# for that flag it's better to use FLAG_VARIANT6 below instead.
# wmlscope: start ignoring
flag=flags/{NAME}-flag-[1~4].png:150
flag_icon=flags/{NAME}-flag-icon.png
# wmlscope: stop ignoring
#enddef
#define FLAG_VARIANT6 NAME
# Like FLAG_VARIANT, but this supports flags with six frames.
# Currently only the ragged flag has six frames.
# wmlscope: start ignoring
flag=flags/{NAME}-flag-[1~6].png:150
flag_icon=flags/{NAME}-flag-icon.png
# wmlscope: stop ignoring
#enddef
#define ANIMATED_MAUSOLEUM X Y
# Embed this at scenario toplevel, not within an event.
# Note that it will freeze while dialogue popups are onscreen.