reaperrr
5a596d27c9
Switch RenderNameTag to use SelectionOverlayBounds
2017-11-21 01:00:09 +02:00
reaperrr
be290cfabd
Split Actor.Bounds into RenderBounds and SelectableBounds
...
Additionally, internally renamed VisualBounds to SelectionOverlayBounds to avoid confusion with RenderBounds.
This step was necessary to prevent actors with selectable area smaller than their graphics to be removed too early from ScreenMap even though part of the graphics should still be visible.
RA cruisers were a prime example, but to a lesser extent several other actors were affected as well.
This separation also serves as preparation to determine the final RenderBounds from multiple source bounds later, to fix the remaining ScreenMap issues (building 'bibs', aircraft shadows).
2017-11-21 01:00:09 +02:00
Mustafa Alperen Seki
ca1448c7ba
Add Support of Types for GivesBuildableArea
2017-11-20 16:17:13 +02:00
Paul Chote
4cbc2ee6f3
Add support for custom sell cursors.
2017-11-19 23:40:33 +01:00
Andre Mohren
25968ee66f
Allow WithIdleOverlayInfo to render while the actor is being build.
2017-11-19 16:52:59 +00:00
Forcecore
c762453607
(External)Capturable are now conditional
2017-11-15 13:54:15 +02:00
reaperrr
a7620c97f0
Some internal renamings in power-related traits
2017-11-13 03:09:05 +02:00
reaperrr
917c6884ed
Make WithSpriteBody a pausable trait
...
Allowing to drop the PauseAnimationWhenDisabled property (in favor of using PausOnCondition).
2017-11-13 03:09:05 +02:00
reaperrr
786a0eb07f
Refactor PowerManager and RequiresPower to use conditions
...
Instead of Actor.IsDisabled.
Added INotifyPowerLevelChanged interface to do so as efficiently as possible.
2017-11-13 03:09:05 +02:00
reaperrr
6c02e3f2b7
Refactor CanPowerDown to provide a condition instead of triggering IsDisabled
2017-11-13 03:09:05 +02:00
reaperrr
d602ec6485
Rename SelfReloads to AutoReloads
2017-11-12 19:48:06 +00:00
reaperrr
18c371d702
Changed AmmoCondition to support condition stacking
2017-11-12 19:48:06 +00:00
reaperrr
8b7a71685c
Remove AmmoPool-awareness from Armament
2017-11-12 19:48:06 +00:00
reaperrr
6f95080aa4
Add ReloadAmmoPool and adapt AmmoPool
...
Refactored and simplified Rearm activity.
Uses local Reload now.
Removed AmmoPool.SelfReloads.
2017-11-12 19:48:06 +00:00
Forcecore
ef878c6aeb
Introduced CaptureTypes for TransformOnCapture
2017-11-12 18:14:30 +00:00
Mustafa Alperen Seki
ba50fbba18
Dont show refund text if Sellable: trait is disabled.
2017-11-05 16:22:42 +02:00
Forcecore
4c78a05081
ADD GrantConditionOnAttack Trait
...
Useful for making Gattling weapons (Yuri's Revenge and C&C Generals) or
Boris (RA2) / Natasha (RA3) call for airstrike.
2017-11-04 17:18:24 +01:00
Mustafa Alperen Seki
8914227811
Add ShowTicks to sellable
2017-11-04 17:16:26 +01:00
Paul Chote
d2f0e5ac2d
Replace Allow(Allies|Neutral|Enemies) with ValidStances enum.
2017-11-04 16:08:58 +01:00
Paul Chote
1caf982c1f
Support multiple capture types on Capturable.
2017-11-04 16:08:58 +01:00
Paul Chote
1376ad674e
Remove Player.CanViewActor and .CanTargetActor.
2017-11-03 09:56:00 +01:00
Paul Chote
47634b25f9
Remove IFogVisibilityModifier.
2017-11-03 09:56:00 +01:00
kosti1
6a750d7a65
Added buildradius checkbox to lobby options
2017-11-01 18:18:41 +01:00
Paul Chote
b8326bfead
Fix crash with AllyRepair on dead structures.
2017-10-26 18:48:41 +03:00
Paul Chote
5f9a67ed87
Migrate frozen actors from ExtraData to Target.
2017-10-26 18:48:41 +03:00
Andre Mohren
aadfcdac66
Allow RallyPoint cursor to be defined via Yaml
2017-10-26 01:28:42 +02:00
abcdefg30
cba7c60f6f
Fix the "Unit Ready" notification playing erroneously
2017-10-25 22:43:35 +01:00
Paul Chote
cfac996438
Generalize factionVariant to a TypeDictionary of Inits.
2017-10-22 03:32:21 +03:00
Matthias Mailänder
ebb982789e
Display a blocked cursor when not allowed to MoveIntoShroud.
2017-10-16 14:38:26 +02:00
Matthias Mailänder
b27289106d
Don't give an okay voice when not allowed to move into shroud.
2017-10-16 14:38:26 +02:00
Matthias Mailänder
d4340fa799
Add a MoveIntoShroud switch to AttackMove as well.
2017-10-16 14:38:26 +02:00
Paul Chote
d967c564a2
Remove TargetActor and TargetLocation from order issuing.
2017-10-15 19:07:46 +02:00
Raffael Zica
f2b5040d30
YamlException is now thrown if WeaponInfo can not be found in Ruleset.Weapons
...
Removed invalid spacing at the end of the line 36 in ThrowsShrapnel
Prevented NullReferenceException in cases where weapons aren't optional
2017-10-14 14:12:08 +02:00
abcdefg30
7ccf41be77
Catch invalid default game speeds while loading the ruleset
2017-10-14 13:54:26 +02:00
gkaretka
97e0f17e15
Add notification sound when paratroopers land
2017-10-14 13:40:53 +02:00
abcdefg30
a8c6d12c43
Fix the map editor crashing on invisible actors
2017-10-14 13:35:33 +02:00
abcdefg30
24c293e821
Fix Cargo force-requiring ConditionManager
2017-10-08 13:32:22 +01:00
reaperrr
8533debc44
Require explicit INotifyAddedToWorld and INotifyRemovedFromWorld
2017-10-07 10:17:11 +02:00
reaperrr
8ec3d5ddb8
Require explicit ITickRender
2017-10-07 10:17:11 +02:00
reaperrr
0ce3c113e1
Require explicit ITargetableCells
2017-10-07 10:17:11 +02:00
reaperrr
7ca9679b34
Require explicit ITargetablePositions
2017-10-07 10:17:11 +02:00
Mustafa Alperen Seki
2102fad2b5
Add CashTricklerBar
2017-10-06 23:02:02 +02:00
Mustafa Alperen Seki
a4b0bf5c52
Make CashTrickler PausableConditional
2017-10-06 23:02:02 +02:00
Mustafa Alperen Seki
049096efd7
Add InitialDelay to CashTrickler
2017-10-06 23:02:02 +02:00
Andre Mohren
4e45747b41
Game no longer crashes if no ResourceLayer is used.
2017-10-06 21:57:57 +02:00
Matthias Mailänder
370ee0841f
Add GrantsCondition to KillsSelf
2017-10-06 18:14:17 +02:00
Forcecore
18c6fe09db
Sound and Animation support for DonateCash
2017-10-06 18:07:18 +02:00
Paul Chote
4aee91cd47
Remove unnecessary trait lookups when cloaking/decloaking.
2017-10-06 10:09:12 +02:00
Paul Chote
64afe4cfde
Display (attack|assault)move-blocked cursor outside map bounds.
...
This makes them consistent with the regular move order.
2017-09-30 14:33:40 +02:00
Paul Chote
e93183f0eb
Clamp out of bounds attack-move orders to the edge of the map.
2017-09-30 14:33:40 +02:00