Ian T. Jacobsen
fea35923f0
Minefield now shows red when out of map bounds and Minelayer now does not get stuck at edge of map
...
Made it impossible to detect enemy units again
Fix whitespace
2020-06-21 20:16:57 +02:00
Paul Chote
43717a89b5
Add Orientation getter to IFacing.
2020-06-21 18:05:40 +02:00
Matthias Mailänder
c7ba359688
Add drop pod reinforcements.
2020-06-21 17:28:24 +02:00
Paul Chote
ae7cfa56b7
Restrict IActorPreviewInitInfo to ActorInit.
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
803b930405
Change IFacing.TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Paul Chote
6adf45bcb4
Convert IFacing.Facing and TurnSpeed to WAngle.
2020-06-12 18:35:41 +02:00
Matthias Mailänder
b7cee41c54
Fix TD gunboat not updating actor map influence.
2020-06-09 22:40:32 +02:00
Paul Chote
10aac03f75
Add CompositeActorInit and simplify chronoshift inits.
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
abcdefg30
fb27a25e52
Fix a crash with support powers and units without selection decorations
2020-06-06 13:46:27 +01:00
Ivaylo Draganov
b8a9f41892
Add missing trait descriptions for cursors and unify the language
2020-05-31 00:12:04 +02:00
Ivaylo Draganov
393f6eca3a
Add configurable target cursors to various traits
2020-05-31 00:12:04 +02:00
abcdefg30
27d0465891
Remove workarounds for querying the PlayerActor in Created
2020-05-30 19:47:29 +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
Matthias Mailänder
551ab2fc59
Cache the footprint LINQ for performance.
2020-05-12 20:53:05 -05:00
Zimmermann Gyula
57f9a49b66
Use footprints in ChronoshiftPower.
2020-05-12 20:53:05 -05:00
Paul Chote
afd620b092
Reimplement ClassicQuantizeFacing using a look-up-table.
2020-05-09 10:40:50 -05: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
atlimit8
259c8d2c98
Merge ConditionManager trait directly into Actor
2020-05-09 15:46:11 +02:00
abcdefg30
265d296db6
Add infiltration sounds support to InfiltrateForSupportPowerReset
2020-05-05 15:16:09 -05:00
Matthias Mailänder
3df43529a6
Document BitSet<TargetableType>
2020-04-27 16:06:32 +02:00
Matthias Mailänder
a1c9b27057
Add InfiltrateForSupportPowerReset
2020-04-27 16:06:32 +02:00
Matthias Mailänder
86a7a0bd6c
Move Render*Circle traits to their base traits.
2020-04-26 10:30:50 +02: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
Matthias Mailänder
e361f7b246
The category field has been pluralized.
2020-04-19 15:21:10 +02:00
Matthias Mailänder
b0497b7505
Fix double whitespace.
2020-04-19 15:21:10 +02:00
Zimmermann Gyula
a894e31fa5
Remove now obsolete tileset palette entry.
2020-04-19 15:21:10 +02:00
teinarss
e13fd693c3
Add Nuget packages for all dependencies
2020-04-18 11:36:25 -05:00
abcdefg30
4e548291ce
Treat transit-only tiles as invalid locations for minelayers
2020-04-18 13:35:06 +01:00
abcdefg30
942dd0e5f7
Adapt the utility commands to import crates as well
2020-04-17 10:52:59 +02:00
abcdefg30
400102f3d3
Remove a TODO about grey nod colors
2020-04-17 10:52:59 +02:00
Paul Chote
f0a243ca10
Fix mine layer desync.
...
World.FogObscures depends on the local RenderPlayer and should not
be used from simulation code!
2020-04-12 23:06:55 +02:00
Matthias Mailänder
73a2b59c2c
Add additional notification support to infiltration.
2020-03-29 12:00:16 -05:00
Paul Chote
d35b5070fb
Fix minelayers leaking enemy mine positions through the fog.
2020-03-28 18:49:07 +01:00
Paul Chote
a5b22e6a36
Remove text caching from CncLoadScreen.
...
We have repeatedly failed at invalidating these
cached values when things change, so the small perf
win is not worth the hassle.
2020-03-25 12:20:14 +01: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
Matthias Mailänder
b4edec215e
Fix spy ignoring the target's faction.
2020-03-19 23:11:38 +01:00
Paul Chote
ce91c5a76f
Fix WithDisguisingInfantryBody idle animation crash.
2020-03-01 14:43:12 +01:00
Paul Chote
de4a7cecf0
Rework multi-resolution sprite handling:
...
- Sprite.Bounds now refers to rectangles in the source image.
Use this when copying pixels, etc.
- Sprite.Size now refers to sizes in effective pixel coordinates.
Use this when rendering.
- Sheet.DPIScale has been removed.
- "Density" term is introduced to refer to the number of artwork
pixels per effective pixel.
2020-02-26 23:47:15 +01:00
Paul Chote
84419e4259
Add queued argument to CanIssueDeployOrder.
2020-02-24 12:56:49 +01:00
reaperrr
d835090d0b
Move LCWCompression support to Mods.Cnc
2020-02-22 15:40:37 +01:00
Mustafa Alperen Seki
6ab0ace9e1
Add PlayLaunchSounds() to SupportPowers which are missing it.
2020-02-09 13:34:46 +01:00
tovl
c18857f15d
Let immovable actors block individual minefield cells.
2020-02-06 22:26:15 +01:00
Paul Chote
518450cd8a
Extract load screen sheet handling into a superclass.
2020-01-26 20:22:49 +01:00