Add an xcode project to run the tests.
Also makes the qslint command line program.
Don't remove autorevision.h on make clean.
Otherwise building from a tarball fails after make (dist)clean.
Apply rest of the patch that was mistakenly left out of
fcede64 Thanks to cybersphinx for the heads up.
Scale the transporter & Super Transporter on the scoreboard screen.
Fixes ticket:3210
Fix transporter check for SP games.
Add some FIXME comments when we properly fix the campaign scripts. Expose DROID_SUPERTRANSPORTER to the script engine Fix gifting of the Super Transporter, along with some other fixes. Fixes ticket:3224
Enable the OpenGL 1.4/VBO fallback on Macs.
Removes some ifdefs that were cargo culted along for years. Rejoice, Intel GMA 950 users! Refs #3166.
Try to be more consistent with gameTime usage.
When updating the game state, we now determine what happened in the interval [gameTime - deltaGameTime + 1; gameTime]. The time gameTime - deltaGameTime is now considered to be in the past, so the game state may be modified at time gameTime - deltaGameTime + 1, at the earliest. During GAME_* message processing, deltaGameTime is 0, however it is still considered valid to change the game state at gameTime - deltaGameTime + 1, since that will lie within the following update interval. Refs ticket:3175.
Simplify displayMultiPlayer(), fix some duplicate and some quintuplicate code.
Don't remove autorevision.h on make clean, take 2.
Seems 13fba99 breaks building when no autorevision.h exists.
In moveShuffleDroid(), do not iterate over all of own droids on map (optimisation), but include other player's droids (change). In moveReachedWayPoint(), increase tolerance of final waypoint, if the droid's path is blocked, since the most likely cause of the blockage is other droids trying to going to the same place. Patrol is no longer useless in groups of 4-or-so or more droids. Fixes ticket:2996.
Clean up actionVTOLLandingPos() interface.
Program logic should be unchanged.
Make "Go to Transport" button work sensibly.
Droids now go to the nearest transport that they can fit in. Even if they're not cyborgs. And even if there's a transporter on the other side of the map that they could go to, instead of going to the one standing right next to them.
Do not complain to all players in game, on attempted loading of tank …
…on cyborg transport. Announcing to everyone makes surprise attacks with transports harder, if accidentally telling a tank to go onto a transport.
Explain how the cursor system works a bit better, and make it easier …
…to edit these blasted things. Created a external file called cursorselection, that can be loaded into a spreadsheet for easy editing.
Merge branch 'bugfixes' into 3.1
* bugfixes: Explain how the cursor system works a bit better, and make it easier to edit these blasted things. Created a external file called cursorselection, that can be loaded into a spreadsheet for easy editing. French translation update by Amiral JCDG. Polish translation update by Emdek. Do not complain to all players in game, on attempted loading of tank on cyborg transport. Make "Go to Transport" button work sensibly. Do not land all 150 VTOLs on the same tile. Clean up actionVTOLLandingPos() interface. Reduce tank dancing. Don't remove autorevision.h on make clean, take 2. Show allied unit counts. Try to be more consistent with gameTime usage. cleanup: Remove unused define. cleanup: Remove redundant QScriptEngines. Enable the OpenGL 1.4/VBO fallback on Macs. Revert "qtscript: Do not call destroyed event twice for each object."
Don't display the demolish cursor over unbuilt structures.
fixes ticket:3118
Try not to allow multiple mouse presses when trying to kick people ou…
…t of game. closes ticket:3209
Don't assume we are still in demolish mode if not a droid type that c…
…an't do that. fixes ticket:2106
Allow Super+click as alternative to Meta+click or Alt+click.
The Qt and SDL backends seem to call the Tux key Meta and Super, respectively. This makes Tux+click work with the SDL backend.
Fix dead pointer usage following lone droids dying during repair at r…
…epair facility. Despite checking for REPAIR_FACILITY::psObj->died, REPAIR_FACILITY::psObj was not reliably set to NULL afterwards. This probably resulted in hard-to-reproduce desynchs. Hopefully fixes ticket:3237.
Show milliseconds, if game speed is set to very slow.
Useful for keeping track of game state updates when debugging. Game state updates happen every 100 ms, at time 00:00.002, 00:00.102, 00:00.202, etc….
Muzzle flash fix for Assault Cannon & Cluster/HEAP Bomb projectile's …
…texture fix and fix TCmask for Plasmite Flamer AA Flak Cannon Sunburst AA Rocket Array Closes ticket:3243. Author: Black Project (cherry picked from commit 54646f0) Conflicts: data/base/components/weapons/trmair2.pie data/base/components/weapons/trmair3.pie data/base/effects/fxvulcan.pie
Don't waste 200 ms before droids start moving.
The droid no longer spends 100 ms changing psDroid->sMove.Status from MOVEWAITROUTE to MOVENAVIGATE plus 100 ms changing from MOVENAVIGATE to MOVEPOINTTOPOINT, before starting to move. This changes the average response time of trucks to a move order from 450 ms to 250 ms.
Fix and reorganize dependencies for the mac builds of the tests.
Also eliminate a few useless warnings.
Add qslint to the Warzone app bundle.
This should help mac modders test their scripts. Also run the tests when making the dmgs.
Merge branch 'bugfixes' into 3.1
* bugfixes: (21 commits) Remove useless duplicate line. cleanup: Constify and match interpolatePos and interpolateAngle. Prevent division by zero in interpolateSpacetime(). maint: Update mailing list address. dpkg: No more mods. Don't try to send limit data before hosting a game. cleanup: Put bHosted into multiint.h. linux: Make gdb backtrace all threads. Get rid of useless warnings, take 2. Add qslint to the Warzone app bundle. Fix and reorganize dependencies for the mac builds of the tests. Don't waste 200 ms before droids start moving. Muzzle flash fix for Assault Cannon & Cluster/HEAP Bomb projectile's texture fix and fix TCmask for Plasmite Flamer AA Flak Cannon Sunburst AA Rocket Array Add pie(state|types).h to the xcode project. Show milliseconds, if game speed is set to very slow. Fix dead pointer usage following lone droids dying during repair at repair facility. Allow Super+click as alternative to Meta+click or Alt+click. Don't assume we are still in demolish mode if not a droid type that can't do that. fixes ticket:2106 Try not to allow multiple mouse presses when trying to kick people out of game. closes ticket:3209 Don't display the demolish cursor over unbuilt structures. fixes ticket:3118 ...