URL:
<http://gna.org/bugs/?10521>
Summary: WMLLINT request, upgrading the get_hit_sound= key
Project: Battle for Wesnoth
Submitted by: boucman
Submitted on: samedi 15.12.2007 à 10:59
Category: Feature Request
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: WML
Status: None
Privacy: Public
Assigned to: esr
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.3.12+svn
Operating System: all
_______________________________________________________
Details:
Hello ESR, a small upgrade request for WMLLINT
I want to get rid of the get_hit_sound= fields in units.
here is the upgrade path....
* look for all [unit] containing get_hit_sound= tag
* if (after macro expansion) the unit contains a [defend] tag, print a
warning "found get_hit_sound tag, this tag is deprecated, please merge it
within the existing [defend] animation"
* if there is no such line, replace that line with the following
{DEFENSE_ANIM <image> <image> <sound>}
where both <image> are the content of the image= field of the unit and
<sound> is the content of the removed get_hit_sound tag...
thx a lot
Boucman
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?10521>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs