Skip to content

Commit

Permalink
Split Linked Game and Hero's Quest in to two different fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
kabili207 committed Feb 28, 2015
1 parent 3592e5a commit f28c74b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion OracleHack
4 changes: 2 additions & 2 deletions OracleWin/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
</GroupBox>
<GroupBox Header="Game Type" Height="79" HorizontalAlignment="Left" Margin="140,12,0,0" Name="groupBox2" VerticalAlignment="Top" Width="111">
<Grid>
<local:EnumRadioButton Content="Linked Quest" EnumBinding="{Binding Quest}" EnumValue="LinkedGame" Height="16" HorizontalAlignment="Left" Margin="6,8,0,0" x:Name="rdoLinked" VerticalAlignment="Top" IsChecked="True" />
<local:EnumRadioButton Content="Hero's Quest" EnumBinding="{Binding Quest}" EnumValue="HerosSecret" Height="16" HorizontalAlignment="Left" Margin="6,34,0,0" x:Name="rdoHero" VerticalAlignment="Top" />
<CheckBox Content="Linked Game" IsChecked="{Binding IsLinkedGame}" Height="16" HorizontalAlignment="Left" Margin="6,8,0,0" x:Name="chkLinked" VerticalAlignment="Top" />
<CheckBox Content="Hero's Quest" IsChecked="{Binding IsHeroQuest}" Height="16" HorizontalAlignment="Left" Margin="6,34,0,0" x:Name="chkHero" VerticalAlignment="Top" />
</Grid>
</GroupBox>
<TextBox Text="{Binding Hero}" Height="23" HorizontalAlignment="Left" Margin="52,111,0,0" Name="textBox1" VerticalAlignment="Top" Width="74" MaxLength="5" />
Expand Down
18 changes: 14 additions & 4 deletions OracleWin/OracleWin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,19 @@
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateEnabled>true</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ProductName>Oracle Hack</ProductName>
<PublisherName>Andrew Nagle</PublisherName>
<WebPage>publish.htm</WebPage>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>2</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>2.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<PublishWizardCompleted>true</PublishWizardCompleted>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down Expand Up @@ -67,7 +69,7 @@
<GenerateManifests>true</GenerateManifests>
</PropertyGroup>
<PropertyGroup>
<SignManifests>true</SignManifests>
<SignManifests>false</SignManifests>
</PropertyGroup>
<ItemGroup>
<Reference Include="Accessibility" />
Expand Down Expand Up @@ -236,6 +238,14 @@
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<FileAssociation Include=".zora">
<Visible>False</Visible>
<Description>Zelda Oracle Game Info</Description>
<Progid>OracleHack</Progid>
<DefaultIcon>Farore.ico</DefaultIcon>
</FileAssociation>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- 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
6 changes: 3 additions & 3 deletions OracleWin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("OracleWin")]
[assembly: AssemblyCopyright("Copyright © Andrew \"Kabili\" Nagle 2013 - 2014")]
[assembly: AssemblyCopyright("Copyright © Andrew \"Kabili\" Nagle 2013 - 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

Expand Down Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.0.*")]
[assembly: AssemblyInformationalVersion("2.0")]
[assembly: AssemblyVersion("2.1.0.*")]
[assembly: AssemblyInformationalVersion("2.1")]
2 changes: 1 addition & 1 deletion OracleWin/ViewSecretsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private void SetSecrets()
uxGameSecret.SetSecret(_info.CreateGameSecret());
uxRingSecret.SetSecret(_info.CreateRingSecret());

if (_info.Quest == Quest.LinkedGame)
if (_info.IsLinkedGame)
{
bool returnSecret = true;
uxMemSecret01.SetSecret(_info.CreateMemorySecret(Memory.ClockShopKingZora, returnSecret));
Expand Down

0 comments on commit f28c74b

Please sign in to comment.