Matthias Mailänder
3a8957c6f3
Remove unused function parameter.
2021-09-19 22:29:50 +02: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
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
962d6496bd
Overhaul depth preview rendering:
...
* Replace Jet color map with grayscale
* Added Shift + \ hotkey to toggle preview
* Added Shift + [, Shift + ] hotkeys to change contrast
* Added Shift + ;, Shift + ' hotkeys to change offset
2021-08-20 20:17:55 +02:00
Ivaylo Draganov
2d0e7040db
Add separate chat panel for spectators and players
...
Forces the chat and performance panels to be re-initialized when a
player transitions to spectators. This ensures that spectators don't
get to see faction themed widgets.
2021-08-08 12:50:31 +01:00
Paul Chote
edd3a2eb75
Fix ingame menu tab display.
2021-08-07 13:12:56 -05:00
Ivaylo Draganov
7a1169744e
Add tooltips to map name and author in map chooser
2021-08-05 18:36:50 +02:00
Ivaylo Draganov
1f3f489328
Show map preview tooltip only if needed
2021-07-25 00:25:08 +01:00
Ivaylo Draganov
31056d4253
Add tooltip to overflowing map title in server browser
2021-07-25 00:25:08 +01:00
Chris Harris
1c6ca394c1
Fix duplicate ActorIDs
2021-07-17 23:27:25 +02:00
Mustafa Alperen Seki
dcb70d12e3
Make Harvester conditional.
2021-07-12 15:41:04 +02:00
Matthias Mailänder
cd90c70cdf
Fix a null reference exception.
2021-07-12 15:20:34 +02:00
teinarss
f3777a25e6
Refactor send and receive Orders loop
2021-07-10 23:35:47 +02:00
teinarss
5e1468facb
Fix NRE with ConnectionStateChanged
2021-07-08 01:12:05 +02:00
Ivaylo Draganov
cbdf6c3747
Add faction suffix support to text fields and scroll panels
2021-07-06 10:13:43 +02:00
Ivaylo Draganov
9687988976
Use pattern matching syntax in AddFactionSuffixLogic
2021-07-06 10:13:43 +02:00
Ivaylo Draganov
64e76e1a90
Make text fields yield keyboard focus on "Esc" in a consistent way
...
- search fields clear the input and yield if empty
- chat field and actor edit field yield without clearing
2021-07-04 23:37:29 +02:00
Ivaylo Draganov
2ea6bfba7b
Allow the player to toggle the display of UI Feedback chat pool
2021-07-04 14:02:58 +01:00
Ivaylo Draganov
6af354ff99
Split chat lines into pools
...
- Add a common class for passing around chat lines
- Add wrapper methods for adding chat lines
- Combine repeated chat lines in the display widget
2021-07-04 14:02:58 +01:00
Paul Chote
fca12fd707
Validate custom color picker colors.
2021-07-03 12:18:25 -05:00
Abdurrahmaan Iqbal
a8900d9860
Rebind chat hotkeys to prevent Tab changing chat mode
...
Enter/Shift+Enter now toggle team/all chat respectively and Shift+Tab switches chat mode instead of Tab
2021-07-03 14:49:03 +01:00
Abdurrahmaan Iqbal
6967c1fff3
Pass KeyInput to OnKey functions
2021-07-03 14:49:03 +01:00
abc013
2742985520
Prevent saving and starting a map when max player count is exceeded.
2021-07-03 08:25:16 -05:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
Ivaylo Draganov
9313638997
Fix handicap dropdown disabled state
2021-06-25 09:25:17 -05:00
teinarss
b3b10729cd
Remove ServerExternalMod from OrderManager
2021-06-12 12:50:51 +02:00
teinarss
a1b3450b47
Remove Password and Endpoint from OrderManager
2021-06-12 12:50:51 +02:00
Matthias Mailänder
44b2dda585
Add an editor overlay for unbuildable terrain.
2021-06-06 21:14:44 +02:00
teinarss
82115c6bf7
Move Text handling to its own class
2021-06-04 21:47:39 +02:00
Paul Chote
c64cfea179
Allow mods to downscale framebuffer resolution for large world viewports.
2021-05-16 14:22:52 +02:00
Paul Chote
0d4b81fe6f
Set world framebuffer size based on minimum zoom.
...
This avoids reallocating buffers each time the player changes zoom level.
2021-05-16 14:22:52 +02:00
Paul Chote
3bc42543fa
Decouple color picker palette definitions to their own trait.
2021-05-15 15:29:46 +02:00
Paul Chote
560f1a6466
Restrict player color choices to the hue-saturation plane.
2021-05-15 15:29:46 +02:00
Paul Chote
9d62ce214c
Move color picker actor type from metrics to ColorPickerManager.
2021-05-15 15:29:46 +02:00
Paul Chote
f65de2dd43
Merge ColorPreviewManagerWidget into ColorPickerManager.
2021-05-15 15:29:46 +02:00
Paul Chote
7b58f03f1c
Move ColorValidator logic into a new ColorPickerManager trait.
2021-05-15 15:29:46 +02:00
teinarss
0c50057220
Update KickSpectators clientCount to be passed as int
2021-05-08 22:20:59 +02:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
Paul Chote
0bbb32e8ac
Rework MapPreview custom rule handling.
...
The previous asynchronous approach did not work particularly well,
leading to large janks when switching to custom maps or opening the
mission browser.
This commit introduces two key changes:
* Rule loading for WorldActorInfo and PlayerActorInfo is made
synchronous, in preparation for the next commit which will
significantly optimize this path.
* The full ruleset loading, which is required for map validation,
is moved to the server-side and managed by a new ServerMapStatusCache.
The previous syntax check is expanded to include the ability to run
lint tests.
2021-04-21 18:57:44 +02:00
Paul Chote
abee274f88
Remove direct access to MapPreview.Rules.
2021-04-21 18:57:44 +02:00
Matthias Mailänder
5a0bcc01a6
Add a lint check for trait placement on hardcoded actor names.
2021-04-11 20:20:00 +02:00
reaperrr
aa834db1e3
Make perf.log output for ticking things opt-in
...
Both writing to perf.log frequently as well as GetTimestamp
aren't free and hurt performance particularly on slower systems
(which can have notably higher output to perf.log, further
amplifying the problem).
Therefore we make simulation perf logging opt-in.
Additionally, logging of the current tick and tick type
(local/net) is removed from debug.log, and some
remnant debug logging for kills and pips is removed
to keep performance-sensitive logging limited to
perf.log.
2021-04-10 15:59:24 +02:00
reaperrr
1a9dfc0893
Refactor GameSpeed setting
...
*Remove internal GameSpeed defaults
Enforce setting values explicitly all the time
Require definition of a DefaultSpeed
*Remove Global.Timestep default
*Remove the hacky Timestep/OrderLatency setting via LobbyInfo
*Fix shellmaps ignoring mod-defined gamespeeds
*Make DateTimeGlobal use the MapOptions gamespeed
2021-04-09 22:58:14 +01:00
Matthias Mailänder
d15e7f76fc
Port back to Mono.Nat and make discovery async.
2021-03-27 18:36:12 +00:00