Commit Graph

36534 Commits

Author SHA1 Message Date
Nils Kneuper
ccd308afcb updated Shavian translation 2009-10-13 23:27:36 +00:00
Nils Kneuper
96e3e9306c updated Hungarian and Lithuanian translation 2009-10-13 22:01:48 +00:00
Nils Kneuper
b237a8bbb9 forgot adding the new manual file for shavian 2009-10-13 21:57:13 +00:00
Nils Kneuper
b9c5e0d519 pot-update (one new string in wesnoth, a new translation for about.cfg)
regenerated doc files

made sure that pofix ran on all po files and that all files, the doc
files, too, are merged and up to date

fixed probs in the Shavian manual files (done by Arc)
2009-10-13 21:55:51 +00:00
Mark de Wever
4468fcf870 Update changelog. 2009-10-13 20:49:53 +00:00
Mark de Wever
71d9b8a349 Let po-update2-xx update all domains.
Ivanovic discovered it didn't update the manual and manpages.
2009-10-13 20:48:42 +00:00
Mark de Wever
2c716c8f00 Lower the severity of a log message. 2009-10-13 20:48:39 +00:00
Mark de Wever
49df97f826 Refactor fire_event.
This refactoring is needed to make it easier to add the new button click
code (not committed yet).
2009-10-13 20:48:33 +00:00
Nils Kneuper
6206f8e4b0 updated Shavian translation 2009-10-13 20:41:15 +00:00
Nils Kneuper
fcceb032a0 updated Shavian translation 2009-10-13 18:54:50 +00:00
Chusslove Illich
6a2e69df63 Updated source localized images for Serbian. 2009-10-13 09:50:09 +00:00
Chusslove Illich
5421c0534e Updated localized images for Serbian. 2009-10-13 09:48:08 +00:00
Nils Kneuper
d75b264fc1 updated Shavian translation 2009-10-13 08:32:39 +00:00
Ignacio R. Morelle
382dfbba86 Delfador's name as used in the map label is now translatable.
This does not add new translatable strings; it reuses an existing one
instead.

(Reported by Arc.)
2009-10-13 01:01:56 +00:00
Nils Kneuper
7379d046f2 updated Shavian translation 2009-10-12 23:17:11 +00:00
Nils Kneuper
9ecb708046 updated German translation 2009-10-12 21:57:35 +00:00
Jörg Hinrichs
960f9554a9 Fixes replays no longer doing single side turns...
...after opening the preferences dialog.
2009-10-12 18:39:50 +00:00
Mark de Wever
455cdfe6a5 Do the event recursion prevention properly.
Found out I forgot to rewrite the code not to use static variables but
members. Added todo's for two events where I'm not sure whether I need
recursion prevention.
2009-10-12 18:13:09 +00:00
Nils Kneuper
f18e698a5e updated Finnish translation
reformat changelog entries to only have 80 chars per line
2009-10-12 16:44:09 +00:00
Eugen Jiresch
816b0fd75f when loading a game, the gamestate is now erased...
...when the load_game_exception is caught, as opposed to before it is
thrown. fixes bug #14460
2009-10-12 16:27:56 +00:00
Nils Kneuper
a6af80df1c updated Hungarian translation 2009-10-12 00:34:19 +00:00
Chusslove Illich
72c27c7565 Updated source localized images for German. 2009-10-11 18:18:49 +00:00
Chusslove Illich
c20e632813 Updated localized images for German. 2009-10-11 18:17:34 +00:00
Guillaume Melquiond
e17dfbd035 Removed duplication of attack code. Ensured that battle contexts...
...are always refreshed after WML events.
2009-10-11 17:50:33 +00:00
Nils Kneuper
2c1b2816bd updated German translation 2009-10-11 15:13:54 +00:00
Mark de Wever
6e697cf6ed Force a redraw.
Just like the last commit it looks like it's hiding another bug.
2009-10-11 15:08:49 +00:00
Mark de Wever
d8fd44ce8d Disable the recursion locker.
This locker isn't needed for a top level dispatcher and it seems to
break (at least in this case). I however assume this commit fixes a
symptom not a cause...
2009-10-11 15:08:46 +00:00
Mark de Wever
6fc3fe8553 Set the window type as id.
This helps debugging since the id is printed in the event debug
messages.
2009-10-11 15:08:42 +00:00
Mark de Wever
e8649fa9d4 Convert a button callback to a signal handler.
Just a proof of concept change, the rest of the callbacks will be
changed post 1.8.
2009-10-11 15:08:39 +00:00
Mark de Wever
cf70494c46 Wire in the first public widget signal handler.
These signals should replace the callbacks, but this project will be
done post 1.8. But it shows the design idea.
2009-10-11 15:08:35 +00:00
Mark de Wever
99bd003b89 Let the new dispatcher do the event handling.
The old code remains but ifdef'ed out so can be restored if needed.
2009-10-11 13:36:37 +00:00
Mark de Wever
ac4fad5a53 Add a new event distributor class.
This class is meant to replace the current event handler class. The
replacement will be done in a later commit.
2009-10-11 13:05:30 +00:00
Mark de Wever
b1d131ff9f Remove assert so the compiler can properly warn. 2009-10-11 10:39:20 +00:00
Mark de Wever
0a981495ac Allow to disconnect signals. 2009-10-11 10:39:15 +00:00
Nils Kneuper
2886907c0c updated Shavian translation 2009-10-11 09:36:50 +00:00
Chusslove Illich
b2ac4cc5a7 Images used in the tutorial on image localization. 2009-10-11 09:11:53 +00:00
Mark de Wever
9359184556 Improve po-update to avoid nop updates.
The last change caused a lot of files be updated with the only change
the pot-update header. In the Wesnoth wiki there was a hint to use
msgattrib to cleanup the changes poedit makes. Using this on the file
seems to give the wanted output, proper files and no "dummy" updates.

Ivanovic please test this change.
2009-10-11 07:08:49 +00:00
Richard Kettering
b1a94d4a76 Added new hammer frames for the dwarvish lord and steelclad. 2009-10-11 07:08:38 +00:00
Richard Kettering
6ac51ac467 Added a new, complete goblin variant of the walking corpse and soulless. 2009-10-11 06:33:01 +00:00
Ali El Gariani
a536b3fac3 Commit experimental bugfix for default AI in RCA AI (exerimental targeting)
Fix a very old bug making the AI rates targets as if they were all
reachable in 1 turn. AI should now prefer targets reachable in 2 turns
against one needing 3 (if same value).

Note that it only affects targets needing more than 1 turn to reach.

This also make "complex targetting" works and should make the AI pick
the best unit to reach the best target (probably begin by sending
scouts grab undefended villages)
2009-10-10 22:46:12 +00:00
Iurii Chernyi
3de0a8247f players_changelog entry for above commit 2009-10-10 21:49:03 +00:00
Iurii Chernyi
a264913088 fix a serious enough bug in default ai targeting,
...uncovered with the help of Aethaeryn, who provided a test case. The
bug caused the AI, in certain situations, to make weird
shuffle-doing-nothing moves and not seek enemies or their villages
2009-10-10 21:35:16 +00:00
Guillaume Melquiond
382c94e8b6 Removed unused fields ntime::source::time_ and index_. 2009-10-10 20:15:26 +00:00
Guillaume Melquiond
e390a7441f Removed unused enumeration ntime::source::time_mode. 2009-10-10 20:15:02 +00:00
Guillaume Melquiond
f90b78de62 Removed unused class unit_map::xy_accessor_base. 2009-10-10 19:05:46 +00:00
Guillaume Melquiond
38f1a101f3 Fixed dangling pointer when the current weapon...
...subreptitiously disappears from the unit, while the other unit was removed.
2009-10-10 19:05:41 +00:00
Guillaume Melquiond
f132d4ee13 Directly checked unit validity instead of relying on xy_accessor.
Indeed, if another unit takes the place of the attacker or the
defender (e.g. Trinity scenario K02), the change would go undetected,
hence causing a segfault at attack end.
2009-10-10 19:05:36 +00:00
Guillaume Melquiond
14032eaa0d Reduced dependency on unit_map iterators. 2009-10-10 19:05:31 +00:00
Guillaume Melquiond
a257e408cd Removed battle execution from constructor,
...so that thrown exceptions are less harmful.
2009-10-10 19:05:26 +00:00
Guillaume Melquiond
584ef33493 Moved the attack class out of the way, as it was completely private anyway. 2009-10-10 19:05:19 +00:00