* 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...
...of the game. Putting it inside the theme will solve the problem with
the editor menu, but only once this file has been switched to the
wesnoth-editor domain, gettext-wise. In the meantime it won't solve
anything, but at least it shouldn't make the game untranslated.
...in relative positionning of theme elements (still one problem with
finding an id in grand-children of [resolution] blocks); converted
most of the 1024x768 theme to use them
...for the left mouse button.
Fixed a problem where the selected terrain and brush size was not
remembered through operations that affected the whole map, such as
flip and resize.
Two terrains may now be selected in the palette, one is used for
filling when moving selections and cutting/pasting and will be used
when drawing with the right button.
The context menu is removed, instead the function of the left button
is chosen in the right panel and operations that do not need a
location to work is chosen from an additional menu.
It is now possible to change resolution and toggle fullscreen in the editor.
Refactoring:
The palettes now inherit from the widget class.
The events are handled by the palettes themselves.
The terrain palette controls the scroll buttons by itself.