33069 Commits

Author SHA1 Message Date
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
Ali El Gariani
217d26c618 remove unused typedef 2009-05-08 01:06:25 +00:00
Ali El Gariani
4119b901f5 use template to reduce some code redundancy 2009-05-08 00:25:19 +00:00
McShark
148570c170 Changing slashes to win-version for easier diff 2009-05-07 20:10:58 +00:00
McShark
6252fa07c2 Adding newer files for 1.7 2009-05-07 20:09:53 +00:00
Chris Hopman
8bf8327563 undo delete of get_rect_union 2009-05-07 18:08:51 +00:00
Chris Hopman
7c4c366713 rewrite get_rect_union to return the smallest rectangle...
...that contains the union.

rename get_rect_union to union_rects to be consistent with
intersect_rects.
2009-05-07 17:46:30 +00:00
Eric S. Raymond
89cfa94b53 Address bug #13437. 2009-05-07 16:15:11 +00:00
Eric S. Raymond
a1216dcbe8 Fix shroud placement in DM::19. 2009-05-07 16:14:30 +00:00
Nils Kneuper
b18073843b updated Polish translation 2009-05-07 15:50:32 +00:00
Nils Kneuper
1910b69a9f updated Icelandic translation 2009-05-07 08:21:25 +00:00
Eric S. Raymond
ef9d5b458c Balance tuning for DM. 2009-05-07 02:30:03 +00:00
Ali El Gariani
acf2f7440c Add a "Factions" section in help:
Root page is about the current era and child pages about each faction,
its leader and recruit list with links.

Look is WIP but most useful info are already there.

Also display there a new (and currently empty) 'description' key in
[era] and [multiplayer_side] (=faction)
2009-05-07 00:51:19 +00:00
Guillaume Melquiond
9fad505da3 Restored dysplay of attack options. 2009-05-06 22:02:25 +00:00
Guillaume Melquiond
72deea5d6e Split the lower_bound algorithm away. Added an insert function. 2009-05-06 22:02:21 +00:00
Fabian Müller
95866cba6d LoW::3, LoW::7: Removed an abyss from the map that went in accidently. 2009-05-06 15:06:52 +00:00
Nils Kneuper
7d961537d5 pot-update
regenerated doc files
2009-05-06 13:18:51 +00:00
Nils Kneuper
4c28020fa9 updated Chinese (Simplified) and Russian translation 2009-05-06 13:02:28 +00:00