Inroduce the new WML key centered=yes for this
"no" is the current default, to avoid breaking UMC and mainline stuff
but later we can proabably use "yes".
Also killed the obsolete (not in wiki) key "flip". Use imagepath
function ~FL(horiz/vert) instead, cleaner and more powerfull.
* Wesnoth is distributed under the terms of the GPL version 2, made
that more explicit
* updated the copyright range to 2007
* updated Dave's email adress
(Fixes: https://gna.org/bugs/index.php?func=detailitem&item_id=5100 )
- [music_list] now just [music] as it is in event.
- file tag is now name, as in event.
- music events supported
- 'play_once=yes' plays once immediately then resumes playlist
- 'append=yes' required not to overwrite previous playlist entries
- 'immediate=yes' to start playing this track (then rest of playlist)
immediately.
Also, more comments, and play_music_file() changed to play_music_repeatedly().
(see https://gna.org/bugs/index.php?func=detailitem&item_id=4938).
Scenario files can specify:
[music-list]
file="wesnoth-2.ogg"
ms_before=5000
ms_after=1500
[/music-list]
One or more times. ms_before & ms_after specify the milliseconds of
silence before and after, and are optional (ie. 0 if not specified).
The old "music=" style is still supported if no [music-list] sections
are present.
* Made serialized data be saved as untranslated. To achieve this, added the
t_string class, which encapsulates a translatable string.
* Completely rewrote the (text) WML parser, making it use a tokenizer / parser
architecture. The parser is now much more strict and validates a WML grammar.
- Change to the WML syntax: pluses are now ignored, spaces are now forbidden
in WML keys
* Rewrote the way the variables are interpolated. There is no more default
interpolation, however, the vconfig class was added, which provides a
variable-interpolating proxy to config objects.
* There is still an important known bug: this is impossible to load textmode
save games now, because the statistics module saves some WML with spaces in
keys, which the parser refuses. I am commiting anyway to respect the string
freeze; the fix for this bug will come tomorrow
Hoping I do not break everything...