Commit Graph

11109 Commits (ba33e2c0e423a6d8aa27cee790e31e437a85ee5d)

Author SHA1 Message Date
cybersphinx ba33e2c0e4 Update translations. 2012-02-19 21:22:37 +01:00
cybersphinx e076ad57a4 Fix looping through selections.
Introduced in 8379fb2f8b. Fixes #3189.
2012-02-19 21:20:56 +01:00
dak180 79772c82b5 Update Png to 1.5.9. 2012-02-18 16:58:01 -05:00
Cyp cefd4179f7 Allow configuring default skirmish colour to any colour, or to random. 2012-02-17 00:09:06 +01:00
iNoDlite a7d2c06c28 Bring back to life old VBO hack for unlucky OpenGL 1.4 users, GLEW edition this time. Closes #3166.
Removed some duplicated code for gfx info dump.
2012-02-17 01:39:12 +04:00
cybersphinx f7b2351e1a Add a --fallback-mode option that makes the game only use OpenGL 1.5. See #3166. 2012-02-17 01:15:57 +04:00
vexed 001ef35faf Play the correct sounds when we are getting attacked.
Broken in f35de0d513

NOTE: see aforementioned commit b18b76ea8a
on why we should be spitting out warnings/errors, not ignore these issues.

Fixes ticket:3102
2012-02-15 21:51:46 -05:00
vexed 9a66b4e0d6 Correctly define the function for compilers that aren't broken enough to allow bool blah() == void blah() which should throw a error since we don't overload it.
Broken in 68639f734f
2012-02-15 21:48:08 -05:00
vexed b18b76ea8a Don't hide possible misnamed or non-existent function calls in qtscript's backend. We now give a LOG_WARNING to notify us of the possible error. NOTE: might be better to promote this to LOG_ERROR, so we can tell in-game that we have issues instead of parsing log files. 2012-02-15 21:48:07 -05:00
vexed db74b52388 Make sure we clear the tile with the feature on it after it has been destroyed.
Not really a cherry-pick (functions changed), however, it is the same logic so wanted
to keep track of the cherry-pick.

fixes ticket:3155

2.3: Make sure we clear the tile with the feature on it after it has been destroyed.

refs ticket:2534
(cherry picked from commit d1c93494dee2f1b929776edadc3bad1f7d364491)

Conflicts:
	src/feature.c
2012-02-15 21:48:06 -05:00
vexed abd869b079 Clean up includes from 24db01ae10 2012-02-15 21:48:05 -05:00
vexed b5ab238e23 Tone down the text color of the level name/time 2012-02-15 21:48:04 -05:00
vexed 845d423cb2 Add a 'Need more resources' indicator in the power bar when needed. 2012-02-15 21:48:03 -05:00
cybersphinx f1fd685071 Only copy javascript doc if we build out of tree.
Also run hevea twice to get cross-references right.
2012-02-15 23:09:18 +01:00
Cyp ea8d833e5c Fix lassat firing too many times when clicking fast.
Fixes ticket:3163.
2012-02-13 12:39:34 +01:00
Cyp ea37769188 Rename game debug messages to GAME_DEBUG_*.
Also, avoid unexpected triggering of debug code.

Note that this code was actually originally part of the pre-newnet synchronisation
mechanism, but is no longer useful outside of debugging.
2012-02-13 12:12:14 +01:00
Cyp 68639f734f Synchronise enabling of debug mode. 2012-02-13 00:45:37 +01:00
Cyp 24db01ae10 Remove legacy synch code.
Some of it would run in the case of desynchs, but didn't help with anything.
2012-02-12 20:16:47 +01:00
dak180 a369971dbf Update Vorbis to 1.3.3. 2012-02-12 08:50:06 -05:00
dak180 04bc8b8045 In reference to 3e15039 bump the year in the mac files.
Also update the copying.* files included in the mac builds.
2012-02-12 08:37:45 -05:00
Cyp 5a3925391e Fix unit speeds.
Units now actually move at the speeds given in the design menu, which in the case of
VTOLs is up to 2.5 times faster, and which in the case of land units up to 1.2 times
faster on one particular terrain type, instead of moving at a maximum of
DROID::baseSpeed, which is the speed before terrain modifiers.

Introduced in 4b08dd0b0c.

Fixes ticket:3140.
2012-02-12 13:36:16 +01:00
vexed 65e7c826fe Fix ping times for clients. broken in 74261ad652 2012-02-11 16:51:29 -05:00
vexed 46d1e62c8e Add a A_O_R to prevent crashing on null pointer 2012-02-11 16:51:18 -05:00
vexed 3e15039aa6 Unfortunately, the Project can't stop time, so bump the year. 2012-02-11 16:50:52 -05:00
cybersphinx dfaadbc5d2 qtscript: Add an html target using hevea for the docs. 2012-02-10 22:39:38 +01:00
cybersphinx f8b54fd60f qtscript: Use lstlisting in the docs. 2012-02-10 22:39:23 +01:00
cybersphinx 391ffb621e Fix radar/unit design in campaign for away missions. 2012-02-10 20:37:18 +01:00
cybersphinx 911dda38c6 qtscript: Add function to enumerate base structures in away missions. 2012-02-10 20:35:01 +01:00
cybersphinx 1266a795e6 qtscript: Add selection by structure type to enumStruct. 2012-02-10 20:29:41 +01:00
cybersphinx 37cf6b4d2a Add new shortcuts for unit selection.
Ctrl+C: All cyborgs
Shift+C: All cyborgs with weapons
Shift+E: All cyborg engineers
Shift+G: All ground based attack units including hovers
Shift+M: All cyborg mechanics
Shift+P: All transporters
Shift+R: All tanks with repair turrets
Shift+S: All sensor units
Shift+T: All trucks

Original patches by JDW and Wolfbyte. Closes #3150.
2012-02-10 19:40:19 +01:00
cybersphinx 8379fb2f8b Clean up src/selection.cpp/h. 2012-02-10 19:40:19 +01:00
cybersphinx cb94218e10 qtscript: Document add/removeReticuleButton parameters. 2012-02-10 19:40:19 +01:00
cybersphinx eda532db29 qtscript: Remove OPTIONS as an alias for the COMMAND button.
Even in wzscript this was only for backwards compatibility.
2012-02-10 19:40:19 +01:00
cybersphinx 97a7c6a1da Change new PIE modes to use flags instead of connectors.
Introduced in 82e00bf7747af4962a32b67e4215d40298bbf9b3:

  Roll to camera uses TYPE x1x instead of a "1 x 0" connector.

  Pitch to camera uses TYPE x2x instead of a "2 x 0" connector.

  Additive uses TYPE xx1/xx2 to dis/enable instead of a "x 1 0"/"x 2 0" connector.

Introduced in f3ba2378e54ab0557db4a20c876043f8be059906:

  Premultiplied uses TYPE xx4 instead of a "x 3 0" connector.

Refs #3024.
2012-02-10 19:40:19 +01:00
crabster 2fc761a304 Fix incorrect rounding 1% HP as 0 HP (indestructible features)
Fixes ticket:3134
This fixes the problem where the map has features with 1% HP which
are incorrectly converted to 0 HP
2012-02-10 22:05:44 +04:00
crabster 2e03931307 Fix incorrect speed bars for vtol.
Fixes ticket:3143
2012-02-10 17:15:33 +04:00
Per Inge Mathisen 9d616939ec Fix ticket:3137 - Nexus AIs loaded for javascript AIs 2012-02-08 22:44:16 +01:00
Cyp e581b840d6 Allow PMs to player 8 and 9.
Fixes ticket:3141.
2012-02-08 13:58:24 +01:00
cybersphinx 1f9165d57f Fix ChangeLog date. 2012-02-08 00:31:33 +01:00
cybersphinx d19550738d Update ChangeLog. 2012-02-07 20:34:34 +01:00
cybersphinx 8e3391a9ed Update translations. 2012-02-07 18:42:35 +01:00
cybersphinx ddd113f992 Change "System message" to "Server message" for the MOTD. 2012-02-07 18:42:34 +01:00
cybersphinx f04bd71542 Only show "player x joined" message in the lobby when it is someone else. 2012-02-07 18:42:34 +01:00
cybersphinx 411e4acda3 Fix libvorbis linking.
Possibly fixes #2962.
2012-02-07 18:42:34 +01:00
Cyp 8d92594676 Make research button flash more consistently.
Flash research button, if there is a free lab and a new research becomes available, or if
a lab becomes available and there is something to research.

Stop flashing the research button, if there is nothing to research, or no free labs; for
example, due to a lab being upgraded or destroyed.

Available researches which are already being researched by an ally no longer count towards
the button flashing.

Do not randomly start flashing the research button again, even if there are still free
labs which are not researching.

Fixes ticket:1835.
2012-02-07 18:15:40 +01:00
Cyp 24d0d1b64c Always show droids in production, even if obsolete.
This allows cancelling production of obsolete droids, without cancelling all production in the factory.
2012-02-06 14:37:22 +01:00
Cyp ae59186a07 Fix another research cancellation not registering in UI.
If cancelling a research by clicking on the current research, in the research menu (not
right-clicking on the facility), then the next completed research in the same facility
would linger after completion.

Research is cancelled twice when clicking on the current research, but was incorrectly
registered as cancelling three times, confusing the facility. Also, when cancelling, the
second cancellation would fail to be registered, due to the ID of the research facility
not being sent.

Fixes ticket:3130.
2012-02-06 13:54:32 +01:00
vexed a2712860d6 Misc fixes for netcode.
Only kick people out once, not them, their color, and their color again.
2012-02-05 21:43:45 -05:00
Cyp 108b5ef10a Fix randomly disabled teams and ready buttons.
Teams of unallocated players affected team and ready-button availability.
2012-02-05 13:13:04 +01:00
Cyp 51b92cd05f Only highlight own ready button, when hovering with the mouse. 2012-02-05 12:32:46 +01:00