Commit Graph

3319 Commits

Author SHA1 Message Date
Paul Chote
5719e62c2c Convert AttackSwallow to conditions. 2016-12-13 19:30:40 +00:00
Paul Chote
29d7d42638 Convert UpgradeOnTerrain to conditions. 2016-12-13 19:30:40 +00:00
Paul Chote
f9791bbc1d Convert UpgradeOnMovement to conditions. 2016-12-13 19:30:39 +00:00
Paul Chote
b9bc6eba16 Convert UpgradeOnDamageState to conditions. 2016-12-13 19:30:39 +00:00
Paul Chote
e0583af663 Convert PrimaryBuilding to conditions. 2016-12-13 19:30:39 +00:00
Paul Chote
bcb3d52eb0 Convert Parachutable to conditions. 2016-12-13 19:30:38 +00:00
Paul Chote
a846e484c7 Convert Disguise to conditions. 2016-12-13 19:30:38 +00:00
Paul Chote
04637a305a Convert Cloak to conditions. 2016-12-13 19:30:37 +00:00
Paul Chote
60cd12874e Convert Aircraft to conditions. 2016-12-13 19:30:37 +00:00
Paul Chote
f14d770363 Add Cargo.LoadedCondition. 2016-12-12 19:43:58 +00:00
Paul Chote
45af024b15 Convert Cargo to conditions. 2016-12-12 19:43:57 +00:00
Paul Chote
32f0d570bf Rework UpgradeActorsNear -> ProximityExternalCondition. 2016-12-12 14:28:54 +00:00
Paul Chote
ea7ad2e337 Migrate lua upgrades to conditions. 2016-12-11 00:40:14 +00:00
Oliver Brakmann
37394b6269 Merge pull request #12411 from pchote/fix-multiplesight-crash
Fix crash when actors with multiple RevealsShroud target a dead frozen actor.
2016-12-10 20:56:08 +01:00
reaperrr
b7f746d711 Remove WithBuildingExplosion
Explodes can now do the same and then some, and WBE uses a DelayedAction
which blocks savegames.
2016-12-10 13:47:51 +01:00
reaperrr
a0934418cf Add support for footprint explosions to Explodes 2016-12-10 13:45:12 +01:00
reaperrr
2d194b077d Make some Explodes property descs a bit more precise 2016-12-10 13:45:12 +01:00
reaperrr
1b3884de23 Make Explodes implement interfaces explicitly 2016-12-10 13:45:12 +01:00
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
1506a3c26f Fix crash with multiple RevealsShrouds targeting dead frozen actor. 2016-11-21 22:33:35 +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