33267 Commits

Author SHA1 Message Date
Richard Kettering
28d82860fe Fixed some stray pixels found by a contributor. 2009-05-12 20:39:52 +00:00
Lari Nieminen
cf41b7a490 Added the new orcish villages and forts to DiD maps. 2009-05-12 20:10:36 +00:00
Mark de Wever
0029800ea0 Fixed UTF-8 handling in the password textbox.
A multi-character in the textbox had its length determined with the
number of characters instead of number of UTF-8 glyphs.
2009-05-12 19:51:02 +00:00
Ali El Gariani
dbb3d626e9 Revert 2009-05-12T17:23:46Z!alinkmaze@gmail.com and rename tile_on_screen to tile_fully_on_screen 2009-05-12 19:49:02 +00:00
Lari Nieminen
a9022dfb3b Changed the snowfall in Northern Winter to work...
...so that some snow now falls every turn on random hexes.
2009-05-12 19:29:54 +00:00
Ali El Gariani
74b4880b97 New debug tool to analyze invalidation performance:
When fps and debug are activated, also show the mean number of drawn
hexes by frame

If some hexes are invalidated but not drawn (off-screen anims) also
show this number between parenthesis

Also changed "30fps" to "fps: 30" for better readability of these
debug info when around 10
2009-05-12 18:56:07 +00:00
Sergey Popov
66c62d5dd1 Use BOOST_CHECK_EQUAL instead of plain BOOST_CHECK in test_lexical_cast_result. 2009-05-12 18:43:20 +00:00
Sergey Popov
2cc005b200 Typo fix. 2009-05-12 18:43:01 +00:00
Eric S. Raymond
c2d3ce0fb3 Make the Cave Serpent visible. 2009-05-12 18:16:26 +00:00
Sergey Popov
96c66d2b72 Made use of boost.test's template test case in test_lexical_cast. 2009-05-12 18:12:57 +00:00
Ali El Gariani
430ae5fbee Fix imprecise tile_on_screen function
possibly improving the scrolling tracking of moving units near the
south/east edges of the screen
2009-05-12 17:23:46 +00:00
Ali El Gariani
e5029c4b60 Remove bad broken code (typo in wml key and wrong tag hierarchy)
It was useless and a framerate killer if working

(each frame, refresh adjacent hexes of units having ability affecting
adjacent)
2009-05-12 16:28:37 +00:00
Lari Nieminen
5e2dcecef6 Fixed a typo breaking [switch]. 2009-05-12 10:42:40 +00:00
Nils Kneuper
4ca0e29325 some tiny corrections to about...
...(replacing tabs by spaces, removing spaces from emailaddy, ...)
2009-05-12 10:04:14 +00:00
Nils Kneuper
4dca6c0fbc updated list of Russian translators 2009-05-12 09:40:05 +00:00
Nils Kneuper
98e8b57f1c pot-update
regenerate doc files
2009-05-12 09:31:23 +00:00
Nils Kneuper
ab9fb40479 updated Russian translation 2009-05-12 09:14:52 +00:00
Lari Nieminen
aaa50ef26d Added the new orcish villages and forts to HttT maps. 2009-05-12 08:50:25 +00:00
Lari Nieminen
3609fe71e7 Added hill and snow hill variations of the orcish village terrain. 2009-05-12 08:07:07 +00:00
Lari Nieminen
806c26f6b8 Added doofus-01 as a (third-tier) art contributor. 2009-05-12 07:54:45 +00:00
Lari Nieminen
567f442506 Added doofus-01's snowy orcish villages...
...as well as the fourth orcish village variation.
2009-05-12 07:46:47 +00:00
Lari Nieminen
73a06465c7 Removed a leftover comment. 2009-05-12 07:33:02 +00:00
Lari Nieminen
0c7a347c37 Added doofus-01's new orcish fort. 2009-05-12 07:20:38 +00:00
Guillaume Melquiond
653b15d319 Patch reverted by 2009-05-09T23:01:04Z!jeremy.rosen@enst-bretagne.fr is still a +25% AI speedup...
...on my computer (and more on slower computers). Reapplying.
2009-05-12 06:47:33 +00:00
Iurii Chernyi
ac02ec159f Skip delay(20) in play_slice during ai_interact,
...do not redraw screen twice during ai_interact.
2009-05-11 23:29:26 +00:00
Jérémy Rosen
f291c96c1b various animation optimisation...
...(cache result of overlap calculation + better initialization of
image::locator)
2009-05-11 21:04:37 +00:00
Eric S. Raymond
a442476f0c Typo fixes, and an corresponding update to pofix.py. 2009-05-11 20:17:41 +00:00
Ali El Gariani
125f186aaa Allow to have attack with damage=0...
(rounding of other attacks continue to be >0)

This also fix round_damage() which was supposed to round towards
base_damage, but was incorrect for 2 cases: when dividing by 1 (D/1
give D-1, but currently not used) and when base_damage was 0.
2009-05-11 20:04:00 +00:00
Nils Kneuper
2defaf7211 updated Chinese (Traditional) and Slovak translation 2009-05-11 19:02:52 +00:00
Ali El Gariani
b380b2970f Add a 'damage' key for [effect] applying to attack.
Support standard ranges like '1-10,20-30,42'
2009-05-11 18:03:30 +00:00
Ali El Gariani
365041657d fix missing const in in_ranges() 2009-05-11 17:50:38 +00:00
Eric S. Raymond
a349754b77 In NR, Sisal needs to be recallable in Showdown...
...but go to side 9 if Eryssa is alive.
2009-05-11 16:18:51 +00:00
Nils Kneuper
2425fe88fe fixed .desktop files 2009-05-11 07:35:47 +00:00
Ali El Gariani
e8633ebb3e Optimization of big or misaligned off-screen sprite
Prevent them to be affected by adjacent hexes, because overlapping is
irrelevant when not visible on screen (with a tiny optimization of
this after an invalidate_all)

Also remove an unused function
2009-05-11 01:57:35 +00:00
Ali El Gariani
0ba4ffa078 Fix an old optimization of off-screen rectangular invalidations.
We already had a mechanism to avoid invalidating adjacent hexes during
the update of a big or not aligned off-screen sprite.

But a flaw with the handling of empty intersection with the screen
prevented it to fully work.  (and in some cases caused few incorrect
invalidations at the edge of the screen, which was very bad because it
caused blitting)
2009-05-11 01:29:44 +00:00
Nils Kneuper
41584ceb3f updated Lithuanian translation 2009-05-10 18:12:05 +00:00
Nils Kneuper
3b6634fb86 fix errors in Icelandic translation 2009-05-10 17:57:42 +00:00
Nils Kneuper
6babad2797 updated Icelandic translation 2009-05-10 17:43:52 +00:00
Nils Kneuper
70eefd9d19 updated Icelandic translation 2009-05-10 17:28:34 +00:00
Nils Kneuper
88cd015cc2 updated Finnish translation 2009-05-10 16:58:50 +00:00
Eric S. Raymond
e451c2a358 Simplify side-hacking machinery and arrange...
...for the elf recall list from Get The Gold to be available in
Showdown.  Addresses the undone bit of bug #13502.
2009-05-10 15:50:46 +00:00
Benoît Timbert
6b35fa489c French translation update 2009-05-10 15:50:39 +00:00
Nils Kneuper
e6366fc037 updated Icelandic translation 2009-05-10 13:15:48 +00:00
Nils Kneuper
d948285699 updated Slovak translation 2009-05-10 13:05:11 +00:00
Nils Kneuper
df4ab1acc2 updated Russian translation 2009-05-10 12:57:55 +00:00
Guillaume Melquiond
042069eb3b Typo. 2009-05-10 12:10:45 +00:00
Benoît Timbert
f36a3c57c6 French translation update 2009-05-10 12:01:29 +00:00
Lari Nieminen
02f33c7cfe Updated changelogs. 2009-05-10 10:02:38 +00:00
Nils Kneuper
5f1b9e01f4 updated Chinese (Simplified) translation 2009-05-10 08:13:43 +00:00
Guillaume Melquiond
506e47811c Updated French translation. 2009-05-10 07:38:09 +00:00