abc013
442752b6ba
Fix owner of selected actor not always being selected owner in editor
2021-10-24 22:54:10 +02:00
abc013
0898655175
Fix radar preview not updating when editing actor owner
2021-10-24 22:54:10 +02:00
RoosterDragon
19760b04bd
Allow the default value of a CellInfo to be an Unvisited location.
...
In CellInfoLayerPool, instead of having to store a layer with the default values, we know we can just clear the pooled layer in order to reset it. This saves on memory, and also makes resetting marginally faster.
In PathSearch, we need to amend a check to ensure a cell info is not Unvisited before we check on its cost.
2021-10-23 15:43:47 +02:00
Matthias Mailänder
6edd5d7bfa
Avoid an unnecessary assignment.
2021-10-22 22:02:15 +02:00
Matthias Mailänder
a3ccc81892
Remove unused fields and parameters.
2021-10-22 22:02:15 +02:00
penev92
f056cbba13
Added a bunch of TraitLocationAttributes
...
Also moved a few traits to their proper subfolders.
2021-10-16 20:52:50 +02:00
Paul Chote
166583b1ec
Fix disabled chat focus issues.
2021-10-16 13:34:39 -05:00
penev92
8ba6d13b2f
Removed unused using directives
2021-10-15 13:12:33 +02:00
RoosterDragon
df9398a871
Use named pathfinding constants.
...
- Rename CostForInvalidCell to PathCostForInvalidPath
- Add MovementCostForUnreachableCell
- Update usages of int.MaxValue and short.Maxvalue to use named constants where relevant.
- Update costs on ICustomMovementLayer to return short, for consistency with costs from Locomotor.
- Rename some methods to distinguish between path/movement cost.
2021-10-10 17:09:38 +02:00
abcdefg30
4269fc67d5
Remove hacks around checking sync while disposing the shellmap
2021-10-09 21:13:35 +02:00
Ivaylo Draganov
091d756c14
Change lobby options description to make sense in both disabled and enabled state
2021-10-09 08:43:28 -05:00
RoosterDragon
9bcbbdd3fc
Remove unused code in Move.
2021-10-09 00:02:00 +02:00
abcdefg30
a930c123ed
Initialize the Discord rich presence with an empty presence
2021-10-08 00:47:10 +03:00
abcdefg30
62c083bb01
Remove a bogus and unneeded import
2021-10-08 00:47:10 +03:00
abcdefg30
dc11b82fc9
Fix a NRE in DeliverUnit.ReleaseUnit.OnFirstRun
2021-10-02 22:01:24 +01:00
RoosterDragon
3a020e96fe
Update ICustomMovementLayer to not depend on actor for costs.
...
No implementations require the actor.
2021-10-02 21:47:24 +01:00
abcdefg30
d370cb48c5
Remove unreachable code in TransformsIntoTransforms
2021-10-02 21:34:51 +01:00
Matthias Mailänder
a2a668077c
Refactor RandomDelay:
...
Allow different types of random
and reflect other use cases by renaming.
2021-10-02 20:17:03 +02:00
RoosterDragon
3a7aeb5324
Ensure TargetLineRenderable width and marker size don't get lost.
...
By making the constructor take non-optional parameters, this highlights some calls sites which were forgetting to set these values. These are now fixed.
Set the path debug to have a marker size of 2 for better visibility.
2021-10-02 12:14:54 +01:00
Vapre
9d4d4bb924
Locomotor, PathGraph, trivial optimizations.
2021-10-01 22:21:47 +02:00
Vapre
e8bae2e50a
Crash on capture fix. #19482 .
2021-09-27 21:19:12 +01:00
Matthias Mailänder
6b3eee8481
Don't just swallow the web exception.
2021-09-27 20:16:22 +02:00
Paul Chote
3d73d5ef29
Remove incorrect comment and merge nested conditionals.
2021-09-27 19:48:05 +02:00
Ivaylo Draganov
2d178f5033
Do not center lobby options vertically in the scroll panel
2021-09-26 21:25:08 +01:00
Ivaylo Draganov
f018fdecdd
Remove special handling for cases when there's only one game info tab
...
The addition of the lobby options tab ensures that there will always
be at least two tabs ("Objectives" and "Options").
2021-09-26 21:25:08 +01:00
Ivaylo Draganov
3e0834b4ef
Display lobby options in-game on a dedicated tab
2021-09-26 21:25:08 +01:00
RoosterDragon
2f955e01f5
Fix style errors
2021-09-26 15:49:48 +02:00
Paul Chote
8588af1001
Disable chat for the first 5s (configurable) after joining a server.
2021-09-23 12:52:20 +02:00
teinarss
9eab92e90a
Add Rich Presence button with link to website
2021-09-22 15:57:54 +02:00
Paul Chote
df798fb620
Overhaul client latency calculations.
...
The ping/pong orders are replaced with a dedicated
(and much smaller) Ping packet that is handled
directly in the client and server Connection wrappers.
This allows clients to respond when the orders are
processed, instead of queuing the pong order to be
sent in the next frame (which added an extra 120ms
of unwanted latency).
The ping frequency has been raised to 1Hz, and pings
are now routed through the server events queue in
preparation for the future dynamic latency system.
The raw ping numbers are no longer sent to clients,
the server instead evaluates a single ConnectionQuality
value that in the future may be based on more than
just the ping times.
2021-09-21 15:12:36 +02:00
Matthias Mailänder
3a8957c6f3
Remove unused function parameter.
2021-09-19 22:29:50 +02:00
Matthias Mailänder
0604a58581
Send a ping when the server is shut down
...
and stop the LAN beacon.
2021-09-18 17:38:52 +01:00
Matthias Mailänder
58e482c05a
Fix hashset documentation.
2021-09-18 13:16:25 +01:00
Matthias Mailänder
eba266aecf
Use MarkDown tables in trait documentation export.
2021-09-18 12:52:27 +01:00
Matthias Mailänder
5bf4daddec
Set the default game name to the player name.
2021-09-15 18:39:24 +02:00
Vapre
5ae4662f08
RunUnsynced, do not recalculate sync hash on reentry. Cache debug settings.
2021-09-12 10:06:44 +02:00
abcdefg30
a1e62158e2
Add a workaround for "Check around synced code" problems
2021-09-08 20:26:53 +02:00
abcdefg30
777d966958
Remove unnecessary server creation when creating a new map
2021-09-08 20:26:53 +02:00
abcdefg30
0b75991fbc
Make the editor use an EchoConnection instead of a local server
2021-09-07 20:45:50 +02:00
Matthias Mailänder
978de64903
Don't count suicides into the game score.
2021-09-02 08:00:44 +02:00
Matthias Mailänder
e616cd1bcb
Save the player color in the introduction panel.
2021-09-02 07:39:54 +02:00
Paul Chote
442d91537e
Don't display spectator info for scripted players.
2021-08-28 23:15:02 +02:00
Paul Chote
7f92d64d84
Disable replay player visibility dropdown in singleplayer missions.
2021-08-28 23:15:02 +02:00
Paul Chote
c7700a8a2b
Fix DropDownButtonWidget ignoring yaml separator overrides.
2021-08-28 23:15:02 +02:00
Paul Chote
52b597d5d2
Remove order latency checks from BaseBuilderQueueManager.
2021-08-26 22:00:59 +02:00
Paul Chote
8a587ddeab
Disable depth-buffer command if EnableDepthBuffer is disabled.
2021-08-25 17:42:44 +02:00
Matthias Mailänder
024beacafb
Don't smear the paste while moving the mouse.
2021-08-22 16:06:21 +02:00
Paul Chote
3551eb3128
Fix map preview bounds calculation.
2021-08-21 14:16:02 +02:00
Paul Chote
7f94d67d39
Replace Map.CustomTerrain radar colors with IRadarTerrainLayer.
...
* TSVeinsRenderer now shows border cells on the radar
* BuildableTerrainLayer now uses the radar colors defined on the individual tiles
* CliffBackImpassabilityLayer no longer overrides the underlying terrain color.
2021-08-21 14:16:02 +02:00
Paul Chote
2a2785d8c9
Fix model debug sprite rectangle rendering.
2021-08-21 13:45:41 +02:00