Skip to content

Commit

Permalink
Merged develop into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KodamaSakuno committed Dec 2, 2016
2 parents 4a7a5d8 + 1c88101 commit 9bd0697
Show file tree
Hide file tree
Showing 160 changed files with 2,716 additions and 1,570 deletions.
19 changes: 9 additions & 10 deletions HeavenlyWind.Base/HeavenlyWind.Base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath>$(SolutionDir)packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="PresentationCore" />
Expand All @@ -41,23 +41,23 @@
<Reference Include="System.Core" />
<Reference Include="System.Data" />
<Reference Include="System.Data.SQLite, Version=1.0.103.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
<HintPath>..\packages\System.Data.SQLite.Core.1.0.103\lib\net45\System.Data.SQLite.dll</HintPath>
<HintPath>$(SolutionDir)packages\System.Data.SQLite.Core.1.0.103\lib\net45\System.Data.SQLite.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Reactive.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath>
<HintPath>$(SolutionDir)packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Reactive.Interfaces, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
<HintPath>$(SolutionDir)packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Reactive.Linq, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath>
<HintPath>$(SolutionDir)packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Reactive.PlatformServices, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath>
<HintPath>$(SolutionDir)packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System.Xaml" />
Expand Down Expand Up @@ -85,8 +85,6 @@
<Compile Include="GameConstants.cs" />
<Compile Include="HasFlagExtension.cs" />
<Compile Include="IntegerRangeValidationRule.cs" />
<Compile Include="Internal\OldPreference.cs" />
<Compile Include="Internal\OldPreferenceMappingAttribute.cs" />
<Compile Include="LanguageInfo.cs" />
<Compile Include="LogItem.cs" />
<Compile Include="Logger.cs" />
Expand Down Expand Up @@ -121,6 +119,7 @@
<Compile Include="Models\Preferences\WindowPreference.cs" />
<Compile Include="Models\Preferences\WindowsPreference.cs" />
<Compile Include="Models\ScreenshotImageFormat.cs" />
<Compile Include="Models\StatusBarSortieInfoPlacement.cs" />
<Compile Include="Models\UpdateChannel.cs" />
<Compile Include="Models\UpdateNotificationMode.cs" />
<Compile Include="MultiplyConverter.cs" />
Expand Down Expand Up @@ -159,12 +158,12 @@
<EmbeddedResource Include="Resources\Strings\SimplifiedChinese.xml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('..\packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets')" />
<Import Project="$(SolutionDir)packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('$(SolutionDir)packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>このプロジェクトは、このコンピューター上にない NuGet パッケージを参照しています。それらのパッケージをダウンロードするには、[NuGet パッケージの復元] を使用します。詳細については、http://go.microsoft.com/fwlink/?LinkID=322105 を参照してください。見つからないファイルは {0} です。</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets'))" />
<Error Condition="!Exists('$(SolutionDir)packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)packages\System.Data.SQLite.Core.1.0.103\build\net45\System.Data.SQLite.Core.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
285 changes: 0 additions & 285 deletions HeavenlyWind.Base/Internal/OldPreference.cs

This file was deleted.

15 changes: 0 additions & 15 deletions HeavenlyWind.Base/Internal/OldPreferenceMappingAttribute.cs

This file was deleted.

2 changes: 2 additions & 0 deletions HeavenlyWind.Base/Models/Preferences/GamePreference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ public class GamePreference
public Property<bool> ShipOverview_ExceptSparklingShips { get; } = new Property<bool>("game.overview.ship.filter.except.sparkling");
public Property<bool> ShipOverview_ExceptLevel1Ships { get; } = new Property<bool>("game.overview.ship.filter.except.lv1");
public Property<bool> ShipOverview_ExceptMaxModernizationShips { get; } = new Property<bool>("game.overview.ship.filter.except.maxmodernization");

public Property<bool> DisableHeavyDamageBlinkingWarning { get; } = new Property<bool>("game.disable_heavy_damage_blinking_warning");
}
}
1 change: 1 addition & 0 deletions HeavenlyWind.Base/Models/Preferences/NetworkPreference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
public class NetworkPreference
{
public Property<bool> PortCustomization { get; } = new Property<bool>("network.port.customization", false);
public Property<int> Port { get; } = new Property<int>("network.port", 15820);

public Property<bool> AllowRequestsFromOtherDevices { get; } = new Property<bool>("network.allow_remote_requests");
Expand Down
2 changes: 2 additions & 0 deletions HeavenlyWind.Base/Models/Preferences/Property`T.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ internal override void Reload(object rpValue)
}

OnPropertyReloaded();

OnPropertyChanged(nameof(Value));
}

public override void Save()
Expand Down
Loading

0 comments on commit 9bd0697

Please sign in to comment.