penev92
6f0509d235
Removed now-unused ITexture.SetData() overload
2022-01-11 18:16:31 +01:00
penev92
cb8530fbae
Reworked internal palettes in video reader classes
...
This removes the need to pack & unpack color bytes as uints for no gain.
2022-01-11 18:16:31 +01:00
penev92
c4ab7041b8
Updated VideoPlayerWidget to play new IVideo data
...
Added optional padding to video frames because that's what VideoPlayerWidget expects.
Keeping the option to not use padding for other use-cases like converting frames to PNG.
2022-01-11 18:16:31 +01:00
penev92
ee29d0f9c7
Changed IVideo.CurrentFrameData uint[,] -> byte[]
2022-01-11 18:16:31 +01:00
penev92
1b5f2f1b39
Removed caching properties from video readers
...
Those seem redundant since the frame number is guaranteed to match the loaded data inside CurrentFrameData.
2022-01-11 18:16:31 +01:00
penev92
0df3b34c52
Did a beautification pass on IVideo and family
...
Removed property backing fields where applicable, introduced C#7 syntax for properties.
Renamed a bunch of interface properties and class private members with more descriptive names.
Did some inconsequential reordering.
2022-01-11 18:16:31 +01:00
abcdefg30
556413c91d
Add whitespace fixes from the automatic update rule run
2022-01-11 18:09:05 +01:00
abcdefg30
f3bc450e20
Fix an oversight in the update rule for AttackBomber's FacingTolerance
2022-01-11 18:09:05 +01:00
abcdefg30
6556b33cef
Move update rules to the correct subfolders and paths
2022-01-11 18:09:05 +01:00
abcdefg30
15c2800601
Retire the release-20191117 UpdatePath
2022-01-11 18:09:05 +01:00
abcdefg30
d660ce9c47
Change the UpdatePath targets from playtest-20201213 to release-20210321
2022-01-11 18:09:05 +01:00
Matthias Mailänder
6770c08bf9
Fix scrollitem-nohover-hover not found.
2022-01-11 17:40:58 +01:00
Ivaylo Draganov
99ac128820
Add selected actors count to feedback notification text
2022-01-09 19:07:45 +01:00
Mustafa Alperen Seki
fe05382b24
Change "actor id" to "actor name" in some descs.
2022-01-09 19:02:05 +01:00
Mustafa Alperen Seki
3c60a515f7
Add CarryableConditions to Carryall.
2022-01-09 19:02:05 +01:00
penev92
b67954451a
Removed obsolete file OpenRA.sln.DotSettings
...
- The DEFAULT_PRIVATE_MODIFIER behaviour is now handled by the .editorconfig file via `dotnet_style_require_accessibility_modifiers = omit_if_default:warning`.
Also added `dotnet_diagnostic.IDE0040.severity = warning` there to raise compile-time errors in the CI.
- The field naming conventions seem to already be covered by (some) analyzer rules (checked in both VS and VSCode) - IDE1006/SA1306 and SA1307.
2022-01-09 18:58:37 +01:00
penev92
2f6f214bac
Removed a bunch of explicit access modifiers
2022-01-09 18:58:37 +01:00
penev92
413d564f1d
Removed obsolete file stylecop.json
...
It currently has two functions, both of which are covered by our .editorconfig file.
2022-01-09 18:58:37 +01:00
penev92
1326bca65c
Updated .gitignore file
...
Removed some obsolete entries now that there is a new build directory.
2022-01-09 18:58:37 +01:00
Mustafa Alperen Seki
721210eafe
Fix RevealsMap's effect not being removed for non-owners.
2022-01-09 18:53:16 +01:00
penev92
c6dacb50e8
Added hiding of the palette picker in the AssetBrowser
2022-01-09 18:40:32 +01:00
penev92
495faea96b
Updated scale sliders to accout for the new AssetBrowser layout
2022-01-09 18:40:32 +01:00
penev92
b6b417d42f
Fixed AssetBrowserLogic disposing audio streams prematurely
2022-01-09 18:40:32 +01:00
penev92
6fb228ddd1
Fixed Mp3Loader and OggLoader not resetting stream position
2022-01-09 18:40:32 +01:00
penev92
87b92b53a4
Reworked ISoundFormat.LengthInSeconds implementations
2022-01-09 18:40:32 +01:00
penev92
631297417c
Fixed background music playing momentarily in AssetBrowser when switching to a video asset
2022-01-09 18:40:32 +01:00
penev92
001efc9409
Added containing package name to asset tooltip
2022-01-09 18:40:32 +01:00
penev92
8d20487cb6
Added manual playing and stopping of audio in the AssetBrowserLogic
...
Also added visualisation of audio file length and progress and improved asset cleanup.
2022-01-09 18:40:32 +01:00
penev92
abea3a0f74
Fixed AudFormat and WavFormat implementations of ISoundFormat.LengthInSeconds
...
- Fixed a rounding issue in `WavReader.WaveLength()`.
- Fixed `AudReader.SoundLength()` not resetting the stream position.
- Fixed crashes caused by disposed streams because `LengthInSeconds` would try and calculate the length on the fly. It is now precalculated and cached (making it consistent across all 5 current `ISoundFormat` implementations).
- Fixed a crash in `AudReader.LoadSound()`'s `out Func<Stream> result` because that func would try and access the disposed stream's `Length` property. That works for `SegmentStream`, but not for `FileStream`.
- Fixed frameCount/soundLength label positioning in the AssetBrowser window to avoid text clipping .
2022-01-09 18:40:32 +01:00
penev92
8b944e9c82
Added audio playback to the AssetBrowser
2022-01-09 18:40:32 +01:00
penev92
7a9e0863d6
Added a scale slider for sprites in the AssetBrowser
2022-01-09 18:40:32 +01:00
penev92
40c728269c
Added a scale slider for models in the AssetBrowser
2022-01-09 18:40:32 +01:00
penev92
6907081c2b
Paused shellmap music when opening videos in the AssetBrowser
2022-01-09 18:40:32 +01:00
penev92
a058b1f5bd
Split AssetBrowser supported formats
...
Splitting them from one array into separate allows us to then reliably pick how each asset should be presented. Also lets us unhardcode some checks like "if file is .vxl ... else is sprite".
2022-01-09 18:40:32 +01:00
abcdefg30
8ac2815c9e
Fix the first Land ctor not passing targetLineColor on
2022-01-07 01:22:16 +01:00
abcdefg30
942a0c8712
Update an outdated comment in Land.cs
2022-01-07 01:22:16 +01:00
Matthias Mailänder
cdac14b92b
Avoid duplicate field.
2022-01-06 16:10:49 +02:00
Matthias Mailänder
718bf88b9a
Remove superflous null checks
...
and cache a dictionary lookup.
2022-01-06 01:54:27 +01:00
Ivaylo Draganov
eb4de47362
Add support for disabled click sound in scrollbar widget
2022-01-05 21:15:19 +01:00
Ivaylo Draganov
c3dfac7ade
Remove redundant default hotkey UI notice
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
5aeae694be
Use disabled button state for slider thumb
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
bdfe025059
Update introductory prompts to match settings layout
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
8a2b63c944
Update lobby options tab layout to match settings layout
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
9f96d4159a
Update common game ingame info tabs to match settings layout
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
955464ee1d
Update TD game info panel to match the settings panel
2022-01-04 18:35:41 +01:00
Ivaylo Draganov
3ecaf76804
Overhaul settings panel layout
...
- make the panel larger
- place settings widgets in a scroll panel
- arrange settings widgets in two columns
- make tabs in TD vertical
2022-01-04 18:35:41 +01:00
Smittytron
a36eb585d3
Fix HiveGassed regression in Ant03
2022-01-04 12:50:00 +01:00
abcdefg30
bf7ec4aec1
Update nuget packages
2022-01-04 12:34:30 +01:00
abcdefg30
b448f2d324
Disable trimmed publishing
2022-01-04 12:34:30 +01:00
abcdefg30
b12c15ea9d
Update to .NET 6
2022-01-04 12:34:30 +01:00