RoosterDragon
d4135d608e
Fix IDE0039
2023-02-27 10:09:11 +01:00
Gustas
8d0fe52dd8
Remove unnecessary parentheses
2023-02-27 08:36:47 +02:00
Gustas
157d1b32dc
Use null propagation
2023-02-27 08:36:47 +02:00
RoosterDragon
ede5412526
Fix IDE0100
2023-02-24 22:00:25 +02:00
RoosterDragon
10def52ad9
Fix IDE0033
2023-02-24 22:00:25 +02:00
penev92
bb8e6ab03c
Fix sprites with no frames crashing AssetBrowser
2023-02-22 11:25:17 +02:00
penev92
807bd4d06a
Make AssetBrowser not case sensitive to file types
2023-02-22 11:25:17 +02:00
penev92
e1a7fb1cc8
Fixed displayed audio length in the AssetBrowser
2023-02-20 13:07:32 +01:00
Gustas
78677fd8ab
Fix replays continuing after desync
2023-02-18 15:53:17 +01:00
penev92
2c51e791ad
Added VideoPlayerWidget.LoadAndPlayAsync method
...
Previous commits removed the async loading of videos, which can be a problem for videos played in the radar widget mid-game because it can cause a lag spike. This loads the video on a separate thread and runs it on the main thread whenever it is loaded, not blocking the main thread meanwhile and allowing the game to continue while the video loads.
Also add back cancelling of already playing video and add a check to not try to run onComplete if it is null.
2023-02-18 14:10:24 +01:00
penev92
c3fcbf77ed
Rename some VideoPlayerWidget methods for clarity
2023-02-18 14:10:24 +01:00
penev92
6321432d97
Fix crash caused by VideoPlayerWidget.DrawOverlay
...
Somehow this would divide by 0 on the next line, not crashing but resulting in an integer overflow on `overlayHeight`, which would crash when trying to render.
2023-02-18 14:10:24 +01:00
oldnaari
14ad4e168e
Update DownloadPackageLogic.cs, to log missing files in package
2023-02-05 20:19:49 +02:00
abcdefg30
84add8a03d
Fix an NRE in ConnectionLogic
2023-02-03 08:31:28 +02:00
michaeldgg2
6f87c565ac
AddFactionSuffixLogic: add suffix to ProductionTabsWidget.Decorations
2023-01-27 12:30:38 +02:00
michaeldgg2
949b993a4a
ProductionTabsWidget: center left/right arrow image on left/right button background
2023-01-27 12:30:38 +02:00
michaeldgg2
ca7e7c2304
ProductionTabsWidget: allow specifying different panels for left/right scroll button and tab buttons.
2023-01-27 12:30:38 +02:00
michaeldgg2
38e52c062e
ProductionTabsWidget: allow customizing left/right arrow buttons.
...
This moves initialization of Initialize getters for left/right arrow image from constructor Initialize method making it possible to override fields Decorations, DecorationScrollLeft and DecorationScrollRight after widget creation.
2023-01-27 12:30:38 +02:00
Matthias Mailänder
7cdc8c4ec5
Add a quick save button to the map editor.
2023-01-23 14:13:19 +02:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
Paul Chote
6d438a9d61
Allow mods to customise the default rendering scale.
2022-12-31 17:11:03 +01:00
Matthias Mailänder
19ecddcd86
Enforce use of 'var' instead of explicit type.
2022-12-28 23:02:04 +01:00
Paul Chote
7c2be4ce3c
Implement state prediction for lobby ready checkbox.
2022-12-23 16:33:21 +02:00
Paul Chote
25935bbe99
Implement state prediction for debug menu checkboxes.
2022-12-23 16:33:21 +02:00
Paul Chote
2ba52f1b94
Implement state prediction for lobby checkboxes.
2022-12-23 16:33:21 +02:00
Paul Chote
80945cd08a
Report CPU arch in logs and sysinfo.
2022-12-23 12:54:06 +02:00
Gustas
55cf40ec52
Added carryalls to spectator Economy statistics
2022-12-21 21:06:38 +01:00
Paul Chote
360a5b293d
Bubble unhandled double-click events to OnClick.
2022-12-20 23:01:41 +01:00
Paul Chote
11e5d19f32
Prioritise primary buildings in CycleBasesHotkeyLogic.
2022-12-19 11:55:45 +02:00
Ivaylo Draganov
a0f17b15ec
Refactor translation files
...
- Add prefixes to all message keys to provide context
- Use messages with attributes for some UI elements (dropdowns, dialogs, checkboxes, menus)
- Rename some class fields for consistency with translation keys
2022-12-19 22:04:54 +13:00
abcdefg30
0f149f1143
Fix the actor edit panel not always getting closed properly
2022-12-18 12:24:36 +13:00
Ivaylo Draganov
614603089e
Define and measure duration for text notifications in milliseconds
...
During a game notification duration should be the same regardless of
game speed. Switch to using wall-clock time defined in milliseconds
instead of game ticks. Also use the opportunity to rename the field
to "Duration" because "RemoveTime" is not so clear.
2022-12-15 23:28:46 +01:00
Gustas
c739447598
Fix map editor sliders stealing focus
2022-12-14 23:53:28 +01:00
Ivaylo Draganov
18e36b96db
Add HPF overlay controls to observer chrome
2022-12-12 23:51:46 +01:00
Matthias Mailänder
760a1245c5
Mark non-moddable translation strings as constant.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
14b5504ea7
Show the host in the download failed error message.
2022-11-23 23:35:53 +01:00
Matthias Mailänder
6f4f0c4e8f
Fix unknown host not getting translated.
2022-11-23 23:35:53 +01:00
IceReaper
35eb246080
Replaced hardcoded SourceType with custom defined ISourceResolver.
2022-11-17 21:19:57 +01:00
IceReaper
7188f88ba1
Replaced hardcoded source actions by user defined ISourceAction.
2022-11-17 21:19:57 +01:00
IceReaper
fcc8f53b59
Installer downloads now using specified IPackageLoader.
2022-11-17 21:19:57 +01:00
IceReaper
8ae5383698
Made installer asset resolving case insensitive.
2022-11-17 00:16:59 +02:00
Gustas
33a1bb8e6b
Don't disable chat in replays
2022-11-06 22:28:52 +01:00
ThomasChr
a3f8b41e25
Add dropdown for sorting maps in map chooser dialog
2022-11-01 12:08:01 +02:00
EoralMilk
949ef1662d
Add mouse scroll to ProductionPaletteWidget
2022-10-28 19:33:57 +02:00
Matthias Mailänder
efe65701e4
Expose game speeds to localisation.
2022-10-27 23:30:19 +02:00
Gustas
c041ea7d39
Crash on image/panel not found and add TryGet functions for searching
2022-10-20 19:28:02 +02:00
Gustas
e743e6dd61
Simplify boolean expressions in ProductionPaletteWidget
2022-10-20 19:20:45 +02:00
Gustas
af3d6792b8
Fix ProductionPalette ClockAnimation and NotBuildableAnimation being ignored.
2022-10-20 19:20:45 +02:00
Gustas
686f158117
Refactor BindButtonIcon
2022-10-19 18:26:24 +02:00
Matthias Mailänder
acc2c11e69
Fix SupportPowers ClockAnimation being ignored.
2022-10-17 14:20:11 +03:00