Gustas
dab3ca0025
Add support for dark player colors
2023-03-10 15:43:24 +02:00
RoosterDragon
939f715e3c
Fix IDE0053
2023-03-07 13:18:13 +02:00
RoosterDragon
c916a00624
Remove workaround for old versions of mono.
2023-03-07 12:51:06 +02:00
RoosterDragon
53e9f44972
Spelling fixes
2023-03-02 20:11:54 +02:00
RoosterDragon
52fd564eac
Fix some whitespace formatting issues: stray tabs or spaces.
...
Wrap some long lines on affected code.
2023-03-02 20:02:45 +02:00
Matthias Mailänder
edaf11cb89
Update thirdparty dependencies.
2023-03-01 23:52:59 +01:00
RoosterDragon
ad122c8e32
When running a server, don't load minimap previews into memory.
2023-03-02 00:13:46 +02:00
RoosterDragon
8ee6957e6a
Fix IDE0048
2023-03-01 21:56:28 +02:00
Gustas
422a228cea
Fix PlayerColorRemap expecting colors in linear space
...
PlayerColorRemap expected colors in linear space yet we provided them in gamma. We fix this by instead expecting gamma space colors and then converting them into linear space ourselves.
2023-02-28 23:26:37 +02:00
RoosterDragon
0b01b73111
Fix IDE0060
2023-02-28 21:21:40 +02:00
RoosterDragon
5b70d344cc
Fix IDE0038
2023-02-28 21:21:40 +02:00
RoosterDragon
71ce515d6d
Fix IDE0004
2023-02-28 21:21:40 +02:00
RoosterDragon
d4135d608e
Fix IDE0039
2023-02-27 10:09:11 +01:00
Gustas
e64c77fdde
Use pattern matching to avoid is check followed by a cast (with variable)
2023-02-27 08:36:47 +02: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
5a2a448c32
Fix IDE0250
2023-02-24 22:00:25 +02:00
RoosterDragon
bf960b6eae
Fix IDE0120
2023-02-24 22:00:25 +02:00
RoosterDragon
3402031399
Fix IDE0071
2023-02-24 22:00:25 +02:00
RoosterDragon
837c70f857
Fix IDE0061
2023-02-24 22:00:25 +02:00
RoosterDragon
2d4119e88d
Fix IDE0051
2023-02-24 22:00:25 +02:00
RoosterDragon
67ba3e55de
Fix IDE0020
2023-02-24 22:00:25 +02:00
RoosterDragon
b0dca05e50
Fix IDE0002
2023-02-24 22:00:25 +02:00
RoosterDragon
8b4500146f
Fix IDE0001
2023-02-24 22:00:25 +02:00
Andre Mohren
3f0c3a8b9c
Allow mods to control how looped sounds are used.
2023-02-18 16:18:20 +01:00
Gustas
78677fd8ab
Fix replays continuing after desync
2023-02-18 15:53:17 +01:00
Gustas
20a16ad5f8
Move force pausing to EndGame method
2023-02-18 15:53:17 +01:00
penev92
4135079290
Unify MediaGlobal/Scripting.Media PlayFMV* methods
...
- Improve consistency
- Remove dead code
- Removed AsyncAction!
- Delegate.BeginInvoke is unsupported since .NET Core and throws an "Operation is not supported on this platform." exception.
2023-02-18 14:10:24 +01:00
Paul Chote
af23888b95
Remove dependency on VCRUNTIME140.dll.
2023-02-18 14:30:56 +02:00
Paul Chote
947f53a991
Disable max order length check for local servers.
2023-02-14 10:15:21 +02:00
abcdefg30
e4bb13ea07
Throw an ArgumentException when trying to translate null keys
2023-02-03 08:31:28 +02:00
Paul Chote
8be3ac863b
Only update changed files when saving maps.
2023-01-27 07:43:25 +01:00
Dean Simmons
e1b78c4821
Only return file paths when returning zip contents
2023-01-26 19:25:58 +02:00
Andre Mohren
1dc44c4047
Looped sounds can now be unlooped to avoid cut-offs.
2023-01-14 13:56:20 +01:00
abcdefg30
5bf7fe852c
Remove the copyright year numbers
2023-01-11 11:58:54 +02:00
penev92
5f80e93aee
Added ITilesetSpecificPaletteInfo for linting
2023-01-10 16:36:36 +00:00
abcdefg30
d4d6d5b7c0
Remove custom network frame counting from ReplayConnection
2023-01-04 09:33:55 +00:00
Matthias Mailänder
56ff98a2a3
Throw specific cursor sequence errors
...
instead of dividing by zero because length is 0.
2023-01-03 13:25:50 +01: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
363a0e1d1e
Update native deps to include macOS and Linux arm64 binaries.
2022-12-23 12:54:06 +02:00
Paul Chote
80945cd08a
Report CPU arch in logs and sysinfo.
2022-12-23 12:54:06 +02:00
Paul Chote
a17e1671f0
Fix MiniYaml source locations being lost when merging.
2022-12-23 10:44:54 +02:00
RoosterDragon
39e48d9e8d
HPF is aware of map projection changes.
...
An event is added to Map to indicate when the cell projection is changed. This is important as this can mean Map.Contains(CPos) could now return different results for the cell. The HierarchicalPathFinder is made aware of these changes so it can rebuild any out-of-date information. This fixes prevent a crash if a cell that was previously outside the map changes height and becomes inside the map. The local path search will explore the cell as it is inside the map - but if the HPF was unaware if had been updated, it will still consider the cell to be outside the map and unreachable, resulting in a crash.
2022-12-20 09:47:24 +13: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
dnqbob
45d4a2c7e2
Fix syncreport crash caused by getting LocalClient index from ReplayConnection
2022-12-11 23:32:59 +02:00
Matthias Mailänder
9ba51c6b51
Manually add game speeds to the linter.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
8297fcff30
Expose lobby options to localisation.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
e251377f7c
Add support for translation attributes.
2022-12-07 18:40:26 +02:00
Matthias Mailänder
760a1245c5
Mark non-moddable translation strings as constant.
2022-12-07 18:40:26 +02:00