50949 Commits

Author SHA1 Message Date
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
Alexander van Gessel
3d0d9e916c Add client support for [reject] 2012-09-20 18:29:42 +01:00
Alexander van Gessel
92542a2c07 Explicitly [reject] clients we don't know what to do with,
...while sending them the full list of versions we do accept
2012-09-20 18:29:39 +01:00
J. Tyne
b7da2683c0 Convert two private member functions to static non-member functions. 2012-09-20 15:10:32 +00:00
J. Tyne
52da55a0d8 Restore a comment that was (presumably accidentally) half-deleted...
...in 2006-04-06T14:43:57Z!dominic.bolin@exong.net.
2012-09-20 13:09:58 +00:00
J. Tyne
05bbedd625 Add some documentation and give some parameters more descriptive names. 2012-09-20 12:54:30 +00:00
J. Tyne
9f971e386d English convention: space after the colon. 2012-09-19 23:39:49 +00:00
J. Tyne
7d3bf08aae A slightly faster test for backstab and slow.
The previous version already did an imperfect test for UMC versions of these
specials (by ignoring some filters; mainline units have no filters anyway)
in order to increase performance. This version ignores all filters for a
larger performance boost.
2012-09-19 23:18:38 +00:00
J. Tyne
f4b606423e Better way for temporary_unit_mover to change movement.
(It now handles negative movement the same way unit::set_movement()
would.)
2012-09-19 22:33:31 +00:00
J. Tyne
b2a248ee51 Better handling of a corner case for temporary_unit_mover. 2012-09-19 21:06:12 +00:00
J. Tyne
6f49a703c6 Safer use of temporary_unit_mover. 2012-09-19 20:56:00 +00:00
J. Tyne
d823722d64 Suppress some processing when not debugging the whiteboard.
(This is for one of the debugging messages that might be superfluous now.)
2012-09-19 20:38:05 +00:00
J. Tyne
aa5c240c5f Give temporary_unit_mover the ability to set a unit's remaining moves...
...as well as its position.

Gabba: This change may make a pair of whiteboard debugging messages
superfluous, but I left them in just in case. If they are not needed,
someone may want to remove them.
2012-09-19 19:07:26 +00:00
Mark de Wever
fd2dd78fac Fix a compiler warning. 2012-09-19 17:58:50 +00:00
J. Tyne
c28353f67d Adapt unit_movement_resetter...
...so it no longer needs to access private fields of unit.
2012-09-19 16:27:35 +00:00
J. Tyne
cad139f572 Make the new parameter to unit::set_movement() optional,
...with the default to not have side-effects (not the behavior before
the parameter).
2012-09-19 13:43:05 +00:00
J. Tyne
651c127dab Do not always clear end_turn_ and hold_position_ in unit::set_movement().
This allows the function to be called without side-effects, so it can
be used as a simple setter (as the name suggests). Since the previous
behavior was to have side-effects (which is bad style for a default),
this commit introduces a non-optional parameter, ensuring that I've
looked at each place where this function is called.
2012-09-19 13:39:48 +00:00
Fabian Müller
2e62d8258e Refactored the hotkey handling.
Several hotkeys (keyboard, joystick and mouse buttons) can be assigned
to the same function.
2012-09-19 05:47:52 +00:00
J. Tyne
5347b21d5a Change some fields and methods of attack_type from public to private. 2012-09-19 04:51:58 +00:00
J. Tyne
331385f229 Remove the non-const version of attack_type::get_cfg().
It's not used and defeats the point of making cfg_ private.
2012-09-19 04:21:26 +00:00
J. Tyne
fb61593df5 Remove the declaration of a non-existent function. 2012-09-19 03:47:52 +00:00
J. Tyne
b022231ba9 Remove an unneeded friend declaration. 2012-09-19 02:56:17 +00:00
J. Tyne
8c8047de75 Add a getter to unit_type, allowing two friend declarations to be removed. 2012-09-19 02:24:36 +00:00
Nils Kneuper
8897526689 updated Slovak translation 2012-09-18 07:55:07 +00:00
Alexander van Gessel
c772a63de7 typo 2012-09-16 21:56:06 +01:00
Alexander van Gessel
514d223afa Reduce chat log pagesize to something you can scroll through 2012-09-16 21:56:02 +01:00