RoosterDragon
d4135d608e
Fix IDE0039
2023-02-27 10:09:11 +01:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
abcdefg30
6a31b1f9f3
Update the copyright header year
2022-05-28 00:35:10 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Paul Chote
82a9809192
Remove RenderSprites.Scale.
2021-01-21 18:22:11 +01:00
RoosterDragon
bb116034c7
Avoid or reduce LINQ allocations required in various areas.
2020-10-17 23:48:48 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
Paul Chote
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
b856613194
Add ISingleInstanceInit interface.
...
Inits that are logically singletons (e.g. actor
location or owner) should implement this interface
to avoid runtime inconsistencies.
Duplicate instances are rejected at init-time,
allowing simpler queries when they are used.
2020-06-19 17:57:56 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
fe58ed1283
Animation facing -> WAngle.
2020-05-09 10:20:23 -05:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
78a70be0d4
Fix and enable SA1133, SA1134 style rules.
2019-05-24 10:47:57 +02:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
14607f55c5
Replace INotifyBuildComplete in render traits with conditions.
2018-10-07 19:29:34 +02:00
Andre Mohren
28623ce54c
Allow usage of different palette for WithSpriteTurret
2018-09-29 19:47:47 +02:00
reaperrr
79c78090d1
Remove WithSpriteTurret.AimSequence
...
We can now use WithTurretAimAnimation instead.
2018-03-09 19:28:29 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
b898b5001a
Rename AttackBase.IsAttacking to IsAiming to make its uses and assumptions clear.
2017-11-26 15:58:00 +01:00
Andre Mohren
800f6adc21
Made WithSpriteTurret.TurretOffset protected virtual to be overridden by mod traits.
2017-09-22 13:29:15 +02:00
reaperrr
90a4fe7ca1
Resume looping default WithSpriteTurret.Sequence after custom anim
...
It doesn't really make sense not to, and the only trait using PlayCustomAnimation previously did this manually anyway.
2017-08-23 12:34:00 +02:00
Andre Mohren
9b22f0e11a
Support attack animation for turrets via new WithTurretedAttackAnimation trait.
2017-04-17 15:34:45 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
Paul Chote
268ed016ab
Rename UpgradableTrait to ConditionalTrait.
2016-12-23 23:28:34 +00:00
Paul Chote
23f4ae5027
Replace UpgradeMinEnabledLevel checks with an EnabledByDefault shim.
2016-11-19 17:19:25 +00:00
reaperrr
61779bf02a
Make WithSpriteTurret ITick implementation explicit
2016-10-30 19:17:39 +01:00
reaperrr
77a134da91
Move INotifyDamageStateChanged to mod code and require explicit implementation
2016-10-22 18:21:52 +02:00
Paul Chote
970caf38c6
Support dynamic initial turret facings.
2016-06-15 20:36:24 +01:00
teees
4fa3ecfafb
Add DynamicFacingInit.
2016-06-15 20:36:23 +01:00
teees
8724ed29bc
Support dynamic offsets in ActorPreviews.
2016-06-15 20:36:08 +01:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Paul Chote
fe60f5a77f
Introduce Turreted.WorldOrientation.
2016-01-27 21:32:21 +00:00
reaperrr
0d60ee5fe0
Disable WithSpriteTurret until build/transform complete
2015-12-14 15:27:52 +01:00
RoosterDragon
082ea6ba73
Refactor animation classes.
...
Specify pause function in constructors of Animation if required, and remove the unused pause function from AnimationWithOffset.
Cleanup Animation.cs and reduce code duplication.
2015-12-05 16:58:26 +00:00
reaperrr
35c4aca983
Rename WithTurret, WithBarrel and WithReloadingTurret
...
Make them use RenderUtils.ZOffsetFromCenter.
2015-11-28 20:57:09 +01:00