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
c7700a8a2b
Fix DropDownButtonWidget ignoring yaml separator overrides.
2021-08-28 23:15:02 +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
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
Paul Chote
70892a6661
Change DrawSprite calls to provide scales instead of sizes.
...
This allows us to remove a hacky workaround for calculating
depth offsets when sprites have size.Z == 0.
2021-07-25 00:32:17 +02:00
Paul Chote
8e94e1d5ec
Rework WidgetUtil sprite rendering helpers.
2021-07-25 00:32:17 +02: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
f9b058d36b
Add click sounds to color widgets.
2021-07-03 12:18:25 -05: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
7356f2506b
Moved flashimage to world trait.
2021-07-01 16:38:51 +02:00
Ivaylo Draganov
ad4425d11e
Use cached transforms for images in widgets
2021-07-01 14:21:22 +01: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
Ivaylo Draganov
9fa5dcc055
Remove unused method in WidgetUtils
2021-06-11 10:16:34 -05: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
57d955ec72
Change Color.ToAhsv to tuple syntax.
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