Commit Graph

3300 Commits

Author SHA1 Message Date
reaperrr
d9d1fe2e73 Move VisibilityType enum to TraitsInterfaces
VisibilityTypes are used by several other traits as well, so it makes more sense to move it to a common, shared location.
2016-12-10 13:45:12 +01:00
Paul Chote
73a0f470c8 Implement TS bridge rendering. 2016-12-10 11:52:05 +00:00
Paul Chote
842e004ec5 Add a RenderSprites.UnnormalizeSequence helper. 2016-12-10 11:52:05 +00:00
Paul Chote
69e3c538d9 Implement ground-level bridge destruction and repair. 2016-12-10 11:52:04 +00:00
Paul Chote
0bc087f7bd Rename BridgeLayer to LegacyBridgeLayer. 2016-12-10 11:36:39 +00:00
Paul Chote
a5549d3944 Rename BridgeHut to LegacyBridgeHut. 2016-12-10 11:35:29 +00:00
Paul Chote
e2322c9c53 Merge pull request #12406 from pchote/external-conditions
Upgrades overhaul part 3: Timed, external, and stacked conditions.
2016-12-09 23:45:14 +00:00
Oliver Brakmann
4b61a52b3a Merge pull request #12434 from reaperrr/mcv-spawn-facing
Make MP start units facings customizable
2016-12-09 21:43:52 +01:00
Paul Chote
1153cd2f7c Reset slot configuration when all players leave a dedicated server. 2016-12-08 21:06:24 +00:00
Paul Chote
35780cadd0 Fix missing base method call in Carryable. 2016-12-06 17:21:15 +00:00
Paul Chote
da6fd74881 Add support for stacked condition bonuses. 2016-12-06 17:21:14 +00:00
Paul Chote
ac4f89ce51 Add upgrade rules. 2016-12-06 17:21:13 +00:00
Paul Chote
60e45b9eb7 Extract RenameNodeKey helper. 2016-12-06 17:21:13 +00:00
Paul Chote
6e29dfecfe Port GrantUpgradeCrateAction to GrantExternalConditionCrateAction. 2016-12-06 17:21:13 +00:00
Paul Chote
764401be10 Port GrantUpgradeWarhead to GrantExternalConditionWarhead. 2016-12-06 17:21:13 +00:00
Paul Chote
f274522083 Port GrantUpgradePower to GrantExternalConditionPower. 2016-12-06 17:21:12 +00:00
Paul Chote
6f5c4cf969 Rename TimedUpgradeBar to TimedConditionBar. 2016-12-06 17:21:12 +00:00
Paul Chote
a692c1e761 Rework timed conditions. 2016-12-06 17:21:12 +00:00
Paul Chote
f934a4e2b7 Add an external condition whitelist. 2016-12-06 17:21:12 +00:00
Paul Chote
fe8f2acd62 Remove hardcoded default carryable conditions. 2016-12-01 20:48:24 +00:00
Paul Chote
966fad7af3 Add upgrade rules and update d2k. 2016-11-30 19:24:44 +00:00
Paul Chote
2dc70146c8 Replace Upgrades with Conditions in Carryable. 2016-11-30 19:24:43 +00:00
Paul Chote
dc7fa14992 Add GrantCondition trait. 2016-11-30 19:24:43 +00:00
reaperrr
848cf19ba8 Merge pull request #12381 from pchote/upgrade-conditions
Upgrades overhaul part 1: EnabledCondition
2016-11-30 19:42:34 +01:00
reaperrr
5a8df27096 Make MP start units facing customizable
There might be modders or mappers who prefer different initial facing settings than the hardcoded ones.
2016-11-27 18:40:25 +01:00
reaperrr
c45c51f95d Merge pull request #12431 from pchote/heightmap-cliff-blocking
Add CliffBackImpassabilityLayer to TS.
2016-11-27 13:52:04 +01:00
Paul Chote
b1f99dd601 Add GroundPosition VisibilityType. 2016-11-26 21:10:44 +00:00
Paul Chote
ef8a7a535d Fix string comparison in CheckRevealFootprint. 2016-11-26 21:10:28 +00:00
Paul Chote
7e428d2c91 Add CliffBackImpassabilityLayer to TS. 2016-11-26 20:56:18 +00:00
Paul Chote
0ba0470390 Remove upgrades lint check. 2016-11-20 13:55:47 +00:00
Paul Chote
3f0b33992c Rewrite UpgradeManager implementation to suit conditions. 2016-11-20 13:55:47 +00:00
Paul Chote
05187f5828 Remove legacy UpgradeTypes consumer code. 2016-11-20 13:38:41 +00:00
Paul Chote
326cc0bf5b Add upgrade rule for migrating UpgradeTypes to RequiresCondition. 2016-11-19 17:19:27 +00:00
Paul Chote
5fbdd78f41 Add an RequiresCondition field to UpgradeableMultiplierTrait. 2016-11-19 17:19:26 +00:00
Paul Chote
5192c27199 Add an RequiresCondition field to UpgradeableTrait. 2016-11-19 17:19:26 +00:00
Paul Chote
1cc7944437 Add FieldLoader and linter support for BooleanExpression. 2016-11-19 17:19:25 +00:00
Paul Chote
23f4ae5027 Replace UpgradeMinEnabledLevel checks with an EnabledByDefault shim. 2016-11-19 17:19:25 +00:00
reaperrr
c4b5b745ef Merge pull request #12307 from pchote/passive-visibility
Add plumbing for improved RA gap generator behaviour.
2016-11-18 14:34:35 +01:00
reaperrr
56fdfb1ec8 Merge pull request #12370 from pchote/heightmap-shroud-reveal
Implement heightmap-visibility blocking
2016-11-18 14:23:53 +01:00
reaperrr
f550c3b762 Merge pull request #12315 from obrakmann/activities-pt1
Activities re-write, part 1 (aka the boring bits)
2016-11-18 13:52:06 +01:00
Oliver Brakmann
fd22b19183 Use consistent spelling of 'interrupt[a|i]ble' 2016-11-13 15:50:22 +01:00
reaperrr
0479b7ffb5 Merge pull request #12341 from reaperrr/no-overlay-delayedaction
Remove hardcoded buildComplete delay in some overlays
2016-11-13 13:24:42 +01:00
reaperrr
0c78527ae8 Merge pull request #12354 from pchote/fix-smudge-out-of-bounds
Add map bounds checks to TerrainSpriteLayer and SmudgeLayer.
2016-11-13 13:08:51 +01:00
Paul Chote
d68c705512 Block actor sight above cliffs. 2016-11-11 17:46:53 +00:00
reaperrr
7ba0c22346 Merge pull request #12096 from pchote/game-timer-tooltip
Show replay percentage as a tooltip.
2016-11-06 16:59:07 +01:00
Paul Chote
983d8ac39e Add passive visibility type. 2016-11-06 15:40:22 +00:00
Paul Chote
fdac5a6d8a Rework internal shroud plumbing. 2016-11-06 15:40:22 +00:00
reaperrr
162fef3da1 Fix style nit 2016-11-05 18:54:41 +01:00
Paul Chote
e187b985fe Prevent smudges from spawning in bogus cells. 2016-11-05 17:45:27 +00:00
reaperrr
e8027a6fdf Remove hardcoded buildComplete delay in some overlays
There certainly was and possibly still is some issue this was trying to
work around, but unless it's a deal-breaker, we should rather try to fix that
issue directly instead of keeping some uncommented magical work-around.
2016-11-02 22:01:45 +01:00