this replaces the older heterogenous lookup optmisation in config.?pp.
The advantage is that it no longer requires different overloads for c
strings and std::string so it can easily be aplied to all config memeber
functions witout code duplication.
This adds a second part, during the hotkey creation from an event,
to the hack around colons. It also ensures that the right field is
compared when checking for existing matching hotkeys for keyboard-based
hotkeys.
- Handle all plausible cases of assigning into the playlist
- Allow changing the current track to an existing one on the playlist
- Allow getting playlist as a real array instead of an array-like proxy
(Could be useful for storing it to a WML variable, for example)
This adds support for passing raw SDL events throught the GUI2
event system in order to allow for hotkey creation in the GUI2 hotkey
dialog. The dialog in turn uses the raw SDL event to query the hotkey
subsystem whether it's a suitable event to create a hotkey from or not.
The first suitable event is used to create a hotkey.
This adds proper handling for composition of input and also handles
raw key up/down properly when there are modifiers applied to the
keyboard that stops composition.
This enables textinput events in SDL and adds handling of them. The events
are processed for hotkeys if the length of the hotkey string is 1 (which is the
case for all straightforward hotkeys).
I think these were probably there to deal with the GUI1 menus needed to be undrawn under the GUI1 Recruit/Recall
dialogs (dunno if the problem persisted into GUI2). Either way, they're not necessary now, since GUI2 handled the
dialog undrawing.
Covers more cases of:
* push_back(std::pair
* push_back(std::make_pair
* push_back(std::make_tuple
* push_back(T) where T is an empty object of type T
Small thing I noticed: this does mean the numbers in font::subset_descriptor are no longer 'cast' to size_t before being
added to the vector, but that shouldn't matter (hopefully).
Proper item lighting behavior was restored in 478c75bdb5bc914fcd71469a2ae6967cadc99e11
Use new ~NO_TOD_SHIFT() to prevent change.
Altar image file renamed & no longer needed versions deleted.
This dialog is rather useless without a game_board object which the tests don't have. The dialog refactor
(5effd5338) did expose a few invalid cases assuming resources::gameboard was always valid (when it's not -
see the tests), but even if that were fixed the test would be rather useless since there's nothing there
without said game_board.