Paul Praet
9a6f3b4c05
Reset Ready status of players in Lobby when options change
...
Addresses #11274
2020-08-23 00:05:55 +03:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
d52e4793fe
Refactor classes to structs
2020-08-19 11:54:29 +02:00
Paul Chote
06fbc1a6cf
Hide TraitInfo.InstanceName from FieldLoader.
2020-08-17 20:13:32 +02:00
Paul Chote
c4b4a8c8a5
Fix incorrect ramp fill in Map.Resize.
2020-08-16 14:17:45 +02:00
abcdefg30
07d58337f1
Let order generators account for selection changes
2020-08-15 11:34:00 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Paul Chote
70a86bed7a
Optimize WRot negation.
...
The conjugate of a quaternion just negates the x/y/z components, so
there is no need to recalculate from scratch and throw away precision
by forcing a quat->euler->quat round trip.
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
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Matthias Mailänder
3a9b35980c
Revert "Reduce order latency locally"
...
This reverts commit 20e5219cf4 .
2020-07-21 21:58:31 +02:00
Matthias Mailänder
150439d215
Revert "Change where we send orders"
...
This reverts commit 616d9421d6 .
2020-07-21 21:58:31 +02:00
Matthias Mailänder
b01a534a98
Revert "Refactor the OrderManager and world tick loop, improves input latency"
...
This reverts commit f642cead44 .
2020-07-21 21:58:31 +02:00
Paul Chote
ac975f4139
Convert yaml-exposed facings to WAngle.
2020-07-19 10:41:05 +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
b417b267dd
Store quaternion components directly.
...
This avoids precision loss when combining rotations.
The equivalent Euler angles are calculated for external use
but the quaternion components are preferred for any further
internal calculations.
2020-07-17 15:02:32 +02:00
Paul Chote
aae497eff1
Pass pre-combined rotations into the rendering code.
2020-07-17 15:02:32 +02:00
Paul Chote
3c9db4c2ac
Add WRot.Rotate to allow rotations to be combined.
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
fdb66c769c
Change terrain layers to track sequences instead of sprites.
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
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
teinarss
c2026dc254
Add Discord Rich Presence
2020-07-12 14:27:59 +02:00
Matthias Mailänder
cae6c28754
Change the prefix in front of replays.
2020-07-12 13:43:05 +02:00
abcdefg30
26fc65209d
Fix the bogus Actors iterator
2020-07-09 18:11:53 +02:00
Adam Mitchell
f642cead44
Refactor the OrderManager and world tick loop, improves input latency
2020-07-09 13:48:55 +02:00
Adam Mitchell
616d9421d6
Change where we send orders
2020-07-09 13:48:55 +02:00
Adam Mitchell
20e5219cf4
Reduce order latency locally
2020-07-09 13:48:55 +02:00
Vapre
9edda21b06
Avoid three time array lookup in TraitContainer.Actors.
2020-07-09 12:16:04 +02:00
Paul Chote
a2269e7ee7
Convert (Dynamic)FacingInit, (Dynamic)TurretFacingInit to WAngle.
2020-07-08 20:38:30 +02:00
abcdefg30
889e2152a4
Cache ProjectedCellBounds during load time
2020-07-08 18:37:50 +02:00
abcdefg30
173aae1f81
Directly check the map bounds instead of converting to PPos
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
teinarss
67ff292d62
Refactor WorldRenderer to use less allocations
2020-07-03 17:41:41 +02:00
Paul Chote
6dcde3af72
Allow voxel-based aircraft to pitch and roll.
2020-06-21 18:05:40 +02:00
Paul Chote
43717a89b5
Add Orientation getter to IFacing.
2020-06-21 18:05:40 +02:00
abcdefg30
67fd71ab92
Add a ProjectedCellLayer and use it in Shroud.cs
2020-06-19 18:31:51 +02:00
abcdefg30
385e70552e
Create CellLayerBase
2020-06-19 18:31:51 +02:00
Matthias Mailänder
1e2c67bfca
Increase UPnP device discovery timeout.
2020-06-19 18:00:27 +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
86305879cb
Parse Enum *ValueInit as string values, not integers.
2020-06-19 17:28:01 +02:00
Paul Chote
a98e460257
Expose WAngle to Lua API and deprecate old Facing.
2020-06-19 17:28:01 +02:00
Paul Chote
d3ab3d7d78
Move IndexedPlayerPalette to Mods.Common and add a non-player version.
2020-06-19 17:09:13 +02:00
Curtis Shmyr
02d462a82c
Fix copying public key to clipboard if already authed
2020-06-13 19:15:27 +02:00
reaperrr
0e81abc21b
Fix weapons not accounting for Air
...
If a weapon was aiming at a target position rather
than an actor target, it would always check target types
of the terrain below, ignoring altitude (and therefore ignoring
"InvalidTargets: Air").
2020-06-12 21:00:53 +02:00