Commit Graph

361 Commits

Author SHA1 Message Date
Oliver Brakmann
22cd68e8f9 Fix missing infantry in the legacy editor
The editor is looking for actor types that implement ILegacyEditorRender, but infantry units don't anymore since #7638.

This moves ILegacyEditorRender to the root of the Render* inheritance tree, so that all actor types have access to it.
2015-04-27 17:52:14 +02:00
Paul Chote
614f96046c Remove RenderSprites animation keys. 2015-04-27 19:38:23 +12:00
Paul Chote
8b7453070a Include all the relevant palettes in the asset browser. 2015-04-27 19:21:55 +12:00
Paul Chote
098d69f120 Prevent resources from spawning on ramps. 2015-04-27 19:21:12 +12:00
abcdefg30
c4a63eee30 Merge pull request #7875 from penev92/bleed_exposePlayerReferences
Add upgrade rules support for map PlayerReferences
2015-04-26 22:53:42 +02:00
penev92
2402b56da7 Reorganize PlayerReference loading to enable upgrade rules for them.
The PlayerReference definitions are now stored
as raw MiniYamlNodes in the map.
2015-04-26 23:16:20 +03:00
Oliver Brakmann
e7cbd5a41b Merge pull request #7937 from pchote/some-editor-prereqs
A collection of ActorPreview improvements.
2015-04-26 18:46:26 +02:00
penev92
aa57d5f956 Move prone-related logic from DamageWarhead to TakeCover
Add DamageTypes to DamageWarhead and DamageTypeModifiers to TakeCover
2015-04-26 14:29:08 +03:00
Paul Chote
1b31001661 Merge pull request #7974 from Mailaender/ts-hover-wakes
Added the Hovercraft wake animation
2015-04-26 18:50:42 +12:00
Paul Chote
57db20da5d Merge pull request #8028 from RoosterDragon/cache-traits
Cache traits
2015-04-26 18:23:15 +12:00
Paul Chote
8a171bb452 Don’t export certain Init types. 2015-04-26 18:12:21 +12:00
Paul Chote
a2af79ff98 Add support for wall preview neighbours. 2015-04-26 18:12:20 +12:00
Paul Chote
76202a9f6a Fix turret preview z-offsets. 2015-04-26 18:12:20 +12:00
Paul Chote
d5541accda Fix custom palettes in actor previews. 2015-04-26 18:12:20 +12:00
Paul Chote
1256ddc6a6 Account for bibs in ActorPreviews. 2015-04-26 18:12:19 +12:00
Paul Chote
56bf0f36a8 Fix crate actor previews. 2015-04-26 18:12:19 +12:00
Paul Chote
09bad3f0ef Account for damage state in ActorPreviews. 2015-04-26 18:12:19 +12:00
Paul Chote
8f93d7b5d7 Simplify and fix animation glitches. 2015-04-25 22:52:14 +02:00
Matthias Mailänder
8c8b9b1cc3 deprecate RenderBuildingWarFactory 2015-04-25 22:52:14 +02:00
Matthias Mailänder
9a37e77d1a fix the weapon factory door opening animation 2015-04-25 22:52:14 +02:00
Matthias Mailänder
9c20de7d98 readonly and don't sync cosmetic traits 2015-04-25 22:52:14 +02:00
RoosterDragon
fb0cab7481 Cache results of TraitsImplementing calls.
If a class is caching the TraitsImplementing enumerable, instead cache the results of enumerating it to an array. The avoids having to enumerate the sequence each time it is needed.
2015-04-25 20:42:27 +01:00
RoosterDragon
2937a31463 Make IsDisabled a method on Actor.
This allows us to cache the disabled traits, which simplifies life for some callers since we relieve them of having to cache it, as well as improving perf for all IsDisabled calls.
2015-04-25 20:42:26 +01:00
RoosterDragon
500a33b590 Cache some trait lookups that occur frequently. 2015-04-25 20:41:49 +01:00
Oliver Brakmann
a48a878a71 Merge pull request #7983 from pchote/radar-colors
Adjust IRadarSignature to support per-cell colors.
2015-04-25 16:38:28 +02:00
Matthias Mailänder
70db0fa784 add the Hovercraft wake animation 2015-04-25 11:26:59 +02:00
Paul Chote
6b79af4d62 Merge pull request #7957 from Mailaender/ts-powerdown-indicator-palette
Fixed Tiberian Sun building repair and power down indicator palette
2015-04-25 19:50:21 +12:00
Matthias Mailänder
a5f60deedd fix TS repair indicator palette 2015-04-25 09:36:20 +02:00
Paul Chote
69fed6a688 Merge pull request #7865 from Phrohdoh/deploy-to-upgrade
Implement DeployToUpgrade.
2015-04-25 18:11:34 +12:00
Paul Chote
ddc3bd3a1f Merge pull request #7887 from Mailaender/unhardcode-render-sequence
Unhardcoded and self-documented render sequences
2015-04-25 17:35:07 +12:00
Pavel Penev
6d64217769 Merge pull request #7863 from Mailaender/global-palette-effect
Added a global palette effect for day/night lighting
2015-04-25 07:11:01 +03:00
Pavel Penev
f372f0c466 Merge pull request #7726 from Phrohdoh/prevent-eod
Prevent EjectOnDeath.
2015-04-25 07:03:00 +03:00
abcdefg30
1c44f30e2c Fix an issue in EnemyWatcher.cs 2015-04-19 21:48:14 +02:00
Paul Chote
3cfa96e7a6 Fix random country display. 2015-04-20 03:33:46 +12:00
Paul Chote
145f7b28f5 Adjust IRadarSignature to support per-cell colors. 2015-04-19 22:27:47 +12:00
Matthias Mailänder
e8493ab855 fix TS power down palette 2015-04-18 14:11:51 +02:00
Matthias Mailänder
7157cc0a9f unhardcode and self-document render sequences 2015-04-18 08:44:43 +02:00
Taryn Hill
0717ca57ea Implement DeployToUpgrade.
Expose some deploy-related cursors to yaml.
2015-04-13 10:04:03 -05:00
Matthias Mailänder
56405f42ab add a global palette effect for day/night ambient 2015-04-11 12:05:25 +02:00
reaperrr
94c5ef7260 Make JamsMissiles and Hovers classes public 2015-04-09 15:38:49 +02:00
reaperrr
7ddd6aab93 Make helicopters move backwards when target is too close
'Too close' as in closer than weapons' MinRange.
2015-04-08 00:51:24 +02:00
Taryn Hill
2bac9f6c64 Add interface IPreventsEjectOnDeath. 2015-04-07 14:02:27 -05:00
Matthias Mailänder
a8b9026876 fix CS0172 2015-04-05 12:46:41 +02:00
Oliver Brakmann
a3f875b8a8 Merge pull request #7845 from reaperrr/mapcontrol-remove
Removed map control from player statistics for performance reasons
2015-04-04 13:24:07 +02:00
reaperrr
e25247f259 Removes map control from player statistics for performance reasons 2015-04-04 01:38:54 +02:00
Oliver Brakmann
b1d3486561 Expose Plane turn-to-attack delay to yaml 2015-04-04 00:10:06 +02:00
Oliver Brakmann
32ed63727d Revert "Expose Plane turn-to-attack delay to yaml."
This reverts commit 02da41e5c5.
2015-04-03 23:42:35 +02:00
Oliver Brakmann
a8d7140c1a Merge pull request #7815 from Phrohdoh/aircraft-turn-timing
Expose Plane turn-to-attack delay to yaml.
2015-04-03 23:15:41 +02:00
Matthias Mailänder
8494ad0a38 Merge pull request #7834 from RoosterDragon/avoid-preventable-allocations
Avoid preventable allocations
2015-04-03 13:52:46 +02:00
Pavel Penev
cedfe5c0b5 Merge pull request #7734 from RoosterDragon/frozen-lazy-render
Lazily generate frozen actor renderables.
2015-04-03 04:16:19 -07:00