Fixes #305 Weirdly, gcc 4.8 didn't see it on my machine.
Part of #155. What's left is to add game options: - Dialogues speed - Difficulty setting - Battle target cursor memory
Part of #155. This was the most delicate part of it. Now it is done, it will much easier to add options support within the main game.
Moved most of TextBox speeds into the configuration file
I did not changed the occurrence at: src/modes/shop/shop_utils.cpp#328 The occurrence at; src/modes/map/map_treasure.cpp#121 had a value of 50, not 30, but now it's the same than for other situations (except shop_utils) It could be interesting to split thos vairous speeds into more configuration options. I also have noticed that for battles, there are a lot of identical code.
Not entirely done, though but still ... ;)
…s to Akien. :)
Thanks to bmorel for the report. Should close #296.
The issue occurred because: After _any_key_press was correctly set to true on a hat event, it was often being reverted to false by the logic in _JoystickEventHandler during the event-handling loop. Since _any_key_press is only assigned in the event handling loop, and not evaluated, it makes more sense to assign it once after all events have been handled. I tested this change in all menus that use InputEngine::AnyKeyPress(), using the keyboard, and Xbox 360 controller joysticks and D-pad. All seem to work as expected.
It is basically finished, except for the actual HP damage on characters.
This is used with the Orlinn's sequence, btw.