Commit Graph

37482 Commits

Author SHA1 Message Date
Nils Kneuper
97426e755b pot-update (reference update only, no string changes/additions)
regenerated doc files
2009-12-27 11:38:52 +00:00
Nils Kneuper
b0c48b5ac5 updated Lithuanian translation 2009-12-27 11:22:35 +00:00
Chusslove Illich
cc5b5c779a Additional styles for GUI markup in manuals. 2009-12-27 10:53:32 +00:00
Mark de Wever
40bfceec61 Don't try to draw items without a size. 2009-12-27 09:42:02 +00:00
Mark de Wever
988b0f3fd8 Improve the drawing against UB.
When the filter removes all items to be drawn, it called back() on an
empty vector. Now test before the call.
2009-12-27 09:41:57 +00:00
Mark de Wever
1e2007f375 Rename tgenerator_::get_item() to item().
Make the name more consistent with other similair functions. Also make
the const version public, no reason to hide it when the non-const
version is public.
2009-12-27 09:41:51 +00:00
Alexander van Gessel
266460dfed More of the same 2009-12-26 21:46:18 +01:00
Nils Kneuper
0eeffb3eb0 updated Estonian and Portuguese (Brazil) translation 2009-12-26 18:57:04 +00:00
Alexander van Gessel
31b7774cd6 Fix indentation in game_events.cpp 2009-12-26 18:13:39 +01:00
Mark de Wever
2121a2d331 Improve show and hiding of rows.
Some glitches existed where items were incorrectly placed after an
update. Now the items are recalculated and replaced correctly.
2009-12-26 17:05:09 +00:00
Mark de Wever
43329ebf48 Properly notify about the area changed.
This change causes the drawing status to be updated, before some items
shown had incorrectly the status NOT_DRAWN and thus weren't drawn.
2009-12-26 17:05:05 +00:00
Mark de Wever
37efe7667f Fix a compiler warning. 2009-12-26 12:02:28 +00:00
Guillaume Melquiond
0cf16ce72a Prevented time of day from leaking on shrouded tiles.
(Fix for bug #14996.)
2009-12-26 10:31:42 +00:00
Guillaume Melquiond
cf43888290 Made generate_report the sole responsible for ToD brightening. 2009-12-26 10:31:37 +00:00
Guillaume Melquiond
f3249d873b Added an image function for brightening time of day. 2009-12-26 10:31:31 +00:00
Guillaume Melquiond
c41e54f679 Removed useless class image::nop_function. 2009-12-26 10:31:25 +00:00
Alexander van Gessel
e07a2e58c1 Fix pango markup in wmllint rule 2009-12-26 00:13:24 +01:00
Guillaume Melquiond
b95e4b475c Taken into account current ToD when modifying turn number.
(Fix for bug #14995.)
2009-12-25 17:04:19 +00:00
Guillaume Melquiond
339e97884c Simplified code for handling user-defined cost functions,
...since the stack has no reason to change during the pathfinding.
2009-12-25 16:02:34 +00:00
Guillaume Melquiond
e53ce0f345 Factored code. 2009-12-25 16:02:29 +00:00
Iurii Chernyi
2ea53c611e fixed issue with AI sometimes not using teleport...
...even when it's possible  to do so
2009-12-25 13:45:31 +00:00
Iurii Chernyi
82752447f9 AI: replace TODO with @todo 2009-12-25 13:45:25 +00:00
Iurii Chernyi
92dc406412 do a small todo item 2009-12-25 13:22:57 +00:00
Iurii Chernyi
9a175b3610 removed unneeded commented code 2009-12-25 13:22:51 +00:00
Iurii Chernyi
3da97843d4 reschedule todo items, mark todo items important before 1.8 release 2009-12-25 12:15:43 +00:00
Iurii Chernyi
c6aeadb296 Handle the things that were exposed by patch #1379, and reschedule todos 2009-12-25 12:15:36 +00:00
Iurii Chernyi
adc73dce4b bump ai config version to 10710 2009-12-25 12:15:31 +00:00
Iurii Chernyi
6039127545 remove rca_formulas stage from the list of available formula_ai stages,
...as it is not finished
2009-12-25 12:14:11 +00:00
Guillaume Melquiond
51ed42b8b0 Avoided warning on campaign exit. 2009-12-25 11:17:20 +00:00
Guillaume Melquiond
c7f7fa2787 Removed dead code. 2009-12-25 11:17:16 +00:00
Mark de Wever
0554f60f4f Slightly optimize the load game dialog. 2009-12-25 10:03:52 +00:00
Guillaume Melquiond
05d3a3982e Removed unused function nullify_markup. 2009-12-25 09:49:09 +00:00
Guillaume Melquiond
6f9c1f47d1 Removed spurious caret from loading error messages. 2009-12-25 09:49:05 +00:00
Guillaume Melquiond
fd7f15142b Sped up preprocessing and improved readability of error messages...
...by skipping root directories from location data.
2009-12-25 09:48:59 +00:00
Guillaume Melquiond
76595a319f Factored code. 2009-12-25 09:48:55 +00:00
Guillaume Melquiond
33ce127fe2 Made utils::escape/unescape not modify their argument. 2009-12-25 09:48:46 +00:00
Mark de Wever
16529a0473 Fix the disappearing icons in the campaign dialog.
Seems the changes in 2009-12-20T20:46:27Z!koraq@xs4all.nl are not needed and break things so revert
that and revert 2009-12-21T12:02:24Z!alinkmaze@gmail.com which is no longer needed. Fixes bug #14983.
2009-12-25 09:47:34 +00:00
Mark de Wever
bcbb28a809 Fix a warning. 2009-12-25 07:51:46 +00:00
Mark de Wever
0f70e1664a Fix a compiler warning. 2009-12-25 07:51:42 +00:00
Alexander van Gessel
5577be12e9 Comment out unused arguments 2009-12-25 04:02:50 +01:00
Iurii Chernyi
3fd3b7963c changed a candidate action 'high score' 2009-12-25 01:33:01 +00:00
Iurii Chernyi
6117d5b021 fixed a segfault in fai_candidate_action serialization code,
...removed some old stubs, used better and simpler AI syntax in LoW::1,
LoW::2, LoW::3 , split candidate action WML snippets to their own file
2009-12-25 01:25:34 +00:00
Iurii Chernyi
fb9fa4bd91 stabilize RCA AI configuration for 1.8,
...extract candidate actions to separate macroses
2009-12-24 23:41:15 +00:00
Iurii Chernyi
ff510b6e47 fix a mistake in ai alias files 2009-12-24 23:07:37 +00:00
Iurii Chernyi
be416538bb tweaks and cleanups of available ai configs 2009-12-24 22:40:33 +00:00
Iurii Chernyi
1462573062 refactoring of ai component model to a more object-oriented approach.
[modify_ai] now works fully and uniformly, with less code
duplication. added the ability to see all ai components from
gamestate_inspector.
2009-12-24 22:38:59 +00:00
Eric S. Raymond
706395577b Spelling exceptions and one wmllint tweak. 2009-12-24 21:18:09 +00:00
Eric S. Raymond
cf68488d6e Add some spelling exceptions. 2009-12-24 19:55:23 +00:00
Chusslove Illich
1bd55bc598 Updated localized images for Serbian. 2009-12-24 18:23:36 +00:00
Chusslove Illich
4c0c532cf9 Updated translations for Serbian. 2009-12-24 18:22:28 +00:00