Commit Graph

37295 Commits

Author SHA1 Message Date
Nils Kneuper
c123e7cad9 updated Latvian translation 2009-12-02 22:11:32 +00:00
Nils Kneuper
fd12e14305 credits update 2009-12-02 21:28:16 +00:00
Fabian Müller
54a43a8145 Added a macro to core that moves all units by an offset.
Fixed bugs in LoW14.
2009-12-02 20:29:49 +00:00
Ali El Gariani
009d7d31f0 A recent bugfix made a 'fixme' possible (declare ToD areas in event)
Also use the now-allowed terrain filter's feature to simplify the WML.
No change for gameplay.
2009-12-02 20:12:06 +00:00
Ali El Gariani
de90f3fbac Replace huge list of separated ToD areas by only one using location ranges
(which is also much better for the engine)
2009-12-02 19:33:12 +00:00
Fabian Müller
622bff9805 Fixed the ugly map hack. 2009-12-02 19:27:09 +00:00
Nils Kneuper
dcaa8c9c61 Updated Latvian translation 2009-12-02 19:16:41 +00:00
Ali El Gariani
60daaf0f8d Improve 2009-11-29T21:16:16Z!alinkmaze@gmail.com by using location ranges...
...for saving ToD areas created by event
2009-12-02 18:53:37 +00:00
Nils Kneuper
c0d7acc18c updated Russian translation 2009-12-02 14:33:35 +00:00
Fabian Müller
ab38be78ad LoW: Fixed several issues with the recall lists. 2009-11-30 23:05:44 +00:00
Ali El Gariani
5cb9f27a92 Fix bug #14865: Move and Attack into hex with ambusher causes crash
Also make that code more safe against unexpected cases.
2009-11-30 21:54:25 +00:00
Ali El Gariani
d39556e2d5 Add a 'temporary unit mover'. 2009-11-30 21:49:53 +00:00
Fabian Müller
c15d9cb2fc LoW::19 and further: Fixed double Cleodil. 2009-11-30 21:38:47 +00:00
Fabian Müller
5a447c53ff LoW::3: Used wmlflip to transform the WML coordinates...
...to match the map transformation.
2009-11-30 21:35:44 +00:00
Eric S. Raymond
2d8550e6c0 Note on two cases wmlflip cannot handle. 2009-11-30 21:26:19 +00:00
Eric S. Raymond
b5f3719a81 Catch two other kinds of coordinate reference. 2009-11-30 20:29:40 +00:00
Fabian Müller
8d903a1ed3 LoW3: Load only a subset of the map. 2009-11-30 19:31:10 +00:00
Eric S. Raymond
72a86184b2 Give wmlflip the ability to apply translations. 2009-11-30 19:18:11 +00:00
Nils Kneuper
272a6777d0 updated Russian translation 2009-11-30 09:49:52 +00:00
Ali El Gariani
65095b4089 ooops remove debug output forgotten in 2009-11-29T19:53:49Z!alinkmaze@gmail.com 2009-11-30 01:57:26 +00:00
Ali El Gariani
66aa6ce5bf Fix bug #14859 "[time_area] created by event are not saved"
but with an inefficient hack using a debugging function. I will
improve it later.  Only a problem if the area is big, though.
2009-11-29 21:16:16 +00:00
Ali El Gariani
c93c0d15f1 Fix something messy where generate_gender() called type() which used gender.
Make gender const to prevent various problems.
2009-11-29 19:53:49 +00:00
Ali El Gariani
c6e3cd40cc Remove a parameter of unit ctor only used by move_unit_fake.
Make move_unit_fake uses variation the usual way.

This will also allow to use any [effect] there but will need to wait a
1.9 syntax change.
2009-11-29 19:38:32 +00:00
Chusslove Illich
acab56c4a3 Updated source localized images for Serbian. 2009-11-29 13:12:01 +00:00
Chusslove Illich
80c47508ca Updated localized images for Serbian. 2009-11-29 12:11:38 +00:00
Chusslove Illich
7e67a9ac39 Updated tutorial images to correspond to updated article. 2009-11-29 10:53:14 +00:00
Mark de Wever
908bad731d Update release notes. 2009-11-29 10:05:17 +00:00
Nils Kneuper
b73c37519d updated Italian translation 2009-11-28 20:20:06 +00:00
Nils Kneuper
9f48e60181 cleanup release notes, not sure about one entry,
...left it in though i also included it in the announcement @mordante:
please check where it belongs and remove it from the one place where
it does not
2009-11-28 20:14:29 +00:00
Ali El Gariani
3914b068b0 after 2009-11-28T17:17:26Z!alinkmaze@gmail.com and 2009-11-28T17:57:24Z!alinkmaze@gmail.com, we can now move...
...the main unit loading function into the main unit constructor

(which simplify things and will allow new possibilities like using the
initialization list)
2009-11-28 18:02:06 +00:00
Ali El Gariani
2b5c7cd898 Make debug command ':unit' use same code path as other unit loading.
(no impact on the command itself)
2009-11-28 17:57:24 +00:00
Ali El Gariani
ce34ebb81f Remove a useless unit constructor.
Adapt its only call to keep same effect for now (even if it seems weird)
2009-11-28 17:17:26 +00:00
Ali El Gariani
2044789589 Optimize AI's moves calculations by disabling slow terrain filtering...
...when we use the dummy filter (which is the default)
2009-11-28 12:36:48 +00:00
Eric S. Raymond
6febd458ee More spellcheck stripping. 2009-11-28 07:01:57 +00:00
Ali El Gariani
e3b6aafc6e Remove redundant bad code
(changed gender when already used by other parts, inconsistent with
other random_gender use, random aspect making it random/OOS-bug-risky
etc.)

Note I only managed to trigger it with silly input (using gender= +
random_gender= keys)
2009-11-28 02:29:54 +00:00
Ignacio R. Morelle
25dd6878a4 Fix build with g++ 4.4.2; reported by stikonas 2009-11-28 02:03:32 +00:00
Ali El Gariani
2fd0a37e2e Optimize by skipping dummy units creation during the AI recruit
thinking phase.

(using new pathfinding calcultor from 2009-11-28T01:24:50Z!alinkmaze@gmail.com)
2009-11-28 01:27:24 +00:00
Ali El Gariani
26e986951c Add a simplified pathfinding calculator only using movement_type.
It will be useful for future optimization.
2009-11-28 01:24:50 +00:00
Mark de Wever
66cbd9998b Remove unneeded declarations. 2009-11-27 23:01:03 +00:00
Mark de Wever
ede9e3b12a Cleanup map_location.hpp. 2009-11-27 23:01:00 +00:00
Mark de Wever
382c3752c6 Remove unneeded declarations. 2009-11-27 23:00:55 +00:00
Mark de Wever
b652d396b7 Remove an unneeded declaration. 2009-11-27 23:00:52 +00:00
Mark de Wever
4145e09e1f Remove an unneeded include. 2009-11-27 23:00:48 +00:00
Mark de Wever
29ae8bf5de Remove an unneeded include. 2009-11-27 23:00:41 +00:00
Mark de Wever
66ab0b93e0 Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:33 +00:00
Mark de Wever
1456af854c Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:29 +00:00
Mark de Wever
f37827a867 Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:26 +00:00
Mark de Wever
7ec9b3d3d6 Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:22 +00:00
Mark de Wever
4ad496271d Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:18 +00:00
Mark de Wever
c864cd846b Pre instead of post increment a variable.
Issue found by cppcheck.
2009-11-27 23:00:14 +00:00