Commit Graph

1434 Commits

Author SHA1 Message Date
abcdefg30
887cd61943 Merge pull request #11924 from obrakmann/fix11922_addsmudge-nre
Fix NRE in SmudgeLayer.AddSmudge
2016-08-31 14:32:58 +02:00
Matthias Mailänder
b38c1a8623 Merge pull request #11923 from abc013/ResourceSiloWarning
Doubled AdviceInterval of ResourceStorageWarning.
2016-08-30 23:08:27 +02:00
Oliver Brakmann
93dba184a1 Add comments explaining the special meaning of a null Sprite in SmudgeLayer 2016-08-30 20:12:46 +02:00
Oliver Brakmann
0ebf2d00b0 Fix NRE in SmudgeLayer.AddSmudge 2016-08-30 19:17:49 +02:00
abc013
f70d6c55bd Doubled AdviceInterval of ResourceStorageWarning. 2016-08-30 17:19:31 +02:00
abcdefg30
e156559ae1 Merge pull request #11441 from Mailaender/lowbridges
Added static Tiberian Sun low bridges
2016-08-29 20:53:04 +02:00
abcdefg30
9ddfe23e17 Merge pull request #11900 from abc013/DeflectionStances
Replaced the AlliedMissiles boolean on JamsMissiles by a Stances field
2016-08-29 15:03:08 +02:00
Paul Chote
f2b847607c Merge pull request #11899 from GraionDilach/gen2-crate-paradrop
Do not apply the cell's Z offset twice during crate positioning.
2016-08-29 13:47:41 +01:00
Matthias Mailänder
4717d3e190 Add static Tiberian Sun low bridges. 2016-08-29 13:29:01 +01:00
abc013
c2f21a21ef Replaced the AlliedMissiles boolean on JamsMissiles by a Stances field (DeflectionStances). 2016-08-27 22:09:12 +02:00
reaperrr
7ac5a25ce6 Merge pull request #11882 from pchote/remove-astar-overlay
Remove legacy A* visualisation.
2016-08-27 18:37:23 +02:00
reaperrr
058bb49dff Merge pull request #11501 from pchote/tibsun-carryall
Add Carryall/Carryable traits, merging ts and d2k carryall behavior
2016-08-27 18:31:56 +02:00
Paul Chote
c092c93401 Add depth buffer support to debug overlays. 2016-08-27 15:43:20 +01:00
Paul Chote
50da18cd22 Add depth buffer support to RgbaColorRenderer. 2016-08-27 15:43:20 +01:00
Paul Chote
1ae86f34f8 Overhaul Carryall behaviour, adding support for manual control. 2016-08-27 15:42:18 +01:00
Zimmermann Gyula
ecc65e4fe4 Do not apply the cell's Z offset twice during crate positioning. 2016-08-27 16:41:52 +02:00
Paul Chote
32eb98c17d Remove legacy A* visualisation. 2016-08-26 16:55:46 +01:00
Oliver Brakmann
b3c4ecd7c5 Merge pull request #11881 from reaperrr/always-visible-bar
Allow keeping empty selection bars visible
2016-08-26 14:56:29 +02:00
reaperrr
e811612c06 Merge pull request #11862 from pchote/effects-above-shroud
Draw tactical overlays (beacons, rallypoints, text overlays, order generators) above the shroud.
2016-08-25 20:47:08 +02:00
reaperrr
39034b0de9 Allow keeping empty selection bars visible 2016-08-25 20:40:56 +02:00
abcdefg30
fab807b86e Merge pull request #11830 from reaperrr/overridable-Armament
Make Armament as overridable as possible
2016-08-23 23:24:32 +02:00
Paul Chote
d2f5fe7380 Draw order generator renderables above the shroud. 2016-08-22 20:27:59 +01:00
Paul Chote
ed349f9086 Remove health bar rendering duplication. 2016-08-22 20:27:58 +01:00
Paul Chote
11805bb567 Rename and tweak post-render interfaces. 2016-08-22 17:40:05 +01:00
Zimmermann Gyula
d9f38d57a7 Cache the *Infos in ProductionItem. 2016-08-21 12:05:34 +02:00
Zimmermann Gyula
f80ac6e5c0 Rename ProductionQueue.BuildSpeed and change it's default value. 2016-08-21 12:05:34 +02:00
Zimmermann Gyula
de10cb22e8 Shift CustomBuildTimeValue to Buildable. 2016-08-21 12:05:32 +02:00
abcdefg30
e8084daad7 Cache the SupportPowerManager in SupportPowerChargeBar 2016-08-21 01:19:53 +02:00
abcdefg30
e9e49a5d02 Add a new DisplayStances field to SupportPowerChargeBarInfo
other
2016-08-21 01:19:52 +02:00
abcdefg30
9848c98750 Replace the DisplayTimer field with a DisplayTimerStances field in SupportPowerInfo 2016-08-21 01:19:51 +02:00
reaperrr
19c3e7c9e3 Make Armament elements as overridable as possible
To allow downstream mods to ship customised Armament-derivatives.
2016-08-20 15:06:18 +02:00
reaperrr
b174d00be9 Rename UpgradeOnDamage to UpgradeOnDamageState
The trait works for 'Undamaged' as well and no longer requires a damage state change to trigger either, so this trait name is more accurate.
2016-08-18 23:31:27 +02:00
reaperrr
7f8607e85b Fix granting upgrades on initial damage state
Previously the upgrade(s) would only be granted when the damage state changed, regardless of whether the initial DamageState was already valid.
This prevented the trait from working on Undamaged actors that had just been created, for example.
2016-08-18 23:31:27 +02:00
reaperrr
adeb2a19ca Remove bogus 'OrDefault' from UpgradeOnDamage
UpgradeManager is required anyway, so this was redundant.
2016-08-18 23:31:27 +02:00
reaperrr
0ec9725c2a Merge pull request #11621 from Mailaender/text-controlgroup
Added With*ControlGroup
2016-08-18 21:25:32 +02:00
Paul Chote
a9bfa553fc Support multiple death animation variants. 2016-08-12 20:58:14 +01:00
Matthias Mailänder
fac58bd461 Replace pixel perfect offset with reference point definitions. 2016-08-12 21:54:51 +02:00
Matthias Mailänder
725a5d44eb Split SelectionDecorations control group rendering into
WithSpriteControlGroup and WithTextControlGroup
2016-08-12 21:53:16 +02:00
reaperrr
bd4f7db711 Fix UpgradeOnDamage trait description
The old desc is bogus copy-pasta.
2016-08-11 11:31:18 +02:00
Paul Chote
de85a76c90 Merge pull request #11586 from GraionDilach/selfheal-revamp
Expand SelfHealing.
2016-08-06 17:31:46 +01:00
reaperrr
1e43554559 Allow to customize which terrain types are considered water by Parachutable 2016-07-30 13:19:32 +02:00
reaperrr
3e217c2192 Allow to customize which terrain types are considered water by WithCrateBody 2016-07-30 13:19:32 +02:00
Oliver Brakmann
2eede9493e Merge pull request #11699 from Mailaender/unhardcode-capture-cursors
Unhardcoded the capture mouse cursor sequences
2016-07-27 21:36:33 +02:00
Matthias Mailänder
78848a67a0 Merge pull request #11721 from obrakmann/fix11660_smudge-removal-desync
Fix desync when removing smudges
2016-07-27 14:36:29 +02:00
Zimmermann Gyula
3ac5e0b455 Add a damagetype option to SelfHealing. 2016-07-27 14:14:35 +02:00
Zimmermann Gyula
4fa70cdfb9 Add a percentage option to SelfHealing. 2016-07-27 14:14:34 +02:00
Zimmermann Gyula
4812bc2997 Change DamagedByTerrain to apply the damage directly.
Instead of relying on a weapon.
2016-07-26 23:18:53 +02:00
Oliver Brakmann
30cf8c204b Fix desync when removing smudges
The cause of the crash was that the `RemoveSmudge` method only invokes `SharedRandom` in the else-branch of an if condition that is only taken when the `RenderPlayer` has fog visibility on the location (locations the `RenderPlayer` can see get removed from `dirty` in `TickRender`).

To add insult to injury, the `Type` field does not even need to get set since we are only using the `Sprite` field's `null` value as a marker to be picked up by the `TickRender` method. The `Type` field is only ever used twice in `AddSmudge`, in a branch of an if-condition that will not be taken when the `Sprite` field is null, which we set explicitly. The same holds true for the `Depth` field.
2016-07-26 21:46:18 +02:00
abcdefg30
4ed2c53b1a Fix the Desc of MapOptionsInfo 2016-07-24 15:34:21 +02:00
Matthias Mailänder
da509d6394 Unhardcode the capture cursors. 2016-07-23 23:50:02 +02:00