50874 Commits

Author SHA1 Message Date
Alexander van Gessel
1b8b64608e Remove stray debug messages 2012-09-24 07:40:51 +01:00
Ignacio R. Morelle
f619b413e8 Implement [effect] apply_to=experience (bug #16747)
This implements 'increase' and 'set' attributes with similar semantics
to apply_to=hitpoints effects. The 'should_advance' attribute from the
FR is not implemented at this point since the unit class doesn't really
know how to present the user with an advancement prompt, and it
shouldn't really be its business to do so either.

As-is, using [effect] to set a unit's current XP above its maximum
simply won't trigger any advancements. It should be possible to work
around this limitation with [unstore_unit] (which is a real WML action,
unlike [effect]) and other tricks.
2012-09-24 01:19:31 +00:00
Alexander van Gessel
9143a4a9fa Make get_timestamp a bit more efficient 2012-09-24 00:36:03 +01:00
Alexander van Gessel
d3be257e00 Add timestamp and commitstamp for add-on and build-system 2012-09-24 00:36:01 +01:00
Alexander van Gessel
443fe64e67 Move build-system checkout updating so it's done only once 2012-09-24 00:35:58 +01:00
J. Tyne
ae248c24c9 Remove some unneeded casts. 2012-09-23 22:29:17 +00:00
Steven Panek
c2cb357a48 'favour' -> 'favor', 'colour' -> 'color', 'behaviour' -> 'behavior'...
...in the source code.
2012-09-23 22:16:02 +00:00
J. Tyne
1ffb0a3a4d spaces to tabs 2012-09-23 21:17:50 +00:00
J. Tyne
b45a6fa04f Push [and],[or],[not] tags from event weapon filters to all weapon filters. 2012-09-23 20:48:55 +00:00
Ignacio R. Morelle
9a8140ca34 gui1: gui::menu::reset_selection() should not emit the GUI clicking sound
This fixes and extra clicking sound when bringing up the Hotkey
Preferences and Create Unit dialogs.
2012-09-23 20:10:16 +00:00
Mark de Wever
d83ea423ea Remove an unused variable.
Issue found by cppcheck.
2012-09-23 20:08:48 +00:00
Mark de Wever
14e5b72473 Use the proper format flags for a variable.
Issue found by cppcheck.
2012-09-23 20:08:45 +00:00
Mark de Wever
a67d537c16 Use the proper format flags for a variable.
Issue found by cppcheck.
2012-09-23 20:08:43 +00:00
Mark de Wever
5c542824c6 Use the proper format flags for a variable.
Issue found by cppcheck.
2012-09-23 20:08:40 +00:00
Mark de Wever
edc3b493cd Remove an unneeded variable.
Issue found by cppcheck.
2012-09-23 20:08:37 +00:00
Mark de Wever
0a9d6546b0 Limit variable scope.
Issue found by cppcheck.
2012-09-23 20:08:35 +00:00
Mark de Wever
322863da43 Limit variable scope.
Issue found by cppcheck.
2012-09-23 20:08:32 +00:00
Mark de Wever
b2829e2103 Limit variable scope.
Also removed an unneeded variable.

Issue found by cppcheck.
2012-09-23 20:08:29 +00:00
Mark de Wever
2042d7732e Limit variable scope.
Issue found by cppcheck.
2012-09-23 20:08:26 +00:00
Mark de Wever
f33f15ef77 Pre instead of post increment a variable.
Issue found by cppcheck.
2012-09-23 20:08:24 +00:00
Mark de Wever
5101305841 Pre instead of post increment a variable.
Issue found by cppcheck.
2012-09-23 20:08:21 +00:00
Mark de Wever
98f2a6552a Pre instead of post increment a variable.
Issue found by cppcheck.
2012-09-23 20:08:19 +00:00
Mark de Wever
c724070600 Pre instead of post increment a variable.
Issue found by cppcheck.
2012-09-23 20:08:15 +00:00
Simon Forsyth
3d379cf36b Remove the unusually good defense for Fire Guardians over frozen terrain.
It was a holdover from when the UtBS walkable lava was aliased to it
as it was an unused terrain type so could be repurposed.
2012-09-23 19:59:18 +00:00
Simon Forsyth
519c4c3b86 Add new files to Xcode project 2012-09-23 19:51:57 +00:00
Fabian Müller
36fc26b8fd New hotkey preferences dialog.
Have a look in the players_changelog for details.
2012-09-23 18:33:07 +00:00
Fabian Müller
b56df83d08 Removed the unused config variable,
it is a part of the removed support for scopes saving in different tag names.
2012-09-23 18:16:01 +00:00
Fabian Müller
f1640860f8 Fix the gui1 menu displaying the wrong help when the list got sorted.
Avoid drawing the help when the menu is hidden.
2012-09-23 09:38:27 +00:00
Alexander van Gessel
218f1c4e45 Turn the mix of signed int and signed long into unsigned int 2012-09-23 02:25:02 +01:00
Alexander van Gessel
cca526d467 Script to generate git tags for svn tags 2012-09-23 02:08:39 +01:00
Alexander van Gessel
a2b50480b7 Have wmlxgettext die when it encounters an empty translatable string 2012-09-23 02:08:37 +01:00
Simon Forsyth
18f33f78b6 Remove redundant images. Fixes bug #20192 2012-09-22 23:07:11 +00:00
Steven Panek
40f2163f9e Updated the Galician translation. 2012-09-22 20:14:27 +00:00
Nils Kneuper
cdcf3033c8 updated Italian translation 2012-09-22 20:01:04 +00:00
Steven Panek
5f02ebb580 Updated the Galician translation. 2012-09-22 17:09:22 +00:00
Lari Nieminen
2475cb166f Updated brown lich portrait from LordBob. 2012-09-22 09:06:03 +00:00
Lari Nieminen
2e76be1bbd Jetryl -> Jetrel in campaign art credits. 2012-09-22 09:01:49 +00:00
Lari Nieminen
4fa8c700bd Updated the art credits for SoF. 2012-09-22 09:00:12 +00:00
Lari Nieminen
0748f3e3b9 New set of portraits for EI by LordBob. 2012-09-22 08:56:15 +00:00
J. Tyne
eae8a7dc95 Enable special= in all weapon filters...
...(they were skipped in filters that determine if a weapon special is
active).

In addition to more WML flexibility, this allows a function parameter
to be eliminated.
2012-09-21 22:57:35 +00:00
J. Tyne
63b90f8732 Avoid creating attributes when reading their values. 2012-09-21 21:51:09 +00:00
J. Tyne
9be4acb3e1 Update the list of "pure" unit_type attributes. 2012-09-21 21:23:54 +00:00
Fabian Müller
8ad2a9da15 Rearanged the icons for the hotkey scopes...
...in the new hotkey preferences dialog.
2012-09-21 17:35:35 +00:00
Fabian Müller
8d891ef107 reverts commit #55343 2012-09-21 01:28:18 +00:00
Fabian Müller
b45dabf718 Some new icons for the extended preferences menu. 2012-09-20 23:12:58 +00:00
Fabian Müller
94a7390462 Extended preferences dialog 2012-09-20 23:12:15 +00:00
Fabian Müller
41f0c20629 Get rid of cleared hotkeys, once and for all. 2012-09-20 23:03:52 +00:00
J. Tyne
2c6cc41fe1 Eliminate some overhead that was used to sometimes avoid...
...a single string comparison.
2012-09-20 20:43:59 +00:00
J. Tyne
3a041455ae Simplify the logic in attack_type::special_active(). 2012-09-20 18:52:10 +00:00
Fabian Müller
b31b317327 Handle cleared commands better.
Hide the "copy selected hex fields to clipboard" hotkey.
2012-09-20 18:15:11 +00:00