…s being unused in the data header.
…y too many times. Based on patch by Buggy. Throw in a few checks for changing player position or team, too. Closes ticket:2346. Changelog: Fixed crash for all players when the last player clicks "Ready" too many times.
…th in auxStructureBlocking(). Fixes unsynchronised errors in the blocking map when building cyborg factories or lassats. Closes ticket:2290. Refs ticket:2203.
Don't know whether aquatic ground heights could affect game state, but changing in case, and since it means less to debug. Also, removed unused parts of src/environ (which is pretty much everything). src/environ is now even more useless, and should probably be deleted in a future commit.
(When player drops / leaves, you will still see their name instead of the default color name). Also fix a log line. git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/branches/2.3@11495 4a71c877-e1ca-e34f-864e-861f7616d084 (cherry picked from commit 847edec)
… dangerFloodFill running for player -1. Refs ticket:2203.
…in threads. Put danger map processing in a separate work thread. See ticket:2203
This reverts commit 1a6fb8a.
…y Safety0ff. Also changed lastHitWeapon from UDWORD to WEAPON_SUBCLASS.
…es the floating point part). Correctly handles "42 127 -3", "42.999 127. -3.1415926535897932384626" and "42... 127.0.0.1 -3.0..0...0" as (42, 127, -3). Doesn't handle the floating point and integer mixture "42 127.0 -3".
Probably fixes desynchs involving different projectile sources. Hope no floats are left to affect the game state...
…ctures when looking at their targets. Fixes a desynch when multiturreted droids are present.
…chs due to players not agreeing who owned what. The check against selectedPlayer was incorrect, it caused clients with max trucks + 1 to not believe anyone could give trucks to anyone else. Introduced in d6b47d1. Changelog: Really fix truck limit when giving trucks.
…g cast before division in last commit.
…ge processing. Fixed by setting deltaGameTime = 0 in src/loop.c, after each game-state update. Also, cleaned up lib/gamelib/gtime slightly. To reproduce locally, start 2 clients, set one to 20x speed, the other to normal speed, and create droids on uneven terrain using the debug menu.
…ELEVATION_SCALE. Changelog: Fix projectiles going through terrain due to bad terrain height calculations. Changelog: Fix terrain shading.