Chusslove Illich
4c0c532cf9
Updated translations for Serbian.
2009-12-24 18:22:28 +00:00
Guillaume Melquiond
b2b95f2264
Avoided keeping useless config objects around.
2009-12-24 13:59:41 +00:00
Guillaume Melquiond
5690eada01
Removed useless code.
2009-12-24 13:59:32 +00:00
Guillaume Melquiond
4115dab697
Fixed units not having random names.
2009-12-24 13:59:27 +00:00
Guillaume Melquiond
886e97c8f8
Converted some tests to use Lua helpers.
2009-12-24 13:59:23 +00:00
Guillaume Melquiond
a41e13ddfd
Added a few more Lua helpers.
2009-12-24 13:59:18 +00:00
Guillaume Melquiond
2ce41e58d2
Enabled warning only when dubious attributes/children are about to be created.
2009-12-24 08:22:09 +00:00
Steven Panek
79a22d6b7a
Ran wesnoth-optipng on laurel.png; saved 886 bytes; 39%.
2009-12-24 07:47:36 +00:00
Iurii Chernyi
86db567ca0
Fix bug #13243 - choosing race with random leader...
...
...is now different from random faction from other players PoV in mp_wait screen
2009-12-23 23:24:16 +00:00
Iurii Chernyi
7a594ad20e
remove hero overlays from LoW heroes who can recruit,
...
...but might have {IS_HERO} from for old saves
2009-12-23 23:24:08 +00:00
Iurii Chernyi
df6e06d153
ensured that main heroes of LoW gain the ability to recruit...
...
...at the start of next scenario, if an earlier campaign is continued
from a save
2009-12-23 22:14:52 +00:00
Guillaume Melquiond
60d8c9f1da
Fixed AMLA units being poisoned.
2009-12-23 22:11:42 +00:00
Guillaume Melquiond
62106906f4
Simplified handling of races.
2009-12-23 21:49:55 +00:00
Iurii Chernyi
bfe1158f8c
extra debug protection - ensure we have only one Landar
2009-12-23 21:33:58 +00:00
Alexander van Gessel
199993c47e
Fix flesh golem upkeep
2009-12-23 21:27:14 +01:00
Iurii Chernyi
de558065bb
LoW::7: do not remove canrecruit from Olurf when he appears.
...
btw, this no longer segfaults
2009-12-23 20:10:58 +00:00
Iurii Chernyi
14dd513ce8
LoW: allow must-be-kept-alive characters (Landar, Cleodil, Olurf) to recruit
2009-12-23 19:53:30 +00:00
Iurii Chernyi
7739bec457
LoW::1: deforested 3 hexes on the map,
...
...allowing northern orc to reach Kalenz a bit faster
2009-12-23 18:44:03 +00:00
Lari Nieminen
32b58dd259
An updated laurel for completed campaigns by Blarumyrran.
2009-12-23 18:35:30 +00:00
Iurii Chernyi
2a904a069a
changelog entry and a bugfix for above
2009-12-23 17:59:33 +00:00
Iurii Chernyi
a67855e679
LoW: removed obsolete find_vacant in [unit], replaced it with placement=leader
2009-12-23 17:59:26 +00:00
Iurii Chernyi
aa255d94ce
Rewrite of game_state::build_team to ease debugging and maintenance.
...
Allows an easy fix for 'unit not present or is duplicated' issues
when debug-hopping through campaign scenarios. Enforces uniqueness of
ids (when they're given) of units for the same side while handling
[unit] tags, both in [side][unit], [side] and in [event][unit].
Now there's 'if a unit with same id is in recall list, do a recall
instead of creating new unit'. Also, if the hex is occupied, the unit
will be placed in nearby hex. Thus, find_vacant in [unit] tags is now
obsolete.
A new WML attribute "placement" (default value is 'map,recall' for all
units except leader-given-directly-in-side, for which the default is
'map,leader') governs the way unit will be placed. 'map' means 'place
according to X,Y, if they point at a valid on-map location', 'leader'
means 'place next to leader or next to start position, if there's no
leader on map'. 'recall' means 'place to recall list'. This fixes
(together with fendrin's fixes to WML) bug #14373 , bug #14444 , bug
#14451 , and some of the issues described on forum.
Got rid of many old hacks, including one which will break some UMC:
previously, if there was a leader in recall list, it was used instead
of leader given directly in side. now this behavior happens only if
id's match. Removal of this hack is needed, because, if it had stayed,
it would be not as straightforward to specify multiple leaders per
side when some of them come from previous scenarios, and some of them
come from current scenario.
2009-12-23 17:59:18 +00:00
Guillaume Melquiond
a317fcc93a
Converted tips of day to Pango rendering. (Fix for bug #14957.)
2009-12-23 15:24:24 +00:00
Guillaume Melquiond
445eaf6564
Conditionalized usage of deprecated functions.
2009-12-23 13:55:22 +00:00
Guillaume Melquiond
0f42610295
Simplified handling of unit types.
...
As a side effect, unit animations no longer appear as leaked for Valgrind.
2009-12-23 13:09:53 +00:00
Guillaume Melquiond
4b5806985f
Plugged memory leak of Cairo surfaces.
2009-12-23 10:27:47 +00:00
Guillaume Melquiond
7ee4d6a6dd
Commented out old fonts,
...
...since their ranges are overwritten by the shipped ones. In other
words, they will never be used if the new ones are in scope. This also
gets rid of a warning message.
2009-12-23 10:05:41 +00:00
Guillaume Melquiond
0f1b5c78c8
Merged consecutive ranges and the space inbetween.
...
Combined with the previous patch, the footprint of the character map
has been reduced from 1MB to less than 1kB.
2009-12-23 09:59:07 +00:00
Guillaume Melquiond
c1d8a61821
Reduced memory used for associating characters to font...
...
...by directly storing character ranges.
2009-12-23 09:59:02 +00:00
Guillaume Melquiond
c2f1a50074
Removed sigpipe ignore code and associated warning message.
...
The bug in SDL_Net has been fixed in early 2006.
2009-12-23 07:08:26 +00:00
Nils Kneuper
a35c6e002a
updated Slovak translation
2009-12-22 20:54:46 +00:00
Guillaume Melquiond
823b0f7767
Fixed wild copy-pasting.
2009-12-22 19:51:26 +00:00
Ali El Gariani
ee467ecfb3
Save unit's waypoints (because we save goto)...
...
...in [waypoints] x=1,2,... y=1,2,..
Note that if a WML event changes the goto then waypoints are
discarded. This is done by adding an extra last waypoint equal to
goto for consistency check (removed when loading), so WML can still
edit them if needed.
2009-12-22 17:33:00 +00:00
Guillaume Melquiond
8e0fecf726
Defaulted to warning level in order to catch some issues before 1.8.
2009-12-22 16:33:15 +00:00
Guillaume Melquiond
3f7d0acb57
Removed useless conditional.
2009-12-22 16:24:58 +00:00
Guillaume Melquiond
5394081e46
Initialized with dummy race earlier.
2009-12-22 16:24:54 +00:00
Guillaume Melquiond
1ca957e319
Removed useless conditional.
2009-12-22 16:24:49 +00:00
Guillaume Melquiond
1f878e48ac
Removed low-level conversions.
2009-12-22 13:53:17 +00:00
Guillaume Melquiond
b7b00d0114
Removed low-level conversions.
2009-12-22 13:53:13 +00:00
Guillaume Melquiond
1a15d7622e
Removed useless initialization.
2009-12-22 13:53:08 +00:00
Guillaume Melquiond
2a52e02844
Removed low-level conversions.
2009-12-22 13:53:04 +00:00
Guillaume Melquiond
07d643dc58
Removed low-level conversions.
2009-12-22 13:53:00 +00:00
Guillaume Melquiond
b79522c866
Removed low-level conversions.
2009-12-22 13:52:55 +00:00
Guillaume Melquiond
030637836b
Manipulated unit states as booleans for improved performances.
...
Flag 'healable' needs some special casing: it is the only state in the
game with a reverted semantic (unset when present).
2009-12-22 13:52:50 +00:00
Ali El Gariani
987536f2c4
store waypoints in usual vector of locations...
...
...instead of list (was not worth the trouble)
2009-12-22 12:18:00 +00:00
Ali El Gariani
9b76d692e0
remove one unneeded include
2009-12-22 12:12:53 +00:00
Ali El Gariani
8672af2695
remove one unneeded include
2009-12-22 12:11:52 +00:00
Lari Nieminen
463b38ffe6
Used pixelmind's fire dragon portrait for Shek'kahan.
2009-12-22 07:21:46 +00:00
Nils Kneuper
39f3f58911
updated Latvian translation
2009-12-21 23:15:00 +00:00
Steven Panek
67f144c5d5
Added Chantal's missing portrait.
2009-12-21 23:01:29 +00:00