Fix gridStartIterate in moveCalcDroidSlide clobbered by the one in mo…
…veShuffleDroid. This caused crashes and probably general weird behaviour. Introduced due to horrible grid system API involving global variables in 0b7605c. Fixes ticket:3287 and ticket:3301.
Initialise zlib input data to nothing on socket flush.
Fixes possible crash in zlib deflate routines when flushing sockets before any data has been written to the socket. Seems to be reproducible if applying the following tmp queue commit, hosting a game, and joining it.
Allow using NETbeginEncode()/NETend() with tmp queues.
Clients actually get a game full message instead of a host has dropped connection message. Don't double-pop NET_REJECTED messages when joining (which were sent to a random socket other than the joining client, anyway, due to being attempted to being sent to tmp queues). To reproduce, apply this patch to the host but not to the client. Hopefully fixes ticket:3245 and ticket:3300.
Set »ingame.JoiningInProgress[i] = false;« in NET_InitPlayer().
Avoids players seeing only flags, no player names or ready buttons, when joining a re-hosted game. The issue was MultiPlayerJoin() failing to send a NET_OPTIONS message via sendOptions(). Avoids the "Waiting for players" screen in single-player mode, after nearly starting a single-player skirmish game, going back, and loading a game instead. Fixes ticket:3309.
Show health as well as build progress when selecting incomplete enemy…
… structures. Fixes ticket:3256.
Update droid height after unloading specific droid from transport.
For some weird reason, there are two completely different code paths for unloading all droids at once, or unloading one droid at a time. In the latter case, the droid height stayed as was whatever it was when it was loaded onto the transport. This lead to levitating droids or droidmarines. Fixes ticket:3169.
Remove unused SS_BEING_DEMOLISHED.
Structures being demolished had status SS_BEING_BUILT, not SS_BEING_DEMOLISHED.
Show correct AI names, even when AI list differs from the host's.
Fixes ticket:3226.
Fix suboptimal paths on multiple droids pathfinding to same location.
On finding the optimal path for a droid, pathfinding was immediately terminated, on reaching the droid, without considering paths crossing the droid's tile. The next droid to pathfind to the same location would re-use the pathfinding map, which has a hole around where the previous droid was, which could lead to long detours (or not finding a path) if the previous droid/droids was/were in a 1-tile-wide/narrow passage.
Change defaults to window mode & 640x480, so people can see the syste…
…m dialog popups if something goes wrong on init.
Add __LINE__ to debug() routines to show exact line it is being calle…
…d from. On LOG_WARNING, only ouput the warning one time and supress the rest.
Always select a factory, either by clicking on it, or clicking on the top or bottom icon in the bottom panel, and only mark one factory as selected.
Use the same text for the unit colour options everywhere.
Yay for duplication! Fixes #3324.
Merge branch 'bugfixes' into 3.1
* bugfixes: (27 commits) Don't change radar option when clicking on scanlines. Use the same text for the unit colour options everywhere. Improve factory selection. cleanup: Remove some useless code. French translation update by Amiral JCDG. Load and save factory numbers. Properly disable unit design/radar without HQ in mp/sk. Add __LINE__ to debug() routines to show exact line it is being called from. On LOG_WARNING, only ouput the warning one time and supress the rest. Change it so you can deconstruct anything but blueprints. Fixes ticket:3312 When debug mode is enabled also enable the flag Change defaults to window mode & 640x480, so people can see the system dialog popups if something goes wrong on init. Fix spacing a bit for host lobby screen Fix Assert to check for Super Transporter as well update MSVC solution file Disable mimimalRebuild since it was slower than doing /Mp Fix suboptimal paths on multiple droids pathfinding to same location. Show correct AI names, even when AI list differs from the host's. Remove unused SS_BEING_DEMOLISHED. Update droid height after unloading specific droid from transport. Show health as well as build progress when selecting incomplete enemy structures. Set »ingame.JoiningInProgress[i] = false;« in NET_InitPlayer(). ...
Save our openGL info so we can write it out.
Save game version / time / openGL stats / and misc. other things that we can use to debug issues to a gameinfo.ini (in savegames) or WZdebuginfo.txt (on fatal errors) file that can be easily uploaded to us.
Simplify the OS X crash dialog.
With the option to automatically open relevant directories and the new ticket page.
dpkg: Explicitly depend on xmlto.
The asciidoc package only recommends it, but it's needed to create the manpage.
Merge branch 'bugfixes' into 3.1
* bugfixes: Update ChangeLog. Spanish translation update by Saberuneko. dpkg: Explicitly depend on xmlto. Simplify the OS X crash dialog. Save our openGL info so we can write it out. Save game version / time / openGL stats / and misc. other things that we can use to debug issues to a gameinfo.ini (in savegames) or WZdebuginfo.txt (on fatal errors) file that can be easily uploaded to us.