Skip to content

Commit 9aa05e3

Browse files
Merge pull request #266 from Pear-231/AudioEditor
General bug fixes and improvements and Audio updates
2 parents a3b09fb + 9bfcaae commit 9aa05e3

File tree

316 files changed

+16291
-9595
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

316 files changed

+16291
-9595
lines changed

AssetEditor.sln

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.5.33516.290
3+
# Visual Studio Version 18
4+
VisualStudioVersion = 18.0.11111.16 d18.0
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Testing", "Testing", "{18424B6A-CB8A-4CE1-935C-72459F31521B}"
77
EndProject
@@ -90,6 +90,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Editors.DatabaseEditor", "E
9090
EndProject
9191
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Utility.DatabaseSchemaGenerator", "Editors\DatabaseEditor\Utility.DatabaseSchemaGenerator\Utility.DatabaseSchemaGenerator.csproj", "{0298ED36-AE77-4CC3-9A46-40D700A3C225}"
9292
EndProject
93+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Audio", "Audio", "{4D35FFE2-8490-4694-8981-654016F2BD3D}"
94+
EndProject
9395
Global
9496
GlobalSection(SolutionConfigurationPlatforms) = preSolution
9597
Debug|Any CPU = Debug|Any CPU
@@ -232,7 +234,7 @@ Global
232234
{CAEB33BF-48DF-4388-BE6B-7D7ABBB9414B} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
233235
{EAFBC3D8-A146-4BA3-8024-DE4E20D3C884} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
234236
{8E55B123-C8E5-4D65-AAAA-C4DC4713CB8E} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
235-
{410AC3F4-021C-4993-BCCA-1810D153075D} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
237+
{410AC3F4-021C-4993-BCCA-1810D153075D} = {4D35FFE2-8490-4694-8981-654016F2BD3D}
236238
{4FA1E72D-8764-4E6E-8C3A-B6BFE0821B5C} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
237239
{F513A090-CC3F-4DB4-8332-50EB3FDA5A37} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
238240
{0B14A236-AAE0-4E9B-A41E-4AF9DD976BA7} = {18424B6A-CB8A-4CE1-935C-72459F31521B}
@@ -257,6 +259,7 @@ Global
257259
{5A4DFCA4-6884-49D2-BA24-A9C8676A0C77} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
258260
{BEE61E8C-B25D-4982-9C42-6131AED41B48} = {5A4DFCA4-6884-49D2-BA24-A9C8676A0C77}
259261
{0298ED36-AE77-4CC3-9A46-40D700A3C225} = {5A4DFCA4-6884-49D2-BA24-A9C8676A0C77}
262+
{4D35FFE2-8490-4694-8981-654016F2BD3D} = {07AC615B-A8FC-4E1A-BDD5-BC11452429A0}
260263
EndGlobalSection
261264
GlobalSection(ExtensibilityGlobals) = postSolution
262265
SolutionGuid = {AB5968F3-98ED-4AFF-98EA-0DBEDCACADF2}

AssetEditor/AssetEditor.csproj

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@
2828
<ProjectReference Include="..\Shared\SharedUI\Shared.Ui.csproj" />
2929
</ItemGroup>
3030

31+
<ItemGroup>
32+
<Content Include="..\GameWorld\ContentProject\Content\bin\Windows\Content\**\*.*">
33+
<Link>Content\%(RecursiveDir)%(Filename)%(Extension)</Link>
34+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
35+
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
36+
</Content>
37+
</ItemGroup>
38+
3139
<PropertyGroup>
3240
<DebugType>embedded</DebugType>
3341
<Authors>AssetEdCommunity</Authors>
@@ -43,22 +51,19 @@
4351
<None Include="..\.editorconfig" />
4452
</ItemGroup>
4553

46-
47-
4854
<ItemGroup>
4955
<Resource Include="AssetEditorIcon.png" />
5056
</ItemGroup>
5157

5258
<PropertyGroup>
5359
<!--
54-
Make sure any documentation comments which are included in code get checked for syntax during the build, but do
55-
not report warnings for missing comments.
56-
CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do)
57-
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
58-
CS1712: Type parameter 'type_parameter' has no matching typeparam tag in the XML comment on 'type_or_member' (but other type parameters do)
59-
-->
60+
Make sure any documentation comments which are included in code get checked for syntax during the build, but do
61+
not report warnings for missing comments.
62+
CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do)
63+
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
64+
CS1712: Type parameter 'type_parameter' has no matching typeparam tag in the XML comment on 'type_or_member' (but other type parameters do)
65+
-->
6066
<GenerateDocumentationFile>False</GenerateDocumentationFile>
6167
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>
6268
</PropertyGroup>
63-
6469
</Project>

AssetEditor/ViewModels/SettingsViewModel.cs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ public SettingsViewModel(ApplicationSettingsService settingsService)
3737
RenderEngineBackgroundColours = new ObservableCollection<BackgroundColour>((BackgroundColour[])Enum.GetValues(typeof(BackgroundColour)));
3838
CurrentRenderEngineBackgroundColour = _settingsService.CurrentSettings.RenderEngineBackgroundColour;
3939
StartMaximised = _settingsService.CurrentSettings.StartMaximised;
40-
Games = new ObservableCollection<GameTypeEnum>(GameInformationDatabase.Games.OrderBy(g => g.DisplayName).Select(g => g.Type));
40+
Games = new ObservableCollection<GameTypeEnum>(GameInformationDatabase.Games.Values.OrderBy(game => game.DisplayName).Select(game => game.Type));
4141
CurrentGame = _settingsService.CurrentSettings.CurrentGame;
4242
LoadCaPacksByDefault = _settingsService.CurrentSettings.LoadCaPacksByDefault;
4343
ShowCAWemFiles = _settingsService.CurrentSettings.ShowCAWemFiles;
4444
OnlyLoadLod0ForReferenceMeshes = _settingsService.CurrentSettings.OnlyLoadLod0ForReferenceMeshes;
45-
foreach (var game in GameInformationDatabase.Games.OrderBy(g => g.DisplayName))
45+
foreach (var game in GameInformationDatabase.Games.Values.OrderBy(game => game.DisplayName))
4646
{
4747
GameDirectores.Add(
4848
new GamePathItem()
@@ -56,7 +56,8 @@ public SettingsViewModel(ApplicationSettingsService settingsService)
5656
}
5757

5858

59-
[RelayCommand] private void Save()
59+
[RelayCommand]
60+
private void Save()
6061
{
6162
_settingsService.CurrentSettings.Theme = CurrentTheme;
6263
_settingsService.CurrentSettings.RenderEngineBackgroundColour = CurrentRenderEngineBackgroundColour;
@@ -73,7 +74,8 @@ [RelayCommand] private void Save()
7374
MessageBox.Show("Please restart the tool after updating settings!");
7475
}
7576

76-
[RelayCommand] private void Browse()
77+
[RelayCommand]
78+
private void Browse()
7779
{
7880
var dialog = new OpenFileDialog();
7981
dialog.Filter = "Executable files (*.exe)|*.exe";

Audio

Whitespace-only changes.

0 commit comments

Comments
 (0)