Paul Chote
290e214638
Remove unexpected RenderSprite.FactionImage fallback.
2020-09-12 17:52:46 +02:00
Paul Chote
cd9bf53e1a
Use nameof() to reference image fields.
2020-09-12 17:52:46 +02:00
Paul Chote
5d6961619d
Fix WithIdleOverlayInfo Image override.
2020-09-12 17:52:46 +02:00
Paul Chote
94180f6a0a
Add SequenceReference support for dictionaries.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
Paul Chote
b8e60ca8ec
Fix SequenceReference definitions.
2020-09-12 17:52:46 +02:00
Paul Chote
9cd6df2929
Replace DecorationPosition with mod-defined string ids.
2020-09-09 23:16:05 +02:00
Matthias Mailänder
c48eb572e3
Remove MuzzleSplitFacings and expose MuzzleSequence to testing.
2020-09-01 18:53:43 +02:00
reaperrr
15fc27d142
Use cached selected in SelectionDecorationsBase
2020-08-28 12:24:07 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
ef69a3de66
Use nameof() in PaletteReference.
2020-08-15 13:41:45 +02:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
75cb5c2166
Convert turret facings to WAngle relative to the body.
2020-08-09 19:43:53 +02:00
Matthias Mailänder
3a427c3630
Add a sequence reference attribute to label fallbacks.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
728e0c6600
If it defaults to the actor type, then it shouldn't be required.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
657e690bdd
Add an image override.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
c42fd5d2e2
Add IsDecoration as a configurable option.
2020-08-02 22:15:13 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Paul Chote
aae497eff1
Pass pre-combined rotations into the rendering code.
2020-07-17 15:02:32 +02:00
Paul Chote
8c3793e7ea
Rename WRot.Zero to WRot.None.
2020-07-17 15:02:32 +02:00
Oliver Brakmann
60a7f53491
Fix target lines appearing not long enough on screen
...
Also changes the Delay attribute from ticks to milliseconds.
2020-07-16 00:28:05 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
abcdefg30
cada396733
Fix a crash when previewing an actor using WithCrateBody in the editor
2020-07-09 20:31:03 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Matthias Mailänder
6581fcb6a7
Add a random interval to idle animations.
2020-06-28 13:43:33 +02:00
abcdefg30
f75afc6ee4
Fix a compilation error in WithInfantryBody.cs
2020-06-19 20:01:04 +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
23561cd76b
Add custom palette support to WithInfantryBody.
2020-06-19 17:09:13 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
b38018af9c
Replace IActorInit with an abstract class.
...
A shared ValueActorInit<T> is introduced to reduce duplication
in the most common init cases, and an ActorInitActorReference
allow actors to be referenced by map.yaml name.
2020-06-08 19:18:38 +02:00
Paul Chote
c999b2d778
Convert QuantizeFacing to WAngle facings.
2020-05-28 21:23:51 +02:00
Paul Chote
bfb6c671fb
Change QuantizeFacing to return a facing instead of an index.
2020-05-28 21:23:51 +02:00
Paul Chote
7c6ec577dc
Rewrite ActorInit queries.
2020-05-28 19:04:53 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
atlimit8
1ef27d18c1
check name for Actor.GrantCondition()
2020-05-17 12:33:29 +02:00
Paul Chote
fe58ed1283
Animation facing -> WAngle.
2020-05-09 10:20:23 -05:00
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
Paul Chote
f03841c4e4
Hide selection decorations when spectators zoom too far out.
2020-05-02 14:30:04 -05:00
Matthias Mailänder
0103c38c13
Don't change the animation when it's not your turn.
2020-05-02 20:07:09 +01:00
Matthias Mailänder
bd1760682f
Rename WithNukeLaunch* traits to WithSupportPower*.
2020-04-30 01:37:05 -05:00
Matthias Mailänder
52d0490f95
Supersede INotifyNuke
2020-04-30 01:37:05 -05:00
Paul Chote
e42d177920
Include selection decorations when calculating ScreenMap bounds.
2020-04-30 00:09:57 +02:00
Matthias Mailänder
86a7a0bd6c
Move Render*Circle traits to their base traits.
2020-04-26 10:30:50 +02:00
Matthias Mailänder
fc84cd9204
Add an is in world check to fix a crash.
2020-04-21 01:15:43 -05:00
Matthias Mailänder
331b854e4e
Add a lint check for production bar types.
2020-04-10 21:00:26 +02:00
Matthias Mailänder
274bc9cbba
Add missing sequence reference.
2020-04-10 20:56:54 +02:00
Matthias Mailänder
827f8d95b4
Remove unused using.
2020-04-10 20:56:54 +02:00
Matthias Mailänder
2946dd35d5
Spaces to tabs.
2020-04-10 20:14:39 +02:00
Paul Chote
2c4e6c4188
Remove special-case rollover rendering.
2020-03-24 00:07:10 -05:00