Commit Graph

7 Commits

Author SHA1 Message Date
Philippe Plantier
ba195ecd8a [[Attack some problems with data serialization in saves]]
* 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...
2005-03-27 23:06:17 +00:00
Richard Kettering
4f87bdfc6e New images for Haldric. 2005-03-24 22:08:09 +00:00
James Spencer
22169d4719 Update for Haldric's Pic 2004-10-29 21:36:46 +00:00
James Spencer
dffdd004fb Haldric & Jessica Are Peaking Too Soon 2004-10-14 03:58:15 +00:00
Yann Dirson
7bbf92221c merged syncpoint_gettext1_11 from trunk 2004-08-13 20:00:37 +00:00
Yann Dirson
cf37ad6f84 use IDs for units and tag their names as translatable 2004-07-22 21:00:39 +00:00
No Author
981eb2c1ec This commit was manufactured by cvs2svn to create branch 'branch_gettext1'. 2004-07-18 20:04:28 +00:00