48708 Commits

Author SHA1 Message Date
Timotei Dolean
d80f0e0655 Update XCode project file 2012-02-01 15:02:14 +00:00
Elvish_Hunter
94764d066e Added support for new extra_define ENABLE_TROLL_SHAMAN,
...to optionally allow Troll Whelps advancing as Shamans, but not in multiplayer
2012-02-01 09:10:35 +00:00
Elvish_Hunter
1c6a235fe4 Added support for new extra_define ENABLE_WOLF_ADVANCEMENT,
...to optionally allow Wolves advancing to level 2 and 3
2012-02-01 09:03:32 +00:00
Ignacio R. Morelle
5ff7d902c9 campaignd: Simplify/move code...
...introduced in 2012-02-01T04:28:19Z!shadowm@wesnoth.org to a server-side-only code unit, making
a backport to 1.10 completely safe on the client side

Also, removed an accidental extra include.
2012-02-01 07:21:58 +00:00
Ignacio R. Morelle
47aa72ecc0 Demote the missing TC/RC function warning for add-on icons to log severity
It was introduced back when wesnoth's default log severity was 'error',
not 'warning'. Now it's just noise cluttering stderr.
2012-02-01 04:43:33 +00:00
Ignacio R. Morelle
a63bbbcfaf Add some code comments 2012-02-01 04:37:44 +00:00
Ignacio R. Morelle
1856c035f4 campaignd: Reject add-on names and titles which start with a WML...
...text formatting markup char
2012-02-01 04:28:19 +00:00
Steven Panek
eb9816e657 Killed 'christenings'. 2012-01-31 23:22:18 +00:00
Nils Kneuper
b9b0aa18de updated Norwegian translation 2012-01-31 22:44:44 +00:00
Ignacio R. Morelle
226dbf7111 Probable fix for a unused parameter warning on Mac OS X 2012-01-31 20:38:59 +00:00
Ignacio R. Morelle
b3adb84c48 Revert "Make Quick replays in MP default to enabled";...
...I may have failed to consider a particular use case

This reverts commit 2012-01-31T18:54:40Z!shadowm@wesnoth.org.
2012-01-31 19:26:48 +00:00
Ignacio R. Morelle
08fdc4a48e Make Quick replays in MP default to enabled 2012-01-31 18:54:40 +00:00
Anonymissimus
5e18e142cc MSVC projectfile update 2012-01-31 18:43:36 +00:00
Anonymissimus
9297f64221 CB projectfile update 2012-01-31 18:43:18 +00:00
Ignacio R. Morelle
651d4b9bcf gui2/tcampaign_dialog: convert dialog title label to Title Case 2012-01-31 05:33:37 +00:00
Ignacio R. Morelle
334d978c3a gui2/tmp_host_game_prompt: Converted the initial...
...Host Networked Game/wesnothd launch prompt to GUI2
2012-01-31 04:43:34 +00:00
Ignacio R. Morelle
dd0c7e4f18 gui: Use "Do not show again" instead of "Don't show again"...
...or "Don't ask me again!"
2012-01-31 04:17:06 +00:00
Ignacio R. Morelle
7ddba073ee gui2/tgame_delete: Use more standard (i.e. tmessage) geometry specs...
...for the action buttons for now

This aligns the action buttons at the center of the bottom row instead
of aligning them to the right along with some extra padding (!) at the
left.

It isn't clear to me whether this is the most appropriate layout, but
it's used in other standard GUI2 message/prompt dialogs.
2012-01-31 04:16:51 +00:00
Ignacio R. Morelle
1c8fddb5b1 gui2/tgame_delete: Removed some unusual geometry specifications
* A "spacer label" which is really not required (standard borders
   should be enough to make the dialog look nice)

 * A right-aligned checkbox, which should really be left-aligned
2012-01-31 04:06:01 +00:00
Ignacio R. Morelle
9628410724 Improve SHA1 digest computation correctness (patch from bug #19312) 2012-01-31 00:36:56 +00:00
Ignacio R. Morelle
88d26c2197 Display the savegame version when warning the user about...
...unsupported or mismatched versions (bug #7243)

Along the way, made the unsupported case use the GUI2 error message
dialog instead of the generic message dialog, and gave the mismatched
version case prompt a title label.
2012-01-30 23:42:20 +00:00
Nils Kneuper
a86b6c06ea updated French and Italian translation 2012-01-30 22:21:08 +00:00
Nils Kneuper
7b02d18085 update the run script, too 2012-01-30 22:18:17 +00:00
Nils Kneuper
5733baadf6 switch the version used to 1.10 2012-01-30 22:16:49 +00:00
Anonymissimus
73594f42ca changelog update 2012-01-30 21:13:50 +00:00
Anonymissimus
242a62c46d Improve goto algorithm for Darken Volk (fix for bug #15750)
Using [find_path], this should work for most of the imaginable
"deadlock" cases.

Since the bug wasn't game-breaking and the fix is partly a feature
and rather complicated I decide to not backport this.
2012-01-30 21:01:58 +00:00
Mark de Wever
af2ad24e4e Increase of WML random values. 2012-01-30 19:55:08 +00:00
Mark de Wever
7c0090b77f Remove unreachable code.
Issue found by cppcheck.
2012-01-30 18:35:36 +00:00
Mark de Wever
985e40ba52 Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:33 +00:00
Mark de Wever
4b47b3cdb5 Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:30 +00:00
Mark de Wever
b86b6dc6fb Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:28 +00:00
Mark de Wever
331656b543 Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:25 +00:00
Mark de Wever
d143b6cd5e Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:23 +00:00
Mark de Wever
ce499b79a1 Remove a variable which is only assigned.
Issue found by cppcheck. (Also minor reformatting.)
2012-01-30 18:35:20 +00:00
Mark de Wever
06d7ad641a Remove a variable which is only assigned.
Issue found by cppcheck.
2012-01-30 18:35:17 +00:00
Mark de Wever
3b71fb3f64 Properly show narrator messages in the tutorial.
This breaks the string-freeze, so not ported to 1.10.

A better fix for bug #19316.
2012-01-30 18:35:13 +00:00
Nils Kneuper
7cc38ccc25 further cleanup of the pofix entries...
...and added a note about the relevance of the textdomains
2012-01-30 10:34:28 +00:00
Steven Panek
d58c7cb706 Updated Old English translation's credits. 2012-01-30 03:27:40 +00:00
Steven Panek
e093fc6b5c Killed 'colour'. 2012-01-30 01:40:30 +00:00
Anonymissimus
791e90a2c9 Revert "Deprecate the macro MESSAGE."
This reverts 2012-01-29T22:52:34Z!anonymissimus@arcor.de.
Since I got beaten to it.
2012-01-29 23:41:31 +00:00
Steven Panek
5242b4ac8e Improved a couple of warnings. 2012-01-29 23:21:13 +00:00
Steven Panek
da838f498a Some harmless capitalization fixes... 2012-01-29 23:16:45 +00:00
Anonymissimus
982aa77399 Deprecate the macro MESSAGE.
Translatable message strings passed to it cannot be spellchecked by
wmllint, and we don't wanna encourage this. Was already used nowhere in
mainline.
2012-01-29 22:52:34 +00:00
Anonymissimus
d9e6cf4c0d remove allow_undo child being added to [set_menu_item][command] tags
It is documented to have effect only in moveto event, not menu item X
events, and this matches the occurances of allow_undo in the codebase.
2012-01-29 22:52:14 +00:00
Anonymissimus
730d514916 Introduce [set_menu_item][command]delayed_variable_substitution=yes|no
(def yes)

Allows to force a variable substitution run onto the command action wml,
just like it can be done for nested events.
2012-01-29 22:51:58 +00:00
Anonymissimus
3adb6463cb Swap order of calls in game_events::commit().
This should make it so that action wml from [set_menu_item]id=X[command]
is always executed after an [event]name=menu item X, even if
that event was added in the same event callstack as the set_menu_item
was called.
2012-01-29 22:51:34 +00:00
Anonymissimus
8fd3283156 new action tag: [clear_menu_item]
Removes a menu item from the right click menu, the according event
handler if it had a [command] tag, and from being saved in the savefile.
Does not touch manually added events of type "menu item x".
Menu items were automatically carried over between scenarios so far,
causing potential savefile bloat by accumulating over the course
of a campaign.
2012-01-29 22:51:09 +00:00
Anonymissimus
229d764a3e Let event handlers of menu item commands have an id.
Unless both the menu item and its command tag didn't have an id.

Makes it possible to remove the resulting event handler
in the same way [event]remove=yes removes events.
Unless I'm badly mistaken, event handlers caused by a menu item's command
should already be unique, so no id collisions are expected.
2012-01-29 22:50:47 +00:00
Anonymissimus
b99a21ad96 Rename "ability" parameter to better match what the functions do.
Affects 2 versions of unit::get_ability_bool and 2 versions
of unit::get_abilities.
2012-01-29 22:50:23 +00:00
Anonymissimus
2973cd2bfc Add comments describing ability getters. 2012-01-29 22:49:52 +00:00