Paul Chote
09d8aafddf
Add a lint test for audio notifications.
...
Only traits are linted - the UI still hardcodes
too many audio references for this to be worthwhile.
2018-09-26 13:57:05 +02:00
Andre Mohren
a68ea0fe2d
RepairsUnits notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
091f660dc7
Extracted Repairing notification to RepairableBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
d7f81d4a20
Extracted Win and Lose and Leave notifications MissionObjectives.
2018-09-24 22:43:14 +02:00
Andre Mohren
fac758f38e
ProductionQueue notifications now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
c2b1a5f4e0
Extracted BuildingCannotPlaceAudio to PlaceBuilding.
2018-09-24 22:43:14 +02:00
Andre Mohren
8834cee13c
PlaceBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
7057e32902
PowerManager notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
90c2249317
PrimaryBuilding notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
cf84e6f8d5
GainsExperience notification now optional.
2018-09-24 22:43:14 +02:00
Andre Mohren
e353ff326e
Extracted CashTickUp and CashTickDown to PlayerResources.
2018-09-24 22:43:14 +02:00
reaperrr
bb7c19ad02
Fix spawning 1 crate too much if maximum == minimum
...
If Maximum == Minimum but 'crates' < Maximum, the formula would simply return min + 1 regardless of max being identical to min.
Only adding 1 more crate if Maximum is higher than Minimum fixes that.
2018-09-24 22:06:21 +02:00
reaperrr
1098804f9b
Make WithSpriteBody always use Animation.PlayRepeating
...
... for looped sequences.
PlayCustomAnimationRepeating looping back into itself via Action instead of simply using Animation.PlayRepeating is weird, and in fact causes a slight 'desync' in animation speed with Animation.PlayRepeating in at least one downstream mod.
2018-09-24 22:06:10 +02:00
Ectras
d9946f63e4
Renamed EditorTilesetFilter to MapEditorData and added an update rule
2018-09-22 15:12:15 +02:00
Matthias Mailänder
cb05d8a98d
Fix CustomTerrainDebugOverlay not rendered in isometric mods
2018-09-19 20:04:41 +02:00
Andre Mohren
ef7c49c116
Allow mods to determine associated SuperPower from SelectGenericPowerTarget
2018-09-12 15:11:18 +02:00
Paul Chote
16ff9fbc8e
Fix menu/exit fade effect for paused replays.
2018-09-11 23:29:23 +02:00
reaperrr
bbf6e38faa
Always leave trails when no TerrainTypes are defined
...
Requiring terrain types is bogus, as it unnecessarily complicates using this trait for airborne units.
2018-09-10 19:45:02 +02:00
Paul Chote
0a507f3d33
Allow deploy orders to be queued from the command bar.
2018-09-10 19:42:24 +02:00
Paul Chote
3abc85b588
Add a Desc for Buildable.BuildPaletteOrder.
...
Also removes the long-outdated UI-fluff comment.
2018-09-10 11:27:50 +02:00
Chris Forbes
67d9ad6a93
Convert cloak types to use BitSet
...
Fixes #15412
2018-08-20 01:11:43 +02:00
Mustafa Alperen Seki
6df243f79b
Fix GivesExperienceModifier not working
2018-08-16 19:44:08 +02:00
Mustafa Alperen Seki
1977e64e07
Fix Cargo>EjectOnDeath crash with multipile INotifyBlockingMove
2018-08-14 23:00:08 +02:00
reaperrr
c983dda077
Fix husks not updating targetable positions on teleport
...
This should have checked for IPositionableInfo to begin with.
Husk already implements IPositionable, so implementing *Info as well
makes sense, even if it only serves to exclude it from
ITargetablePositions caching for now.
2018-08-14 17:26:36 +01:00
reaperrr
ba231636f5
Minor RepairsUnits style fix
2018-08-12 14:36:59 +01:00
reaperrr
46cee82027
Move RepairsUnits out of Building folder
2018-08-12 14:36:59 +01:00
reaperrr
77d03ce1e1
Replace Airfield/Helipad references with generic Resupplier in RTB activities
...
More generalization to prepare for possible future activity merger.
2018-08-12 14:24:21 +02:00
Paul Chote
1b1521812c
Add EnabledByDefault check to WithInfantryBody.
2018-08-11 14:30:01 +02:00
Paul Chote
d110a21bfe
Add missing EnabledByDefault checks to WithSpriteBodyInfo subclasses.
2018-08-11 14:30:01 +02:00
Zimmermann Gyula
813e53f823
Fix deathsounds regression.
2018-07-29 09:13:53 -07:00
Chris Forbes
51e000599a
Convert crushclasses to bitset
2018-07-28 21:28:46 +01:00
Mustafa Alperen Seki
82f6c2b862
Make SpawnActorsOnSell conditional
2018-07-28 21:20:28 +01:00
Mustafa Alperen Seki
ea2794b417
Make EjectOnDeath conditional
2018-07-28 21:20:28 +01:00
reaperrr
0bff9e9119
Make some Attack* methods/classes public
...
Instead of protected, because some 3rd-party mods rely on these being
public.
2018-07-28 21:35:42 +02:00
Chris Forbes
d4ef841678
Convert masses of HashSet<string> to BitSet<DamageType>
2018-07-28 20:12:42 +01:00
Zimmermann Gyula
51a99cb43c
Special-case the player actor on GCOnBotOwner.
2018-07-28 17:59:34 +02:00
matjaeck
d33ac0c838
Fix tooltip descriptions for spectators.
2018-07-28 17:49:42 +02:00
Andre Mohren
be2c41d51c
Added PlaceBuildingInit.
2018-07-28 17:38:46 +02:00
Mustafa Alperen Seki
5a780577b9
Add Desc() field to GrantConditionOnDeployInfo.
2018-07-28 16:32:37 +01:00
Zimmermann Gyula
f07460edd2
Convert GrantConditionOnDeploy to a pausableconditional trait.
...
Also remove CanUndeploy as pausing achieves the same effect.
2018-07-28 16:32:37 +01:00
Mustafa Alperen Seki
f05fc0cae8
Add WithProductionOverlay>Queues
2018-07-28 16:17:47 +01:00
Andre Mohren
a57cfc7d40
Fixed ProductionItem costs calculation.
2018-07-26 14:01:37 +00:00
Andre Mohren
81e1b39bb9
Made PowerManager optional for traits who do not require it.
2018-07-26 14:02:42 +01:00
Chris Forbes
dcf93203ea
Get rid of unit pathing delay completely
2018-07-26 13:19:31 +01:00
Zimmermann Gyula
e9c3927b0c
Filter Explodes->DeathTypes when Threshold is above 0.
2018-07-26 13:10:50 +01:00
Mustafa Alperen Seki
6073de52ca
Add DamageSource to Explodes
2018-07-26 13:04:59 +01:00
reaperrr
d07bd029db
Change Parachutable.GroundCorpseSequence default to null
...
Missions and 3rd-party mods may paradrop vehicles which normally don't need a corpse sequence (because they already have Explodes), so the old infantry-centric internal default can cause more harm than good.
2018-07-26 13:01:09 +01:00
reaperrr
42d5799f4e
Parachutable.cs readability improvements
2018-07-26 13:01:09 +01:00
reaperrr
a30727b155
Make disabling parachute corpse sequences easier
2018-07-26 13:01:09 +01:00
Mustafa Alperen Seki
6b1451f7ca
Remove GivesBounty>LevelMod
2018-07-26 12:53:33 +01:00