…down 5%. Cannon damage to buildings and hardpoints up 10% and to bunkers up 25%
(cherry picked from commit 826a0ef)
…our of two new ones. First is armed with seraph missiles, the second with both seraph missiles and gauss cannon on a dragon body.
… own buildings or units. (cherry picked from commit e181461)
…ove weird casts.
…playing bars. Fixes ticket:912. Changelog: Fix health bars displayed over empty terrain, when set to always display energy bars.
Changelog: Print distances and speeds in terms of tiles.
…werBar() functions into a 45-line intDisplayBar() function.
…KEYUP. This is due to a seemingly undocumented bug and/or feature in SDL, where SDL_EventState and SDL_SetEventFilter mysteriously discard all pending events. The following SDL code in SDL_EventState and SDL_SetEventFilter discards all pending events, with a comment saying it does so: while ( SDL_PollEvent(&bitbucket) > 0 ) ; There appears to be no documentation of this fact anywhere outside the comment in the SDL code. I am not aware of any logical reason why enabling events with SDL_EventState should cause less events to be received than otherwise.
…"multiop" menu. Weird stuff could happen, such as the client thinking it's a host when it isn't. Changelog: Fix clients getting confused when trying to leave a game before it starts by pressing the Escape key.
…ming people clicked wherever the mouse moves to later. In theory, this should make the UI usable, even on machines that don't consistently get 10000 FPS. Because WZ widgets are weird, just make the widgets pretend that the mouse stopped moving after clicking or releasing in a given frame. If you click twice in the same frame, the second widget will still greedily steal the mouse click from the first widget. Changelog: Try to improve UI responsiveness under low framerates.
…cilities. Changelog: Fixed delivery point placement for cyborg factories and repair facilities.
Some damaged droids wouldn't retreat when setting the droid retreat level (and probably didn't get the setting, either). Changelog: Setting droid retreat on damage now works, even if selecting more than 100 droids.
…e power, from 5*FPS/(N+1) to 25/second. Previous code was insane, despite some previous attempts at improving the indentation of the code, and meant that players with better graphics cards could build, produce and research 5x-10x faster. Changelog: Construction, production and research speeds are no longer linearly dependent on framerate on high oil maps.