6189 Commits

Author SHA1 Message Date
Susanna Björverud
9984ab2227 Update-po 2005-03-29 07:49:39 +00:00
Richard Kettering
7a648f87ab New images for Mermaid Diviner and Priestess. 2005-03-29 01:54:11 +00:00
Jon Daniel
ca846bb66d fixed ... not followed by space 2005-03-28 23:06:28 +00:00
Jon Daniel
b492418a08 fixed . . . 2005-03-28 22:22:46 +00:00
Jon Daniel
e34eac5ec3 Changed all . . . to ... 2005-03-28 21:35:57 +00:00
Jon Daniel
b581db6a8b removed some double spaces 2005-03-28 20:59:58 +00:00
Susanna Björverud
4705ac159e Updated German translation 2005-03-28 20:33:58 +00:00
Susanna Björverud
8485a02bf5 Updated Hungarian translation 2005-03-28 20:26:24 +00:00
Yann Dirson
4e63c20ddf imported wesnoth graph-includes project class,
...and updated invocation to match the imminent 0.1 release
2005-03-28 19:54:06 +00:00
Philippe Plantier
e1c3372d02 Oops, should save before commiting. 2005-03-28 19:34:09 +00:00
Philippe Plantier
ad0f553793 [[Replay fixes]]
* Applied patch #10505 from Cyberjack (Dave Gordon), fixing bugs where random
  variables did break replays.

* Added another fix allowing the recorder to remember random events which
  occured before anything is replayed: prestart events, start events, turn 1
  events, loading units with the generate_description="yes" option set, etc.

* Updated the test scenario to test those.
2005-03-28 19:08:58 +00:00
Alfredo Beaumont
98c435c7ca Updated basque translation 2005-03-28 16:13:17 +00:00
Philippe Plantier
0200f44e86 Added the "generate_description" variable in the [unit] tag.
If set to yes, this tag automatically generates a user_description for
a unit.

Fixed scenarios so they do not include translatable user_descriptions
corresponding to the unit descriptions, but instead use a generated
description.
2005-03-28 15:00:13 +00:00
Philippe Plantier
048729c065 Made tokenizer.cpp include gettext.hpp
Added support for units generated with [unit] tags in [event]s to have
their names generated automatically.
2005-03-28 14:07:31 +00:00
Philippe Plantier
260899f5eb Since string freeze is still not in effect,
...commiting a little change in the parser messages:
2005-03-28 13:36:07 +00:00
Philippe Plantier
f6cc29a092 Made the tokenizer return line number...
...and column numbers starting with 1 and not 0.
2005-03-28 13:31:20 +00:00
Susanna Björverud
4e47d15371 Fixed malformed utf-8 2005-03-28 13:22:49 +00:00
Jon Daniel
83ab6458fb fixed bug #12486 2005-03-28 12:37:50 +00:00
Philippe Plantier
ba438e512f Allowing back WML variables to contain spaces.
Not that I like it, but it did break too much stuff.
2005-03-28 12:29:10 +00:00
Philippe Plantier
0e25bf2c69 Fixed the list of C++ files used to extract translatable strings.
Ran update-po
2005-03-28 11:24:23 +00:00
Jordà Polo
27b59abd4d updated changelog 2005-03-28 10:14:42 +00:00
Jordà Polo
42cd48efea added chinese transliteration in the language selection dialog 2005-03-28 10:09:24 +00:00
Guillaume Melquiond
ee891ffdfc Force codeset rebinding everytime a string has to been translated.
Otherwise binary serialized strings may not have a codeset-binded
textdomain, since they don't go through the parser.
2005-03-28 10:04:21 +00:00
Susanna Björverud
37dee1c8c3 Removed underscore from before null strings, since it messes up pot-files 2005-03-28 10:03:24 +00:00
Guillaume Melquiond
3a25b0a67c Die cerr, die! 2005-03-28 09:44:05 +00:00
Richard Kettering
d53c12ed96 New animations for mermen Javelineer. 2005-03-28 09:11:05 +00:00
Jordà Polo
b2c8790dae added chinese translation 2005-03-28 09:00:14 +00:00
Richard Kettering
6d8d336c05 New images for Mermen Javelineers. 2005-03-28 08:48:50 +00:00
Guillaume Melquiond
1b5c4f28c0 Remove loading of active-pressed images for buttons, since they are not used. 2005-03-28 08:27:01 +00:00
Richard Kettering
08a0682c15 Added new images for Merman Spearman. 2005-03-28 08:15:03 +00:00
Richard Kettering
dab8946945 New images for Merman Spearman, timing adjustments for animations. 2005-03-28 08:10:56 +00:00
Jordà Polo
7801f66001 updated catalan translation 2005-03-28 08:05:50 +00:00
Guillaume Melquiond
77dc2301fa Remove bogus qualifier. 2005-03-28 07:39:48 +00:00
Jordà Polo
11db3a883c removed useless buttons (were not needed after all) 2005-03-28 07:32:44 +00:00
Jordà Polo
8502f2b255 added missing buttons 2005-03-28 06:45:19 +00:00
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
Susanna Björverud
ec9dfd3408 Updated Hungarian translation 2005-03-27 21:50:50 +00:00
Guillaume Melquiond
b5947c273d Don't put the slider in la-la-land. 2005-03-26 17:31:33 +00:00
Guillaume Melquiond
2424ad048b Move the function out of the header, and correct related dependencies. 2005-03-26 17:24:42 +00:00
Guillaume Melquiond
d501297a65 Switch to the new logging macro. 2005-03-26 17:10:32 +00:00
Guillaume Melquiond
d2154990c3 Since I'm doing unnecessary commits to these files,
...I could at least add the missing filesystem domain, so that it's done.
2005-03-26 16:22:24 +00:00
Guillaume Melquiond
136b29241d New construct to prevent the game to format and then discard log messages:
LOG_STREAM(warn, network) will produce a log stream when necessary.
2005-03-26 16:19:31 +00:00
Guillaume Melquiond
4385485a4a New construct to prevent the game to format and then discard log messages:
LOG_STREAM(warn, network) will produce a log stream when necessary.
2005-03-26 16:19:08 +00:00
Guillaume Melquiond
67d9e6b7fe Accessing the size of a buffer after having destroyed it is plain bad. 2005-03-26 15:51:05 +00:00
Guillaume Melquiond
73feb6911e Remove illegal read for empty strings.
Sanitize utf8 iterators (const members, no empty constructor).
2005-03-26 15:32:26 +00:00
Yann Dirson
9ed92a00e2 compatibility with the broken automake used in familiar 0.8 2005-03-26 15:15:08 +00:00
Guillaume Melquiond
209d14a3bd Switch to streaming output files too. 2005-03-26 14:07:18 +00:00
Richard Kettering
f10831f1d9 New images for merman hunter. 2005-03-26 11:11:18 +00:00
Guillaume Melquiond
689f7a8216 Strengthen the test for binary files a bit.
And rewrite once again the literal input function, it's only the third
time in less than 24 hours...
2005-03-26 11:11:10 +00:00
Richard Kettering
aa94b0523b New animations for merman hunter.
Also, I have increased the airtime for spears to 150ms, which I think
looks better.  This change will be propagated to other units with
pointy sticks when they get directional animations (and they all
will).
2005-03-26 10:38:44 +00:00