33086 Commits

Author SHA1 Message Date
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
Jérémy Rosen
17897e8b92 remove changelog entry relative to 2009-05-09T13:41:18Z!guillaume.melquiond@gmail.com 2009-05-10 06:57:07 +00:00
Gregory Shikhman
46bf2c3858 added incomplete method that will use subsample tables...
...instead of big GAMES table
2009-05-10 05:49:40 +00:00
Gregory Shikhman
7b24b82027 finished subsample code,
...this will be put into a nightly cronjob to generate 100,000 and
1,000,000 row subsamples of main GAMES table
2009-05-10 05:24:04 +00:00
Eric S. Raymond
7c30fd6479 Follow through on a name change. 2009-05-10 04:33:02 +00:00
Ali El Gariani
0b666291ec Optimization of A*:
Skip cost function when its smallest possible value(1) is already too much
2009-05-10 00:42:54 +00:00
Ali El Gariani
e5dba0c291 Fix dummy_path_calculator::cost (used 0, but A* heuristic need >= 1) 2009-05-10 00:39:07 +00:00
Ali El Gariani
86c3accae4 Little optimization of the A* cost function
(skip ZoC check when terrain already costs remaining moves)
2009-05-10 00:36:58 +00:00
Jérémy Rosen
0797d75b92 revert 2009-05-09T13:41:18Z!guillaume.melquiond@gmail.com, this introduces bugs for large animations.
The underlying perf problem is still there and need further fixing
2009-05-09 23:01:04 +00:00
Benoît Timbert
fb9c185500 French translation update 2009-05-09 20:09:37 +00:00
Ali El Gariani
14525c5aa0 Generate and cache advance_from info...
...needed a lot of tricky work during lazy-loading.

Since it's only used when displaying a unit's help page, just
calculate it there (fast)
2009-05-09 19:50:28 +00:00
Guillaume Melquiond
d716ed9b80 Typo. 2009-05-09 16:39:15 +00:00
Guillaume Melquiond
ba95abed3a Added some changelog entries. 2009-05-09 16:19:01 +00:00
Guillaume Melquiond
fe2ae37e9e Fixed units not being animated when partly out of the screen. 2009-05-09 16:18:43 +00:00
Fabian Müller
dac3983838 LoW: More code cleanups. 2009-05-09 15:01:38 +00:00
Fabian Müller
e578c23af3 LoW::4: Code cleanup. 2009-05-09 14:58:43 +00:00
Gunter Labes
a954ca1aec only print the comma when necessary 2009-05-09 14:03:49 +00:00
Guillaume Melquiond
3f02e1c2d4 Prevented invalidation of out-of-screen units. 2009-05-09 13:41:18 +00:00
Guillaume Melquiond
af1007f984 Hid some implementations away from the interface. 2009-05-09 13:40:50 +00:00
Nils Kneuper
3eb2fa170a updated Lithuanian translation 2009-05-09 13:19:23 +00:00
Fabian Müller
2068ca087b LoW::16: Exchanged villages with new orcish versions. 2009-05-09 11:26:17 +00:00
Iurii Chernyi
5b624aed18 Added logging of count of raise_user_interact events fired,
...to --log-debug=ai/manager
2009-05-09 09:58:02 +00:00
Ali El Gariani
e743dbf401 Simple optimization about accessing unit_type, speed-up AI recruiting.
Impact linearly depend to the number of unit types, so help a lot when
few eras are installed.

Also help a little big-keep scenario like in NR.
2009-05-09 02:52:56 +00:00
Gunter Labes
07f041d0c0 build the server by default 2009-05-08 15:30:52 +00:00
Gunter Labes
9a1116cd2c quote the config filename so it gets parsed right
probably fixes bug #13499: "Host Networked Game" launches wesnothd
with a random port number
2009-05-08 14:52:32 +00:00
Gunter Labes
bdba122793 report any unknown command line options 2009-05-08 14:52:27 +00:00
Gunter Labes
0feafc99be don't treat positional parameters as the port (-p should be used) 2009-05-08 13:58:45 +00:00
Nils Kneuper
acae2de50e updated Chinese (Traditional) and Serbian translation 2009-05-08 09:29:49 +00:00
Guillaume Melquiond
0166b09df0 Added Lua accessors for the facing direction and the role of a unit. 2009-05-08 08:41:59 +00:00
Guillaume Melquiond
cb549ea282 Added unit::get_role. Renamed unit::assign_role. 2009-05-08 08:41:46 +00:00
Guillaume Melquiond
b2a84544dc Added Lua accessor for the entire WML table of a unit. 2009-05-08 08:41:30 +00:00
Gregory Shikhman
c97a653a95 Added a script that will create/reinitalize...
...a smaller subsample of the stats table for a nightly cronjob. still WIP

Hopefully fixed $Id$ tag expansion in all the files.
2009-05-08 07:39:20 +00:00