Matthias Mailänder
336656e8f7
Remove superflous warning as null is a valid value here.
2020-08-02 22:15:13 +02:00
Matthias Mailänder
06ad9666e8
Replace burns with more modular and testable trait combinations.
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
2d36d0a659
Reflect in naming that negative SelfHealing is a thing.
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
Matthias Mailänder
ea9992247d
Reorder string placeholders.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
b90fecff76
Remove the prefixed method name.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
a4fc9fea3b
Unify AIUtils.BotDebug prefixes.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
1ef5db8896
Document the built in hitshape types.
2020-07-28 23:42:26 +02: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
Matthias Mailänder
0b03aca104
Fix linter for player palettes.
2020-07-19 10:44:55 +02:00
Paul Chote
3bf61f1043
Fix incorrect rotation calculation in ThrowsShrapnel.
2020-07-19 10:41:05 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +02:00
abcdefg30
6d12301f88
Fix the aircraft facing slider in the editor
2020-07-18 01:45:00 +02:00
Andre Mohren
914950c4a5
When zooming using the mousewheel, zoom towards the pointer location.
2020-07-17 20:12:10 +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
Mustafa Alperen Seki
04bfd62f2f
Fix FireClusterWarhead playing wrong Report sound.
2020-07-15 23:55:01 +02:00
Paul Chote
01e955ca37
Implement TS-style terrain lighting.
2020-07-13 14:02:02 +02:00
Paul Chote
fdb66c769c
Change terrain layers to track sequences instead of sprites.
2020-07-13 14:02:02 +02:00
Paul Chote
38b3fbbdbe
Fix [RequireExplicitImplementation] failures on event properties.
2020-07-13 14:02:02 +02:00
Paul Chote
3bc5d2d02c
Add INotifyEditorPlacementInfo interface.
...
This allows TraitInfos to act when the actor preview is placed
in the editor, returning arbitrary data which the editor stores
and gives back if the preview is removed.
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
reaperrr
baf58f53b3
Adapt SpreadDamageWH to ImpactOrientation
...
The ImpactOrientation needs to be computed from
point of impact to target if the target wasn't hit directly.
Also adapted warhead code to use WarheadArgs consistently,
as well as pass HitShape instead of just HitShapeInfo
(both needed for future and/or downstream features).
2020-07-12 19:52:55 +02:00
reaperrr
8513a83331
Add ImpactOrientation to WarheadArgs
...
Allows to pass the horizontal facing/yaw
and vertical angle/pitch of the carrier
projectile to warheads for further use.
Add ImpactPosition to WarheadArgs
InflictDamage doesn't pass the impact pos
directly, and the very point of WarheadArgs
is to avoid adding more and more arguments
to the warhead methods.
2020-07-12 19:52:55 +02:00
Oliver Brakmann
8b3db6f3d6
Allow granting a condition to Carryalls currently carrying units
2020-07-12 14:36:01 +02:00
teinarss
c2026dc254
Add Discord Rich Presence
2020-07-12 14:27:59 +02:00
Pavel Penev
25500a7dda
Updated a stale copyright header
2020-07-10 13:22:54 +02:00
Pavel Penev
8c394a4cb5
Created FlashPaletteEffectWarhead and removed the hardcoded flashing from NukeLaunch
...
Not actually hardcoded, but there was a hard dependency in NukeLaunch on FlashPaletteEffect and explicit flashing checks.
2020-07-10 13:22:54 +02:00
Pavel Penev
2e7bd4de4b
Fixed a bug with the NukeLaunch's Player palette
2020-07-10 13:22:54 +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
6d6822ca15
Update map inits in RA/TD/D2k.
2020-07-08 20:38:30 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
Paul Chote
e8f443f4a9
Remove TurretFacingsInit and PlugsInit.
2020-07-08 20:38:30 +02:00
Ivaylo Draganov
67f8452178
Add button to override duplicate hotkey bindings
2020-07-08 19:59:07 +02:00
Ivaylo Draganov
47f6e407d9
Cancel hotkey rebind on Esc key press
2020-07-08 19:59:07 +02:00
abcdefg30
889e2152a4
Cache ProjectedCellBounds during load time
2020-07-08 18:37:50 +02:00
Paul Chote
b3ee8b447e
Reduce duplication between Map and PlayerRadarTerrain.
2020-07-07 22:12:22 +02:00
Paul Chote
5f588561b6
Rewrite TS minimap rendering:
...
* Rename LeftColor and RightColor to MinColor and MaxColor
These are mapped from LowRadarColor and HighRadarColor in
the original inis, and appear to be used to set the bounding
values for selecting a random colour, NOT for left/right
pixels (which caused noticeably wrong banding).
* Adjust brightness based on terrain height.
MinHeightColorBrightness and MaxHeightColorBrightness
were chosen by trial/error to match the original
map preview rendering.
2020-07-07 22:12:22 +02:00
abcdefg30
b066005f7e
Fix AttackBomber marking aircraft that are not in the world as in range
2020-07-06 22:30:41 +02:00
abcdefg30
87e33a75c6
Fix a crash when calling an airstrike at the map edge
2020-07-06 22:30:41 +02:00
abcdefg30
bc7bf174d8
Don't tick the announcement timer when not in low power
...
When entering low power it will be reset to 0 again anyway
2020-07-05 20:37:17 +02:00
abcdefg30
2e06d5790b
Update the PowerState only when power is added or removed
2020-07-05 20:37:17 +02:00
abcdefg30
ab8790e8f1
Style/Readability changes
2020-07-05 20:37:17 +02:00
abcdefg30
7d630e63e7
Let Railgun implement ISync
2020-07-05 18:10:14 +02:00
Pavel Penev
d866286f82
Added back the DescAttributes on projectiles' Inaccuracy fields
2020-07-05 13:04:18 +02:00
Pavel Penev
76dfda164e
Moved projectile inaccuracy calculations to Common.Util
...
Also moved the InaccuracyType enum there. This also quietly adds the RangeModifiers to the calculations for all projectiles, while they were only used on Bullet so far, which seemed very wrong.
2020-07-05 13:04:18 +02:00