Ivaylo Draganov
a537346580
Move selection hotkeys out of world interaction widget
...
- Split SelectionUtils for selecting actors in the world to a static class
- Split selection hotkeys into their own logic classes
2021-11-27 15:06:39 +01:00
Ivaylo Draganov
e9cc89a336
Yield keyboard focus upon leaving the ingame chat tab
2021-11-27 14:57:04 +01:00
Ivaylo Draganov
01d47566cc
Add a transients panel with corresponding chrome logic and a notification template
2021-10-29 20:55:41 +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
Matthias Mailänder
a3ccc81892
Remove unused fields and parameters.
2021-10-22 22:02:15 +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
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
Paul Chote
8588af1001
Disable chat for the first 5s (configurable) after joining a server.
2021-09-23 12:52:20 +02:00
Vapre
5ae4662f08
RunUnsynced, do not recalculate sync hash on reentry. Cache debug settings.
2021-09-12 10:06:44 +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
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
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
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
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
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
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +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
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
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
Paul Chote
7e9d291223
Add IResourceRenderer interface.
2021-03-20 16:45:41 +01:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
Ivaylo Draganov
ff60540fac
Add player random faction info in the objectives panel
2020-12-30 01:44:50 +00:00
Pavol Molnar
6943cf5ad5
fixed tooltip, issue 18301
2020-11-15 09:36:56 +01:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
Matthias Mailänder
7a7393b9f0
cachedWidth is never assigned.
2020-09-27 22:56:41 +01:00
Matthias Mailänder
8d7e5f4663
Fix Analyzer warning: V3022 Expression is always true.
2020-09-26 22:59:39 +01:00
abcdefg30
3fc5859f08
Add 'AddToAssetsValue' to 'UpdatesPlayerStatistics'
2020-09-11 23:44:30 +02:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
teinarss
19b02875c7
Use Tuple syntax
2020-08-15 10:37:10 +01:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
Ivaylo Draganov
39ccac4022
Refactor command bar buttons to use unified widget state names
2020-07-05 11:50:45 +01:00
Ivaylo Draganov
31a965b29a
Add suffix to player name in shroud selector
2020-06-06 14:40:48 +01:00
Ivaylo Draganov
7a213338a2
Add helper method to add suffix to player name label
2020-06-06 14:40:48 +01:00
Paul Chote
41657dd291
Allow spectators to be kicked after the game starts.
2020-02-28 00:04:49 +01:00
abc013
c0ece00c4b
Prevent production cycling when producing actor does not occupy space
2020-02-26 23:25:41 +01:00
Paul Chote
84419e4259
Add queued argument to CanIssueDeployOrder.
2020-02-24 12:56:49 +01:00
teinarss
b81ede2d64
Added widget showing the army for players in spec
2020-02-09 16:37:21 +01:00