teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
teinarss
e12ff2c59d
Remove our own ReadOnlyDictionary and update usages
2021-04-03 11:33:31 +02:00
teinarss
6b74093c04
Add readonly to structs
2021-03-14 15:17:57 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Paul Chote
0975102e92
Add Alpha support to sequences.
...
Alpha can specify a single value for the sequence
or values for each frame in the sequence.
AlphaFade: True can be specified to linearly fade
to transparent over the length of the animation.
2021-02-24 19:20:48 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
teinarss
58313520f0
Change renderables to class to avoid boxing
2021-01-29 00:24:27 +01:00
Paul Chote
82a9809192
Remove RenderSprites.Scale.
2021-01-21 18:22:11 +01:00
Paul Chote
f6b40b2bce
Allow sequences to define a Scale factor.
2021-01-21 18:22:11 +01:00
Paul Chote
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
67754e8693
Add alpha support to SpriteRenderer.
2021-01-06 00:06:51 +01:00
Paul Chote
b88495c689
Remove palettes from base IRenderable.
2021-01-06 00:06:51 +01:00
teinarss
2c9a36b9a3
Update float3 to readonly and use in modifier for parameters.
2020-12-02 20:37:50 +01:00
teinarss
e6db2c98d0
Make WRot readonly and use in parameter modifier
2020-12-01 22:54:39 +00:00
Matthias Mailänder
14fc0254c6
Make all range circles fully configurable.
2020-10-18 15:08:17 +01:00
Paul Chote
dd7b8b24af
Use tileset ID in sequences instead of the TileSet object.
2020-10-11 01:23:15 +02:00
Paul Chote
ad4d6eaec9
Improve --check-missing-sprites error handling.
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
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Oliver Brakmann
e019b70420
Fix actor previews for actors with types written in capital letters
2020-07-26 10:57:18 +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
Paul Chote
01e955ca37
Implement TS-style terrain lighting.
2020-07-13 14:02:02 +02:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
c6c3a8c60d
Make ActorPreview and EditorActorPreview wrap ActorReference.
2020-06-19 17:57:56 +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
0eb0041f90
Allow ActorInits to target a specific trait by matching the @ suffix.
2020-06-08 19:18:38 +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
fe58ed1283
Animation facing -> WAngle.
2020-05-09 10:20:23 -05:00
Paul Chote
361e2d463c
ISpriteSequence facing -> WAngle.
2020-05-09 10:20:23 -05:00
reaperrr
c10487d635
Move ClassicFacingFudge support to Mods.Cnc
...
This moves the TD/RA-specific re-mapping of sprite facings
and coordinates to Mods.Cnc.
2020-04-24 18:22:35 +02:00
Paul Chote
9c251e8b6a
Fix detection circle line rendering.
2020-03-24 20:59:46 +01:00
Paul Chote
9f3254dbd1
Implement isometric selection boxes for TS structures.
2020-03-24 00:07:10 -05:00
Paul Chote
ac200f6173
Rework decoration renderable traits:
...
- Removed implicit pip definitions and IPips interface.
New decoration traits have been added to render them.
Pip types are no longer hardcoded in OpenRA.Game.
- Decoration rendering is now managed by SelectionDecorations(Base),
which allows us to remove assumptions about the selection box
geometry from the decoration traits.
- RenderNameTag has been replaced by WithNameTagDecoration, which is
an otherwise normal decoration trait.
- Unify the configuration and reduce duplication between traits.
- Removed hardcoded references to specific selection box renderables.
- Remove legacy cruft.
2020-03-24 00:07:10 -05:00
reaperrr
eb007fc43c
Add Frames support to Combine
2020-02-27 18:44:34 +01:00
Paul Chote
2016ab105e
Fix Reverses parsing.
2020-02-23 16:41:57 +01:00
Paul Chote
def65b10bd
Don't crash with an unhelpful IndexOutOfRangeException.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
2049d1b26a
Allow guessing of sprite sequence length from number of frames.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
43cac2f051
Don't complain about shadow frame length when there are none.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
39b7db2703
Allow repetition of frames in sequence setups.
2020-02-23 16:41:57 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
79aac08a48
Fix turret positioning in the map editor.
2019-12-11 11:02:04 +01:00
Paul Chote
ebd1557523
Draw voxel debug annotations using the UI renderers.
2019-12-08 04:36:31 +01:00
Paul Chote
1599eac66c
Rename SelectionBoxRenderable to SelectionBoxAnnotationRenderable.
2019-10-20 23:46:33 +02:00