50300 Commits

Author SHA1 Message Date
Mark de Wever
0a18a61d02 Comment out unused code.
The caller is commented out as well so keep the code in case it will be
uncommented later.
2012-06-30 19:09:34 +00:00
Mark de Wever
158d0abca0 Fix a Clang warning.
It didn't like to add an integer to a string.
2012-06-30 19:03:51 +00:00
Simon Forsyth
f8bac0d888 Nym no longer has random traits (means she loses one trait on hard) 2012-06-30 18:23:40 +00:00
Simon Forsyth
f0592fccfd Clean up ant discovery.
Number of ants on hard now matches comment (+1 ant so slightly harder).
2012-06-30 18:14:19 +00:00
Simon Forsyth
2b7914d153 No need to check explorer when stepping outside,
...filter already eliminates non-speaking characters.
2012-06-30 18:02:36 +00:00
Simon Forsyth
41c97daf2a Remove dialog between Kromph and Nym that can only occur...
...when Nym is not available to talk. Thanks to jamit for pointing out
the issue.
2012-06-30 17:49:10 +00:00
Mark de Wever
3959f03412 Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:47:11 +00:00
Mark de Wever
a9239bad0e Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:47:08 +00:00
Mark de Wever
1abcc8d733 Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:47:05 +00:00
Mark de Wever
687a800394 Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:47:03 +00:00
Mark de Wever
0c86bd1dde Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:47:00 +00:00
Mark de Wever
bf42bee32e Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:46:57 +00:00
Mark de Wever
418db65857 Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:46:54 +00:00
Mark de Wever
f9de4968ed Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:46:51 +00:00
Mark de Wever
8a313193a2 Initialise members in the initialisation list.
Issue found by cppcheck.
2012-06-30 17:46:48 +00:00
Simon Forsyth
ba4a23a004 Use a role for the first humans encountered.
Prevents interaction problems between their deaths and the main human
army.
2012-06-30 16:22:17 +00:00
Simon Forsyth
402f269657 Remove some commented out code. SVN can always get it back. 2012-06-30 16:10:46 +00:00
Simon Forsyth
ddd52cce3a Simplify commentary after water reaches escape passage. 2012-06-30 16:02:25 +00:00
Simon Forsyth
ad4c022ac8 Kill units caught in final flood of deep water...
...when small northern passage is filled.
2012-06-30 15:10:45 +00:00
Simon Forsyth
ef9965a41c Fix bug where Nym would not join Kromph...
...if he were the one to discover the outside.
2012-06-30 14:48:13 +00:00
Simon Forsyth
3c2ecd8fea Change gold award from chest at start of human fight.
Before, easy was harder than normal.
2012-06-30 14:30:55 +00:00
Simon Forsyth
bae750743a Shrink Under the Frying Pan map by removing areas that cannot be seen,
...much less moved to.
2012-06-30 14:24:13 +00:00
Simon Forsyth
233a90d4ce Delete false comment. 2012-06-30 13:26:49 +00:00
Simon Forsyth
d53ea64598 Ensure Keratur appears on a passable location for last words. 2012-06-30 13:24:14 +00:00
Simon Forsyth
99c44ef575 Delete macro that replicates logic already done by teleport tag. 2012-06-30 13:04:13 +00:00
Simon Forsyth
63d79eca78 Shrink and fix healing rune code...
(get rid of deprecation warning, clear variables).
2012-06-30 12:52:54 +00:00
Simon Forsyth
5740d28809 Delete variable made redundant by filter preventing event trigger. 2012-06-30 12:27:21 +00:00
Simon Forsyth
0d91b54512 Simplify fishy dialog logic when first meeting humans. 2012-06-30 12:05:55 +00:00
Mark de Wever
909eb9bd42 Add a cmake macro to test for compiler flags.
This method is more expandable, when adding more tests.
2012-06-30 11:30:32 +00:00
Mark de Wever
6b6325139d Move the gui widget code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-30 07:32:27 +00:00
Mark de Wever
31b1f729b0 Move the tooltip code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-30 06:49:56 +00:00
Mark de Wever
6ad89248e5 Move the schema validator code to a library.
Trying to offload some code into separate libraries to improve
(re)build time.
2012-06-30 06:24:49 +00:00
Simon Forsyth
bf1623ef4b remove human_conversation variable 2012-06-30 03:56:22 +00:00
Anja Keicher
b85f0fc3fb Fixed compatibility bug with old singleplayer campaign savegames 2012-06-29 22:59:23 +00:00
J. Tyne
21ed245854 Ensure a non-empty side is selected in mp_sync::get_user_choice().
Fixes bug #19795.
2012-06-29 19:40:13 +00:00
Mark de Wever
8e7dfa32bf Fix a gcc warning.
GCC thinks the variable might be used uninitialised.
2012-06-29 18:24:21 +00:00
Anonymissimus
0cbe73fd4e changelog update 2012-06-29 17:34:35 +00:00
Anonymissimus
9488f708a0 add operator== implementation for lua proxy units
Checks whether on-map, recall, and private ones are identical
Based on that units always have an underlying_id and that it's unique.
2012-06-29 17:34:27 +00:00
Anonymissimus
19354101ff remove apparently unneeded inefficient calls to [redraw] in [(un)petrify]
see also http://forums.wesnoth.org/viewtopic.php?p=531983#p531983 and following
2012-06-29 17:34:08 +00:00
J. Tyne
f9046930ae Some tidying up:
Make replays' new map coordinates 1-based (like other coordinates in WML).
Also, remove a superfluous variable.
2012-06-29 16:27:49 +00:00
Simon Forsyth
6498378901 Esnure player always has positive gold from chest at end of cave...
...in Out of the Frying Pan

since this rewards players who recruit heavily at the start of the
scenario, the maximum gold awarded is reduced

Award algorithm is the same as at scenario end, except that at least
50 gold will be given to players who really kept a lot of gold.
2012-06-29 12:09:40 +00:00
J. Tyne
695b5c7c2e Move end-of-turn refogging to be after side_X_turn_Y_end events.
This also happens to fix replays not refogging at the end of a side's
turn.
2012-06-29 05:18:13 +00:00
J. Tyne
f3b6d64d14 Adjusting blank lines so a comment is connected to what it documents.
(very minor change)
2012-06-29 04:28:26 +00:00
J. Tyne
e83c989731 If a move is supposed to be unrecorded, it should be unrecorded,
...even if empty.
2012-06-29 04:23:39 +00:00
J. Tyne
a7482c5574 Reworking how moves are recorded for replays.
This should make replays able to handle exit_hex events in all cases and
should be a real fix for bug #19856.
2012-06-29 03:53:30 +00:00
Simon Forsyth
51928d6dee remove useless variable clear,
...make initial shroud clear a bit prettier, simplify an ifdef
2012-06-28 23:18:31 +00:00
Nils Kneuper
2e0fc8cac3 updated Slovak translation 2012-06-28 19:39:36 +00:00
J. Tyne
e56275e703 Temporary fix for bug #19856
This will fix replays in the most common cases, but there are still
some less common cases not handled well.
2012-06-28 18:50:46 +00:00
Simon Forsyth
259276c040 Redefine old terrain macro in terms of another.
Would like a way to mark it as deprecated.
2012-06-28 02:03:00 +00:00
Simon Forsyth
36b2f08f97 Modernize Dark Castle terrain graphics.
It is now usable adjacent to any terrain.

Adds new macro to core likely to be useful for UMC castle developers.
2012-06-28 01:55:12 +00:00