Commit Graph

7049 Commits

Author SHA1 Message Date
RoosterDragon
3c930c3ef9 Introduce FrozenUnderFogUpdatedByGps and IOnGpsRefreshed.
This trait uses the new interface to register with the GpsWatcher to get notified when the GPS state changes. It needs to register as if the actor is destroyed, the GpsWatcher can no longer query actors in the world to get the trait. This is no good as the trait needs to perform actions after the death of its parent actor.

When the GPS is enabled, the trait will track ownership changes and update the frozen actor (just like if there was only a GPS dot, it would change colour) and it will also remove frozen actors if the real actor dies or is sold.
2016-01-17 00:13:06 +00:00
RoosterDragon
a232eff7fd Replace IRemoveFrozenActor with FrozenActorLayer.Remove.
The IRemoveFrozenActor interface is replaced with a Remove method on FrozenActorLayer. IRemoveFrozenActor is a performance problem for FrozenActorLayer.Tick as it incurs a large cache miss penalty in order to load and enumerate the array of these interfaces for every frozen actor. Instead, we invert control and allow traits to remove frozen actors directly which eliminates the performance penalty.
2016-01-17 00:13:06 +00:00
Oliver Brakmann
aeafa3383d Merge pull request #10516 from reaperrr/shp-compress
Recompressed a number of shp(td) files with shapeset
2016-01-16 22:59:41 +01:00
Oliver Brakmann
29e8396863 Merge pull request #10531 from pchote/fix-tileset-case
Fix case mismatches in TS tileset importer.
2016-01-16 22:43:02 +01:00
Matthias Mailänder
6900e4bad3 rename DemoTruck to AttackSuicides
generalize move to add Aircraft support
give it a description
don't require Explodes as it is just a soft dependency
use a regular self kill
2016-01-16 19:38:23 +01:00
Oliver Brakmann
01a873218d Merge pull request #10364 from Mailaender/unload-overlay
Added the Tiberian Sun harvester unload overlay
2016-01-16 19:30:19 +01:00
abcdefg30
b593063057 Merge pull request #10519 from RockyTV/rockytv
Decrease Engineer and Medic priority
2016-01-16 14:35:41 +01:00
Paul Chote
9f28eefb31 Fix case mismatches in TS tileset importer. 2016-01-16 13:07:36 +00:00
Matthias Mailänder
152ff32ded add the Tiberian Sun harvester unload overlay 2016-01-16 13:51:08 +01:00
Matthias Mailänder
f3210755c0 rename WithDockingOverlay to WithDockedOverlay 2016-01-16 13:51:06 +01:00
reaperrr
77b0bd6067 Merge pull request #10520 from pchote/fix-voxel-z-offsets
Use height offset when rendering voxels.
2016-01-16 00:10:17 +01:00
Oliver Brakmann
8ebee425ab Merge pull request #10264 from whinis/bleed
Restart button for missions
2016-01-15 21:55:02 +01:00
Whinis
9059e3e2c8 Changes to the RestartGame function to make it more streamlined
Removal of PromptAbortAction and inclusion into PromptConfirmAction
Changes to prevent a restart button being required for all mods
ConfirmAction
Addtion of named parameters to PromptConfirmAction
Moved StartGame from MissionBrowserLogic.cs to Game.cs
2016-01-15 15:34:00 -05:00
RoosterDragon
999965fc82 Merge pull request #10491 from pchote/fix-country-overflow
Fix MP browser country name overflow
2016-01-15 19:54:09 +00:00
Paul Chote
1896e707e6 Fix deployed tick tank turret. 2016-01-15 17:13:59 +00:00
Paul Chote
18b3595894 Fix nod laser turret. 2016-01-15 17:08:45 +00:00
Alexandre Oliveira
5ce454ce7b Decrease Engineer, Medic and Mechanic priority
Fixes the issue that engineers would just run straight at the target while
mixed with a group and attack moved.
2016-01-15 14:18:10 -02:00
reaperrr
4c737bccd5 Re-compress some D2k SHPs 2016-01-14 20:10:31 +01:00
reaperrr
902c19d394 Re-compress SHPs in RA bits with shapeset 2016-01-14 20:10:11 +01:00
reaperrr
82806d90bd Re-compress SHPs in cnc bits folder with shapeset 2016-01-14 20:09:16 +01:00
Alexander Heinz
e0c033fe99 restart button added for singleplayer in cnc, ra, d2k 2016-01-14 11:53:31 -05:00
Matthias Mailänder
5516291c60 Merge pull request #10441 from abcdefg30/07demolish
Let Tanya try to attack the flame turrets in soviet07
2016-01-13 22:50:41 +01:00
Paul Chote
eebdd6d041 Fix width of server location column. 2016-01-11 23:39:06 +00:00
Oliver Brakmann
e2a4efec29 Merge pull request #10479 from pchote/fix-d2k-moveflash
Disable modifiers on the d2k move flash palette.
2016-01-11 21:56:28 +01:00
Oliver Brakmann
1be9cedc01 Merge pull request #10303 from r34ch/doubles-rebalance
Rebalance doubles.oramap in RA mod
2016-01-11 21:39:53 +01:00
Pavel Penev
75d983c922 Hardcode mod logo and preview image file names
(Revert "Unhardcode mod logo and preview image paths")
2016-01-11 21:16:57 +02:00
Paul Chote
a8ac3a41e7 Disable modifiers on the d2k move flash palette. 2016-01-11 00:25:00 +00:00
Pavel Penev
3722b2848b Change D2k to use the new path syntax with a mod ID prefix
Allows seemless movement between the game's mods directory and the support directory.
NOTE: Rebuilding will create the mod directories in the game's project dir and put the new DLLs there, which may lead to (although swallowed) exceptions when populating the mod dictionary due to repeating keys.
2016-01-10 23:52:10 +02:00
Pavel Penev
a3299d7030 Unhardcode mod logo and preview image paths 2016-01-10 23:52:09 +02:00
Oliver Brakmann
0a413af3eb Merge pull request #10440 from abcdefg30/05aDemolish
Polish the demolition of the prison in allies05a
2016-01-09 22:22:54 +01:00
Oliver Brakmann
2ee3a66b48 Merge pull request #10442 from abcdefg30/06secondary
Add a new secondary objective to the soviet06 missions
2016-01-09 22:13:46 +01:00
Oliver Brakmann
a0d33320a0 Merge pull request #10439 from abcdefg30/sub04a
Disable sub pen and ship yard in soviet04a
2016-01-09 21:41:17 +01:00
Oliver Brakmann
b8667ba968 Merge pull request #10458 from Mailaender/ts-cliffsin
Added Tiberian Sun map Cliffs of Insanity
2016-01-09 21:38:26 +01:00
Oliver Brakmann
2a1bc11133 Merge pull request #10459 from Mailaender/ts-karasjok
Added map Town of Karasjok for Tiberian Sun
2016-01-09 21:23:56 +01:00
abcdefg30
9476889989 Add a new secondary objective to the soviet06 missions 2016-01-09 14:58:36 +01:00
RoosterDragon
bef6f40759 Merge pull request #10392 from Mailaender/d2k-ai-aircraft
Fixed AI bots not building any Carryalls
2016-01-09 11:46:51 +00:00
RoosterDragon
764f5d6bd9 Merge pull request #10236 from teees/ts-air-separation
Set ideal aircraft separation to half of the default value
2016-01-09 11:43:09 +00:00
Matthias Mailänder
715ba32262 add map Town of Karasjok 2016-01-09 08:24:24 +01:00
Matthias Mailänder
1d20203478 add Cliffs of Insanity 2016-01-09 08:11:13 +01:00
teees
b7a3a446e1 Unload passengers on death 2016-01-08 08:50:35 +01:00
Matthias Mailänder
c607c8532f Merge pull request #10443 from Truth99A/TD-BuildPaletteOrder-Change
Changed build palette order of structures for TD
2016-01-07 21:05:32 +01:00
Matthias Mailänder
27eeaf3d41 Merge pull request #10112 from DnAp/PowerTooltip
Closes #6011
2016-01-07 20:57:14 +01:00
abcdefg30
22e071c57f Merge pull request #10152 from teees/ts-aircraft-husks
Added aircraft husks (Tiberian Sun)
2016-01-07 17:36:53 +01:00
teees
e8856a9268 Set ideal separation to a lower value for ts aircraft 2016-01-07 14:50:22 +01:00
teees
5ef93d330a Added aircraft husks 2016-01-07 14:36:22 +01:00
teees
3a83e0cb92 Changes to ts cloaking behaviour to closer resemble the original 2016-01-07 13:44:17 +01:00
teees
f46185b85f Reworked cloaking behaviour 2016-01-07 13:44:16 +01:00
Truth99A
3f156f6dda changed build palette order of sturctures for TD
changed the build palette order so that it follows the tech tree
images of the change + poll can be found at: http://www.sleipnirstuff.com/forum/viewtopic.php?f=82&t=19220&postdays=0&postorder=asc&vote=viewresult
2016-01-07 12:38:50 +11:00
abcdefg30
9db974cfe9 Merge pull request #10406 from Mailaender/d2k-no-ra
Removed the RA mod DLL dependency from D2k
2016-01-06 21:53:09 +01:00
abcdefg30
6fa70134cd Merge pull request #10399 from Mailaender/cnc-no-ra
Removed the RA mod DLL dependency from TD
2016-01-06 21:51:16 +01:00