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
RoosterDragon
c98df23b57
Create FrozenActor.RefreshState method for better encapsulation and reuse of this logic.
2016-01-17 00:13:06 +00:00
RoosterDragon
3026bdcea5
Implement equality on TraitPair.
2016-01-17 00:13:06 +00:00
Oliver Brakmann
addbe6d564
Merge pull request #10472 from Mailaender/guard-refactor
...
Cleaned up the Guard code
2016-01-16 23:09:19 +01: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
Oliver Brakmann
9de239e246
Merge pull request #10371 from Mailaender/demotruck-detonates
...
Generalized the DemoTruck trait for Tiberian Sun
2016-01-16 19:46:37 +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
Matthias Mailänder
56313e6d8a
Merge pull request #10525 from pchote/split-package-interfaces
...
Split IPackage into IReadOnlyPackage and IReadWritePackage
2016-01-16 14:19:54 +01:00
Matthias Mailänder
5fc6af6566
Merge pull request #10493 from pchote/fix-menu-hover
...
Update button mouseover when switching menus.
2016-01-16 14:10:24 +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
abcdefg30
2ccf142ce9
Merge pull request #10492 from pchote/fix-mission-order
...
Sort missions by their order in missions.yaml
2016-01-16 13:26:26 +01:00
abcdefg30
aa23928e7b
Merge pull request #10514 from pchote/blink-install-button
...
Blink install map button.
2016-01-16 13:16:31 +01:00
abcdefg30
c701ed6a5c
Merge pull request #10510 from pchote/cancel-pbog-on-death
...
Cancel PBOG on death
2016-01-16 12:17:39 +01:00
abcdefg30
ee1cf5ff87
Merge pull request #10523 from pchote/fix-pbog-gameover-crash
...
Fix a crash if an order generator is active when a game ends.
2016-01-16 12:04:45 +01:00
Paul Chote
bdb8fd48ca
Remove legacy package creation code.
2016-01-16 10:37:21 +00:00
Paul Chote
f8d0b97e8d
Split IPackage into IReadOnlyPackage and IReadWritePackage.
2016-01-16 10:37:21 +00: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
Paul Chote
2fb0af60d1
Merge pull request #10482 from Mailaender/ra2-wav
...
Fixed crashes with Red Alert 2 wav files
2016-01-15 23:05:13 +00:00
Paul Chote
24570f0bdf
Merge pull request #10490 from penev92/packages
...
Some renaming from "folder" to "package"
2016-01-15 22:40:02 +00:00
Paul Chote
1cb93b52c0
Cancel PBOG when placement becomes invalid.
2016-01-15 21:26:32 +00:00
Paul Chote
99ba155a16
Fix a crash if an order generator is active when a game ends.
2016-01-15 21:13:22 +00:00
Paul Chote
054be44563
Cache production queue on PBOG.
2016-01-15 20:59:57 +00:00
Paul Chote
44b1402080
Update button mouseover when switching menus.
2016-01-15 20:57:39 +00:00
Paul Chote
4bf887a905
Extract a helper method for switching menu types.
2016-01-15 20:57:39 +00: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
RoosterDragon
db520a8560
Merge pull request #10476 from pchote/sound-device-labels
...
Truncate SoundDevice label at the UI level.
2016-01-15 19:53:42 +00:00
Matthias Mailänder
047f71e5ec
Reset stream position after TryParseSound failures
2016-01-15 18:29:25 +01:00
Matthias Mailänder
d578ea4094
Implement MergedStream.Position properly
2016-01-15 18:29:25 +01:00
Matthias Mailänder
dc62dcd56d
Avoid the bracket syntax everywhere
2016-01-15 18:29:25 +01:00
Matthias Mailänder
71e8e20987
Report unknown codecs when failing
2016-01-15 18:29:11 +01:00
Paul Chote
1896e707e6
Fix deployed tick tank turret.
2016-01-15 17:13:59 +00:00
Matthias Mailänder
fb39aed29f
Return earlier on error in AudLoader
2016-01-15 18:11:22 +01:00
Matthias Mailänder
a01bc02390
Log sound parsing errors in sound.log
2016-01-15 18:10:52 +01:00
Paul Chote
18b3595894
Fix nod laser turret.
2016-01-15 17:08:45 +00:00
Paul Chote
d235dad754
Fix voxel barrel rendering.
2016-01-15 17:05:00 +00:00
Paul Chote
88e15d9100
Fix voxel z offsets.
2016-01-15 17:04:19 +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
Pavel Penev
e3f5697f7e
Some more renaming from "folder" to "package"
2016-01-14 22:08:49 +02:00
Oliver Brakmann
da4f04acfb
Merge pull request #10509 from pchote/cancel-pbog-on-menu
...
Cancel custom input modes when opening the menu.
2016-01-14 20:29:30 +01:00
abcdefg30
3128bec301
Merge pull request #10512 from pchote/disable-line-build
...
Use shift to disable line building.
2016-01-14 20:18:26 +01:00
Oliver Brakmann
4d3918f6de
Merge pull request #10511 from pchote/disable-slot-admin-when-empty
...
Disable slot admin dropdown when empty.
2016-01-14 20:11:08 +01:00
reaperrr
4c737bccd5
Re-compress some D2k SHPs
2016-01-14 20:10:31 +01:00