Commit Graph

2403 Commits

Author SHA1 Message Date
Paul Chote
08cf941fef Add BridgeHut and repair activities. 2013-04-15 23:11:21 +12:00
Paul Chote
115da5c770 Make bridges repairable. 2013-04-15 23:11:21 +12:00
Paul Chote
d3959d21ca Add a ParentActorInit for FreeActor spawns. 2013-04-15 23:11:20 +12:00
Paul Chote
4ca777597f Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.
This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
2013-04-15 23:10:57 +12:00
Paul Chote
e76c746b61 Rewrite Enter and related activities.
The unit will now path to the nearest adjacent cell, drag inside, do the inner activity, then (if still alive) drag back to its original
location.

This fixes:
 - Mismatch in logic between Enter and MoveAdjacentTo,
   which causes an infinite loop.
 - Building capturing failing from certain directions.
 - Being unable to enter buildings on unpathable tiles.
 - Units being stranded inside a building if the requirements
   for the inner order aren't met.
2013-04-15 08:05:37 +12:00
Paul Chote
8676562d47 Fix bogus pathability check.
This fixes units on pathable bridge tiles from
being killed on bridge death (they were failing
the check against themselves).
2013-04-15 08:04:44 +12:00
Paul Chote
a1313b518d Prevent multiple bridges spawning at the same location. 2013-04-15 08:04:25 +12:00
Chris Forbes
c9d5f42dce Merge pull request #2996 from Mailaender/serverbrowser-usability
Added filters and ping to server browser
2013-04-13 00:55:41 -07:00
Matthias Mailänder
c9180aaf86 simplify the selection boxes and use existing checks 2013-04-12 12:17:31 +02:00
Matthias Mailänder
2cdeb112fe polish serverbrowser filters 2013-04-12 11:46:27 +02:00
Matthias Mailänder
1069a89332 made filters and ping button optional 2013-04-12 11:36:53 +02:00
Matthias Mailänder
2a9cfc6203 added game server pinging 2013-04-12 11:36:52 +02:00
Matthias Mailänder
5eff33cc65 added serverbrowser filters 2013-04-12 11:36:52 +02:00
Matthias Mailänder
b6d6757690 Merge pull request #3042 from chrisforbes/bug-3023
Fixes #3023 crash in ObserverShroudSelectorLogic if two players have the same name
2013-04-12 02:29:07 -07:00
Chris Forbes
829af80c95 fix crash in ObserverShroudSelectorLogic if two players have the same name 2013-04-12 21:24:06 +12:00
Scott_NZ
54a76070d5 Prevent Allies from destroying Soviet base in Desert Shellmap 2013-04-12 21:22:40 +12:00
Chris Forbes
b649b4b7bb Merge pull request #3020 from pchote/shroud-sanity
Refactor per-player shrouds.
2013-04-12 01:53:31 -07:00
Matthias Mailänder
4e33f26859 Merge pull request #3028 from Mailaender/nat-settings
Better name for automatic port forwarding and enabled by default if all pre-checks end well.
2013-04-12 01:22:15 -07:00
Matthias Mailänder
e83f80d6be Merge pull request #3030 from Mailaender/shellmap-polish
Removed some annoyances from the RA temperat shellmap
2013-04-12 01:18:47 -07:00
Scott_NZ
e8ad630e9d Add unit production and other buildings to desert shellmap 2013-04-12 19:32:43 +12:00
Scott_NZ
f931706664 Rework centre of desert shellmap. Adjust unit balancing. 2013-04-12 18:24:59 +12:00
Paul Chote
400ad49de0 Allow maps/mods to properly disable fog or shroud (or both). 2013-04-11 22:36:56 +12:00
Paul Chote
2c680a1831 Fix shroud for observers observing a player after win/loss. 2013-04-11 21:26:49 +12:00
Scott_NZ
c3ec29a14c More shellmap polish. Add another badger paradrop 2013-04-11 02:27:09 +12:00
Matthias Mailänder
821fe02fde polish the temperat shellmap a little
- silence the gun sound a bit
- remove the flickering mig
2013-04-10 15:53:57 +02:00
Matthias Mailänder
23ca044515 allowUPnP is a bad name for automatic port forwards
also check it by default if all those checks went well
2013-04-10 12:45:16 +02:00
Paul Chote
707c86fbbb Fix selection decorations being drawn behind fog. 2013-04-10 22:12:51 +12:00
Paul Chote
9b7bb53287 LocalPlayer.Shroud is never the right shroud. 2013-04-10 21:42:30 +12:00
Paul Chote
248e815d99 More shroud refactoring.
This introduces a hash on Shroud which ShroudRenderer
can observe, removing the need to explicitly twiddle
a dirty flag between objects.

Shroud disabling is now done via RenderPlayer, so
enabling the cheat or winning/losing will now give
vis equivalent to an observer.
2013-04-10 21:08:22 +12:00
Paul Chote
c428cad70c Refactor per-player shrouds & fix shellmap shroud. 2013-04-10 19:36:03 +12:00
Scott_NZ
6fb6aba9fc Add chinook reinforcements to Desert Shellmap 2013-04-10 19:29:37 +12:00
Scott_NZ
92efc64602 Add some awesome things to the new shellmap like Chronosphere/Iron Curtain usage and auto unloading of cargo 2013-04-09 16:58:24 +12:00
Scott_NZ
5c3923c4f5 Add civilian nudging for new shellmap 2013-04-09 16:58:24 +12:00
Scott_NZ
455dd98eec Add general attack code to shellmap 2013-04-09 16:58:23 +12:00
Scott_NZ
cd9a264f01 Shellmap: Add beginning paradrop and Tanya 2013-04-09 16:58:23 +12:00
Scott_NZ
a897c256c8 Shellmap: Add more Soviet buildings and improve paradrop 2013-04-09 16:58:23 +12:00
Scott_NZ
1e45a9899b Shellmap: Add Viewport movement, coastal attacks and so forth 2013-04-09 16:58:23 +12:00
Scott_NZ
3a66cd75b4 Add Desert Shellmap 2013-04-09 16:58:22 +12:00
Chris Forbes
66eff85aa4 Merge pull request #3003 from Mailaender/build-palette-hotkey-modifier
Resolve hotkey conflicts between build palette and world command widget once and for all
2013-04-08 15:27:53 -07:00
Chris Forbes
8f7819fb24 Merge pull request #3011 from Mailaender/cloaking
Render mines properly again and fix empty camo pillboxes in RA shellmap
2013-04-08 13:55:23 -07:00
Matthias Mailänder
e7e74aac3c allow the cloak palette to stay empty and use it for mines 2013-04-08 19:29:55 +02:00
Scott_NZ
c173cfa771 Remove extra tab 2013-04-09 03:07:33 +12:00
Scott_NZ
f16edfcf98 Fix shroud bug in Monster Tank Madness 2013-04-09 00:18:21 +12:00
Scott_NZ
67fcdb5b91 Remove Shroud.Jank() and make all references to it call Shroud.Dirty() instead 2013-04-09 00:18:08 +12:00
Matthias Mailänder
f0e88b55f6 Merge pull request #3005 from pchote/observer-shroud
Implement observer shroud selector in C&C
2013-04-08 02:44:44 -07:00
Paul Chote
c52bd4bf82 Implement observer shroud selector in C&C. 2013-04-08 21:24:09 +12:00
Matthias Mailänder
70b40a54be build palette hotkeys require ALT modifier to avoid conflicts
changed back the unit action hotkeys scatter / stance cycle
2013-04-08 09:37:54 +02:00
Paul Chote
76b206670a Make cheats logic robust against missing widgets.
Also removes force-desync stdout spam.
2013-04-07 23:41:31 +12:00
Paul Chote
096d95f391 Fix bogus pause logic. 2013-04-07 23:38:52 +12:00
Curtis Shmyr
3272b6725e Merge pull request #2987 from chrisforbes/cloaked-mines
remove InvisibleToEnemy, use plain Cloak for mines
2013-04-06 22:27:12 -07:00