Matthias Mailänder
0e7ad43425
Remove unused parameters.
2022-04-01 23:30:26 +02:00
Ivaylo Draganov
9e92340ea7
Rework chat line templates and logic
...
- Extract chat line templates and logic so they can be reused across widgets
- Make text notification styling entirely template driven (by removing chat color configuration and making color optional for `TextNotification`)
- Add a new TextNotificationsDisplay widget (based on and replacing ChatDisplayWidget)
- Add timestamp support to text notifications
2021-10-29 20:55:41 +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
Paul Chote
8588af1001
Disable chat for the first 5s (configurable) after joining a server.
2021-09-23 12:52:20 +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
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
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
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -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
Paul Chote
3bc42543fa
Decouple color picker palette definitions to their own trait.
2021-05-15 15:29:46 +02:00
Paul Chote
f65de2dd43
Merge ColorPreviewManagerWidget into ColorPickerManager.
2021-05-15 15:29:46 +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
Paul Chote
4251ed69bb
Keep Discord join button active for spectators.
2021-01-29 14:38:13 +01:00
teinarss
30e5c807b0
Add Map and server name to discord details
2021-01-22 14:14:02 +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
abcdefg30
8840a690c6
Fix maps without spawn points no longer working
2020-11-15 09:38:02 +01:00
abcdefg30
77e85e7c58
Change DisabledSpawnPoints from List to HashSet
2020-11-15 09:38:02 +01:00
Trevor Nichols
d66e0bb22e
Right click lobby spawns to disable or remove players.
2020-11-07 19:33:28 +01:00
Paul Chote
60df247416
Streamline SpawnOccupant management.
2020-10-09 12:19:19 +02:00
abcdefg30
1a77f7320b
Fix a crash when updating the DiscordPresence party size
2020-09-05 10:36:35 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
c2026dc254
Add Discord Rich Presence
2020-07-12 14:27:59 +02:00
jrb0001
bf397591f9
Implement IPv6 support for server and direct connect
2020-05-08 15:17:44 +02:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Paul Chote
ebf2ce32c0
Make sure braces for multi-line statements are on their own lines.
2019-06-08 19:26:53 +02:00
Paul Chote
dabc7ec8dd
Remove unnecessary this. references.
2019-06-08 13:19:27 +02:00
Paul Chote
353db73381
Fix a collection of minor style violations.
...
This enables several new StyleCopAnalyzer rules to
be enabled immediately during migration.
2019-05-09 20:40:08 +02:00
teinarss
d9d2202599
System messages should be yellow to distinguish them from normal
2019-04-27 14:51:59 +02:00
abcdefg30
6163523334
Enable spectator team chat in the lobby
2019-04-22 19:55:04 +01:00
abcdefg30
e6feba8884
Remove the TeamChat order type
2019-04-22 19:55:04 +01:00
abcdefg30
9a84ccdd1d
Send the designated team number as extra data in the order
2019-04-22 19:55:04 +01:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
6ac7f887c0
Fix a VS code style suggestion.
2018-11-26 19:46:05 +01:00
Paul Chote
9e85aefca8
Make the lobby teamchat selector match the in-game selector.
2018-11-26 19:46:05 +01:00
Andre Mohren
48248266a8
ClickSound and ClickDisabledSound and ChatLine are optional ui sounds.
2018-09-29 20:05:53 +02:00
Paul Chote
48f2519811
Make SetupLatencyWidget consistent with SetupProfileWidget.
2018-08-25 21:56:10 +02:00
Paul Chote
a51b916eaa
Hide the Ready checkbox when a spectator transfers away Admin.
2018-08-04 22:12:43 +02:00
Paul Chote
630936a211
Adjust lobby tooltip plumbing:
...
- Pass Client instead of Client ID
- Pass WorldRenderer and OrderManager to util helpers.
2018-07-29 00:30:17 +02:00
Paul Chote
97c03b00f2
Strip the client block down to latency only.
2018-07-29 00:30:17 +02:00
teinarss
1c0aa24640
Added a player action dropdown.
...
Adds options for:
- handling kick
- transferring admin
- move to spectator
2018-07-05 23:22:09 +01:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
9a7c6ba34e
Refresh lobby server list when switching to the Servers tab.
2018-01-09 21:55:23 +01:00
Paul Chote
7fba6a2155
Add a view-only server list tab to the multiplayer lobby.
2017-12-30 17:03:58 +01:00