Commit Graph

11241 Commits (b63f7a0b09d20037878a39da7d72237fb02db8bc)

Author SHA1 Message Date
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
cybersphinx bf16894594 Update ChangeLog. 2012-02-04 23:40:02 +01:00
Per Inge Mathisen 5a6e1f70a7 qt script: Document problem with case sensitivity in script defined globals. 2012-02-04 23:11:54 +01:00
Per Inge Mathisen 083351a0f5 qtscript: Do not save c++ defined special variables to the savegame. 2012-02-04 23:07:20 +01:00
Per Inge Mathisen 2417ba4f4b Quick workaround for scavs going inactive after savegame loading. 2012-02-04 22:42:56 +01:00
Per Inge Mathisen 43fc328aea Merge branch 'bugfixes' of github.com:Warzone2100/warzone2100 into bugfixes 2012-02-04 22:07:55 +01:00
Per Inge Mathisen d11b13c422 If you save, the load, then save again, then game.scavengers value was set to false
even if you have scavengers in the game, and the scavenger script context is not
created, leading to an assert and lack of scavenger action in the game. Fixed.
2012-02-04 22:06:30 +01:00
dak180 c7f3d99d54 Update the docs for xcode builds.
Also restructure the script so it will require less changes in the future.
2012-02-04 15:25:40 -05:00
Per Inge Mathisen 94d7d61b38 qtscript: enumBlips() isn't 3.2-only anymore. 2012-02-04 21:05:16 +01:00
Per Inge Mathisen d82a0fbfbd qtscript: Improve documentation 2012-02-04 20:36:20 +01:00
Per Inge Mathisen 58160f69c5 Make sure we do not start multiple AIs for each player when loading a game. 2012-02-04 20:36:19 +01:00
Cyp b4f24bf44f Fix desynch on offering an AI an alliance.
Only triggers in the rarely-used 'Allow Alliances' game mode, in games with AIs. When
offering an AI an alliance, the AI would sometimes accept instantly, and the acceptance
was not synchronised.
2012-02-04 16:12:45 +01:00
Buginator 415f6fe590 When people are kicked, don't lock them out from all other games.
They can't join the game they were kicked from anyway.

(cherry picked from commit 370ce6c9016fc6bba390fcf498d2be770f77f240)
2012-02-04 08:45:00 +01:00
Cyp 8ab7ba79bc Make latency guesser less optimistic.
Hopefully reduces Zzz microfreezes a bit, in the case of laggy connections.

There's probably a better way of guessing latency than this, but it works for now.
2012-02-04 08:45:00 +01:00
Cyp fc708d6787 Improve screen while waiting for game to start.
Always display the chat console, instead of only flashing it while pressing Esc
repeatedly. Fix weird font sizes. Show which players have loaded so far. Show
joining status for everyone, not just the host.
2012-02-04 08:45:00 +01:00
dak180 d9010d186f Hopefully make it so conflicts in the xcode project files are automatically resolved.
This is done by making them not actually merge (it still will need to be done though just by hand on a platform where it can be tested).
2012-02-03 23:40:24 -05:00
cybersphinx 73ec38c347 Merge branch 'bugfixes'
* bugfixes:
  Check if we actually need to hide widgets before hiding them
  Fix player counts for both AI & humans & 'closed' slots in MP games
  Should fix indicator for loading, skirmish & MP screens. fixes ticket:3104
  Fix calling batch file for autorevision.sh script refs: 17596232cc
  Don't go past the map's player limits when allocating players. fixes ticket:3089
  Fix issues that were overlooked from the revert(s) in ac550acd58
  qtscript: Add a note about local variables to the documentation.
  Splice in the Changelog from 2.3.
  Set radarOnScreen to true by default.
  Add general rules script for the campaign.
  Run eventStartLevel always, not only for skirmish.
2012-02-04 05:32:40 +01:00
vexed 91853401ad Check if we actually need to hide widgets before hiding them 2012-02-03 21:13:57 -05:00
vexed 32a7fe731c Fix player counts for both AI & humans & 'closed' slots in MP games 2012-02-03 21:13:56 -05:00