32617 Commits

Author SHA1 Message Date
Mark de Wever
381c2a786c Only set the g++ compiler flags for g++.
There were some problems on MSVC with the g++ compiler flags. This patch
should fix it, but that's untested. (It's tested that it doesn't break
g++.)
2009-04-12 15:45:12 +00:00
Eric S. Raymond
ec66d89586 DM map improvements along lines suggested by ShadowMaster. 2009-04-12 15:13:04 +00:00
Guillaume Melquiond
cdf4ee261c Removed config::const_attribute_iterator...
...default constructor. Defaulted its copy constructor.
2009-04-12 14:13:49 +00:00
Guillaume Melquiond
55ab65ecec Removed config::all_children_iterator...
...and vconfig::all_children_iterator default constructors.
2009-04-12 14:13:46 +00:00
Guillaume Melquiond
d551970919 Removed config::child_iterator default constructor. 2009-04-12 14:13:42 +00:00
Guillaume Melquiond
112592ce01 Removed config::const_child_iterator default constructor...
...and unit_type_data::unit_type_map_wrapper copy constructor.
2009-04-12 14:13:38 +00:00
Guillaume Melquiond
af58f45327 Removed unused iterators. 2009-04-12 14:13:29 +00:00
Nils Kneuper
597fdcdb27 updated Turkish translation 2009-04-12 13:30:32 +00:00
Ali El Gariani
f37a041055 Tiny optimization of frequently changing/moving big unit (like shadow) 2009-04-12 12:49:30 +00:00
Ali El Gariani
cbfbbb8ed9 Optimization of the in_hex scanning.
Skip it when not aligned to the hex grid (because we will not use it
anyways).  This mainly avoid to scan most of the frames of melee
animations.
2009-04-12 12:38:20 +00:00
Ali El Gariani
247520e0d4 Simplify and optimize the in_hex caching by remove it from amimation code...
...and instead implement it like other image caches (but just storing bool)

This allow to load and scan images only when needed.

Also fix a tiny bug when using :refresh after modifiying sprite's size.
2009-04-12 12:08:21 +00:00
Nils Kneuper
a6e064bd70 updated German translation 2009-04-12 11:41:27 +00:00
Nils Kneuper
b156027ca9 updated Icelandic translation 2009-04-12 11:28:33 +00:00
Nils Kneuper
261a60aa94 updated Italian and Serbian translation 2009-04-12 11:23:47 +00:00
Nils Kneuper
1545f2b934 updated German translation (ported fendrins update for LoW to trunk) 2009-04-12 11:07:16 +00:00
Sergey Popov
7e6f6bc001 Added dummy_locales option to scons. 2009-04-12 10:56:43 +00:00
Guillaume Melquiond
9f46eed858 Reverted "Removed conditional compilation...
...for dummy_locales option" (2009-04-12T10:16:02Z!loonycyborg@gmail.com)

It doesn't detect disabled option and it causes problems on Windows.
2009-04-12 10:40:14 +00:00
Sergey Popov
b10bc463b1 Removed conditional compilation for dummy_locales option
Since it doesn't save much binary size/compile time but adds a
possibility of uncaught compile errors unless both values of the options
are regularly tested.
2009-04-12 10:16:02 +00:00
Fabian Müller
43cfa401f3 Reverted my commit 34761. It broke the translation process. 2009-04-12 10:00:23 +00:00
Fabian Müller
b8e51a564e Updated the german translation of LoW with a patch from Crommy. 2009-04-12 09:16:08 +00:00
Guillaume Melquiond
685fbf29a4 Made --dummy-locales option actually...
...depend on support for dummy locales. Removed deprecated option
--dummylocales.
2009-04-12 08:39:07 +00:00
Guillaume Melquiond
3befa43159 Reverted part of Suokko's 2008-08-20T13:55:07Z!paniemin@cc.hut.fi. (Fix for bug #13294, no localedef.)
That patch was also touching scons and cmake, I have no clue what he did there, so please review if it needs reverting there too.
2009-04-12 07:20:10 +00:00
Eric S. Raymond
ad32444b5a Backward-compatibility hack to accept "stoned" in savefiles. 2009-04-12 07:02:22 +00:00
Mark de Wever
9232ef84cd Add a translator hint.
esr's new wmlgettext can give hints to translators, so added one which
determines the gender of the tyrant.
2009-04-12 06:43:06 +00:00
Eric S. Raymond
341cc4e012 Fix a broken wakeup event. 2009-04-12 06:15:29 +00:00
Eric S. Raymond
0fc17be5c4 wmllint-inspired cleanups. 2009-04-12 03:45:28 +00:00
Eric S. Raymond
e7b27b6435 Change the trannstive verb "stone" (as in "turn to stone") to "petrify",
...and all related words such as "unstone", "stoned", etc. Former
usage was not really correct and led to unhelpful ambigiuity with both
"to stone" is in to hit with thrown stones, and "stoned" meaning
intoxicated.

All C++ code, WML, and tags are changed. New wmllint rules will handle all
lifting for UMC.  The wiki has been updated.

Will cause incompatibility with old savefiles containing stoned units.
2009-04-12 00:40:07 +00:00
Nils Kneuper
6ccc7c33c7 add some textdomain markers to files that had none,
...should not introduce any strings, just for completions sake (every
.cfg should have a marker, have done the job util
utils/change_textdomain -t )
2009-04-11 22:30:16 +00:00
Nils Kneuper
fd300e9351 add another missing textdomain marker 2009-04-11 22:25:30 +00:00
Guillaume Melquiond
a2447f7600 Fixed markup. 2009-04-11 22:23:26 +00:00
Guillaume Melquiond
23d6276713 Updated French translation. 2009-04-11 22:20:47 +00:00
Guillaume Melquiond
73a5dd66eb Fixed incorrect Pango markup. 2009-04-11 22:20:19 +00:00
Guillaume Melquiond
c3b0217128 Fixed a typo that broke all the translations of this scenario. Nice... 2009-04-11 22:19:53 +00:00
Iurii Chernyi
1f35c5135c Added a new src file ai_actions.[ch]pp , modified 4 build configurations. 2009-04-11 21:44:20 +00:00
Iurii Chernyi
181950e10b AI Refactoring: added a new log category for ai_actions. 2009-04-11 21:44:15 +00:00
Iurii Chernyi
7f6432688d AI Refactoring: removed some old (and now unused) functions 2009-04-11 21:44:09 +00:00
Nils Kneuper
28c8e80b4f updated Icelandic translation 2009-04-11 21:36:20 +00:00
Nils Kneuper
3e37649fb3 updated Serbian translation 2009-04-11 20:17:21 +00:00
Eric S. Raymond
20c849736d Add some hero icons where needed. Add a standard macro to do this. 2009-04-11 19:32:51 +00:00
Nils Kneuper
ee2d0ac3fc updated German and Finnish translation 2009-04-11 18:11:13 +00:00
Mark de Wever
522583f0c5 Add some headers needed for MSVC.
Reisiger spotted and tested the fix.
2009-04-11 17:28:06 +00:00
Fabian Müller
a58b5986e6 LoW: 19: Changed scenario objective to fit the story:
The player must wipe out the saurians by killing every single unit and
destroy all villages.
2009-04-11 17:10:49 +00:00
Fabian Müller
c729c3bb28 LoW::21: Code cleanup 2009-04-11 17:09:13 +00:00
Fabian Müller
e6584fd5ff LoW::01: Made use of the new Aged trait. 2009-04-11 17:06:29 +00:00
Iurii Chernyi
bbc2202676 AI Refactoring: changed 'team' to 'side'...
...when it means 'side number that starts from 1'.
2009-04-11 15:56:55 +00:00
Mark de Wever
92760d4fff Remove an unneeded header.
Also added comment iostream is needed so it won't get removed again in
the future.
2009-04-11 15:55:06 +00:00
Sergey Popov
e3858e48f1 Fixed "attempt to copy-construct an iterator...
...from a singular iterator" glibcxx_debug error

which was caused by passing a default-constructed iterator as default
argument to const_child_iterator's constructor and copy-constructing a
member from it.
2009-04-11 15:52:05 +00:00
Iurii Chernyi
af7e783307 AI Refactoring: Moved location of ai_interface::info to ai_manager.
Now using a single copy of ai_interface::info for all AIs, and using
get_info() accessor to get it from AIs. Also, fixed side to be
unsigned int where it is possible.
2009-04-11 15:17:00 +00:00
Iurii Chernyi
aa458480bf AI Refactoring: removed unused turn_data_ from ai_interface::info 2009-04-11 15:16:51 +00:00
Jérémy Rosen
9f39e5fe7c add a my_attacks FAI variable with all possible attacks patch by benetnash 2009-04-11 14:35:15 +00:00