Paul Chote
3dbc6400a6
Use IResourceLayer in BaseBuilderBotModule.
2021-03-20 16:45:41 +01:00
reaperrr
adf1aeb06a
Add support for pool-specific ammo pips decoration
2021-03-20 15:31:41 +01:00
teinarss
6b74093c04
Add readonly to structs
2021-03-14 15:17:57 +01:00
reaperrr
65c796dec7
Use Mobile.Pathfinder to reduce trait look-ups
2021-03-14 12:28:54 +00:00
reaperrr
503e706d45
Check for IsReloading in HasAnyValidWeapons
...
For Attack*.CanAttack().
Allows us to drop the additional check for armaments with ammo.
2021-03-14 12:28:54 +00:00
reaperrr
a1f974bd40
Save Mobile trait look-up in AttackBase
2021-03-14 12:28:54 +00:00
Paul Chote
7694d0842b
Fix two outdated comments.
2021-03-12 21:52:16 +01:00
Paul Chote
a90e6940ab
Add sequence scale and alpha support to ShroudRenderer.
2021-03-12 21:52:16 +01:00
Paul Chote
96c3825b6a
Add alpha support to TerrainSpriteLayer.
2021-03-12 21:52:16 +01:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
reaperrr
2473b8763b
Rename methods/activities with Visual in them
...
While they may be only 'visual' in terms of influence/cell grid,
they all do update CenterPosition, which is essentially the
actual world position of the actor.
'Visual' would imply that it only affects the position where the
actor is drawn, which is inaccurate.
Furthermore, using the term 'Visual' here would make
naming future methods/properties related to visual interpolation
unnecessarily complicated, because that's where we might
need a real 'Visual(Only)Position'.
2021-03-08 11:19:11 +01:00
teinarss
ed43071792
Compile engine and mod dlls as NET5 when not using mono
2021-03-07 16:04:57 +00:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
reaperrr
1a7a47fa08
Randomize AI idle harvester scan intervals
2021-02-28 18:58:03 +01:00
teinarss
ed295ae315
Change throw exceptions to use nameof in parameter
2021-02-28 18:43:51 +01:00
teinarss
53b781960c
Change FieldLoader.LoadUsing to use nameof
2021-02-28 18:43:51 +01: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
554486fb0b
Replace projectile, WithShadow, WithParachute shadows with tint effects.
2021-02-20 02:08:40 +01:00
Mustafa Alperen Seki
df94f0ec8b
Add InitialActor to Carryall.
2021-02-14 12:47:08 +00:00
Paul Chote
d09476c603
Remove custom palettes from building placement previews.
2021-02-12 02:08:30 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
fec1c813a5
Support burst-specific infantry attack animations.
2021-01-29 15:04:42 +01:00
reaperrr
0d8ef1a1dd
Make Contrail conditional and public
...
Also moved it to 'Render' subfolder while at it.
2021-01-28 23:30:45 +01:00
Matthias Mailänder
8f06b0a836
Add a "structure sold" notification.
2021-01-27 22:51:58 +01:00
abcdefg30
a1dd1fc5d1
Fix an compiler error on bleed
2021-01-23 23:15:58 +00:00
Paul Chote
889153ce81
Add shadow rendering for resource sprites.
2021-01-23 20:59:53 +01:00
Paul Chote
db2fded24d
Fix AutoTarget.ChooseTarget ignoring AttackBase.TargetFrozenActors.
2021-01-21 19:25:07 +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
632af7c7e6
Support mixed indexed/BGRA terrain tiles.
2021-01-16 22:09:08 +01:00
Paul Chote
142870d78a
Support multiple sheets in TerrainSpriteLayer.
2021-01-16 22:09:08 +01:00
Paul Chote
b0aa32cd1b
Support multiple palettes in TerrainSpriteLayer.
2021-01-16 22:09:08 +01:00
Paul Chote
53db1230ab
Move default tileset parsing to Mods.Common.
2021-01-11 21:57:55 +01:00
Paul Chote
b86b638700
Move editor template rendering to TerrainRenderer.
2021-01-11 21:57:55 +01:00
Paul Chote
6d6efd5fe8
Move tileset image validation to TerrainRendererInfo.
2021-01-11 21:57:55 +01:00
Paul Chote
2782620081
Add ITemplatedTerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
87790069e9
Add ITerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
0a374e2264
Move ownership of tile sprites to the terrain renderer.
2021-01-11 21:57:55 +01:00
tovl
560c3230cd
Let harvesters only search for refineries when needing to unload.
2021-01-10 23:43:48 +01:00
Paul Chote
e990a83b7a
Cancel support power targeting if power cannot be activated.
2021-01-10 22:42:32 +01:00
Paul Chote
02a2624bcc
Add a per-player handicap option to the lobby.
...
Handicaps reduce unit health, firepower, and build speed.
2021-01-10 22:23:52 +01:00
Paul Chote
3e7665146a
Avoid BuildUnit crash if the item is invalidated before the task runs.
2021-01-10 01:34:51 +01:00
Paul Chote
aeab9a8116
Group bot AttackMove orders.
2021-01-09 23:55:50 +01:00
Paul Chote
8c9b9df125
Change WithColoredOverlay to use a color instead of a palette.
2021-01-06 00:06:51 +01:00
Paul Chote
96641873ae
Replace highlight palette with tint effects.
2021-01-06 00:06:51 +01:00
Paul Chote
8edd9de278
Replace ITintableRenderable with IModifyableRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
b88495c689
Remove palettes from base IRenderable.
2021-01-06 00:06:51 +01:00
Paul Chote
2fee62af4d
Fix exit priority ordering.
2021-01-02 15:43:03 +01:00
Paul Chote
60195e2842
Prevent Health: 100 from being added to actors.
2021-01-02 15:12:20 +01:00
abcdefg30
1d4891b017
Rename several MP traits
2020-12-31 12:09:56 +01:00