Commit Graph

47694 Commits

Author SHA1 Message Date
Simon Forsyth
9374fd43cf Shroud terrain no longer needs special handling 2011-10-24 02:24:59 +00:00
Anonymissimus
e79533dffd limit number of executions of [endlevel] to 1 times per scenario
(fix for bug #18828)

A scenario can only be ended once. Also prevents sort-of recursion
if it appears in a victory or defeat event.
2011-10-23 22:57:52 +00:00
Anonymissimus
625cb89795 make lua interface expect toplevel [endlevel] to be handled by C++ 2011-10-23 22:57:29 +00:00
Anonymissimus
87908d6977 write and reload endlevel data when saving in linger mode
(fix for bug #16111)

There obviously existed an [endlevel] tag in the savegame at some time
but it must have been lost. Added read and write method
to struct end_level_data.
2011-10-23 22:57:09 +00:00
Anonymissimus
0ea5f98e3a set playsingle_controller::end_turn_ to false in linger mode
(fix for bug #16821)

The problem was that this variable gets usually set to false during
the start of the side turns. If check_victory() ends the level between
the side turns, this initialization is missed so linger mode thinks it
has already been ended.

Other call cases of linger() should call the function with
end_turn_== false already. That is, I think they already do, since if
not these would have fallen into this bug category as well.
2011-10-23 22:56:54 +00:00
Anonymissimus
2e80ba9f31 created play_controller::get_end_level_data_const() returning a const ref
and converted get_end_level_data() calls where appropriate so that
it's easier to sort out where it can be modified and where not.
2011-10-23 22:56:34 +00:00
Thibault Févry
e718249a40 Fix the picture for some special cases. 2011-10-23 20:23:05 +00:00
Thibault Févry
85c307f8a2 Made terrain2wiki.py also show a picture of the terrain, looks better now. 2011-10-23 20:11:32 +00:00
Thibault Févry
3bce1693c2 Fixed an issue where terrain2wiki.py...
...would not remove # wmllint: ignore from output
2011-10-23 19:49:27 +00:00
Thibault Févry
1b8718c457 2011-06-27T06:33:30Z!shadowm@wesnoth.org and 2011-06-27T06:57:47Z!shadowm@wesnoth.org...
...changed terrain2wiki.py output. Fixing terrain2wiki.py to work with
the terrain.cfg changes..
2011-10-23 19:42:21 +00:00
Mark de Wever
b9fae173c3 Fixed display of AI values.
The display of recruitment_ignore_bad_combat and
recruitment_ignore_bad_movement is no longer swapped. Fixes bug
#18839.
2011-10-23 17:49:07 +00:00
Mark de Wever
220603b50f Disable pango formatting of unit names.
Since the markup is used it does so by escaping the markup characters in
the unit name. (Fixes bug #17788).
2011-10-23 17:49:04 +00:00
Mark de Wever
882dda5e2f Avoid copying a singular iterator.
Gabba, tschitz please review whether the code is correct. It fixes some
abortions of Wesnoth when using the gcc debug containers due to
undefined behaviour.
2011-10-23 17:48:59 +00:00
Simon Forsyth
900c6ca1f1 fix bug 18701 2011-10-23 15:40:01 +00:00
Simon Forsyth
ee0e491cfd Revert accidental change to wml-tags.lua 2011-10-23 15:15:59 +00:00
Simon Forsyth
5cffe7db29 Update changelog re 2011-10-22T21:43:12Z!alarantalara@gmail.com 2011-10-23 15:13:45 +00:00
Simon Forsyth
a651a6fa8e Apply default team color for side last
Fixes bug #18817
2011-10-22 21:43:12 +00:00
Steven Panek
3b7a07b573 Ran umcpropfix. 2011-10-22 19:10:36 +00:00
Steven Panek
74dd06c2c5 Updated localized images for Lithuanian. 2011-10-22 19:00:17 +00:00
Steven Panek
ac886f0d5c Standardized the filename of DW's map. 2011-10-22 18:41:10 +00:00
Simon Forsyth
a110ea57ea Get rid of ice banks when snow mountains touch sand 2011-10-22 18:07:00 +00:00
Simon Forsyth
7299097897 Flagstones need to be drawn over water banks 2011-10-22 17:13:59 +00:00
Simon Forsyth
e9d3954aec Make cave bank blend better with cave 2011-10-22 17:10:51 +00:00
Simon Forsyth
a3ba3bc62f Placeholder WML for a rotting bridge 2011-10-22 16:28:30 +00:00
Dan Gerhards
66aee76cc9 Level 4 AMLA increased to 200 XP, and level 5 to 250. 2011-10-22 10:43:47 +00:00
Dan Gerhards
e79a60b675 Units that cannot advance past level 1 or level 2...
...require 50 or 100 XP to AMLA instead of 150.
2011-10-22 09:25:42 +00:00
Simon Forsyth
47fb6b0a22 Rename cave bank tiles to something more reasonable 2011-10-22 01:26:43 +00:00
Simon Forsyth
42f9483dcf Make cave bank match cave floor more closely 2011-10-22 01:20:08 +00:00
Thibault Févry
c408f32b5f Strip trailing whitespaces.
Some other changes to make code look more pythonish. No important changes.
2011-10-22 00:17:25 +00:00
Thibault Févry
35ee1e6725 Strip trailing whitespaces.
Some other changes to make code look more pythonish. No important changes.
2011-10-21 23:42:46 +00:00
Simon Forsyth
9d69eb2e24 Make defense values reported in unit help...
...reflect end result of required feral trait
2011-10-21 23:04:54 +00:00
Dan Gerhards
38cd619455 Changed the bonuses on the second scenario.
Now, you get a loyal unit for killing any enemy leader (instead of
only side 2).
2011-10-21 22:59:44 +00:00
Simon Forsyth
2ae72acc3e Make help match feral defense:
from http://forums.wesnoth.org/viewtopic.php?f=6&t=35299
2011-10-21 22:47:06 +00:00
Steven Panek
4660ccb8d7 Fixed capitalization in an error message. 2011-10-21 20:07:12 +00:00
Mark de Wever
547db1d0ef Force -Wold-style-cast off for certain targets.
This allows people to compile Wesnoth with the flag enabled and still
using strict compilation.
2011-10-21 18:59:42 +00:00
Mark de Wever
e16629d8db Remove an old-style-cast. 2011-10-21 18:59:39 +00:00
Mark de Wever
8e841d74ee Remove an old-style-cast. 2011-10-21 18:59:36 +00:00
Mark de Wever
6441779685 Remove some old-style-casts. 2011-10-21 18:59:32 +00:00
Mark de Wever
88bfe6f6ef Remove an old-style-cast. 2011-10-21 18:59:29 +00:00
Mark de Wever
bb51354198 Remove an old-style-cast. 2011-10-21 18:59:25 +00:00
Mark de Wever
07f26d6cb7 Remove some old-style-casts. 2011-10-21 18:59:22 +00:00
Mark de Wever
721eb83250 Remove some old-style-casts. 2011-10-21 18:59:19 +00:00
Mark de Wever
e9013b9a08 Remove some old-style-casts. 2011-10-21 18:59:14 +00:00
Mark de Wever
4d0b299dcc Remove an old-style-cast. 2011-10-21 18:59:11 +00:00
Mark de Wever
cd36cf8c90 Remove an old-style-cast. 2011-10-21 18:59:07 +00:00
Mark de Wever
03e373dbdd Remove some old-style-casts. 2011-10-21 18:59:04 +00:00
Mark de Wever
98181e15f5 Remove an old-style-cast. 2011-10-21 18:59:00 +00:00
Mark de Wever
a45e90d136 Remove some old-style-casts. 2011-10-21 18:58:57 +00:00
Mark de Wever
541b827d81 Remove an old-style-cast. 2011-10-21 18:58:53 +00:00
Mark de Wever
ae72b75da2 Remove some old-style-casts. 2011-10-21 18:58:48 +00:00