Skip to content

Commit

Permalink
Add Vehicle's Param
Browse files Browse the repository at this point in the history
  • Loading branch information
turtle-insect committed Sep 30, 2017
1 parent 94df0af commit 6110e77
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
13 changes: 13 additions & 0 deletions DQ11/DataContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ public bool GameClear
}
}

public uint Vehicle
{
get
{
return SaveData.Instance().ReadNumber(0x955C, 1);
}

set
{
SaveData.Instance().WriteNumber(0x955C, 1, value);
}
}

public uint GoldHand
{
get
Expand Down
16 changes: 14 additions & 2 deletions DQ11/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
<Label Content="" Grid.Row="7" Grid.Column="2"/>
<Label Content="うちなおしの宝珠" Grid.Row="8"/>
<Label Content="" Grid.Row="8" Grid.Column="2"/>
<Label Content="クリア" Grid.Row="10"/>
<Label Content="乗り物" Grid.Row="10"/>
<Label Content="クリア" Grid.Row="11"/>
<TextBox Grid.Column="1" Text="{Binding PlayHour, UpdateSourceTrigger=PropertyChanged}"/>
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding PlayMinute, UpdateSourceTrigger=PropertyChanged}"/>
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding PlaySecond, UpdateSourceTrigger=PropertyChanged}"/>
Expand All @@ -91,7 +92,18 @@
<TextBox Grid.Row="6" Grid.Column="1" Text="{Binding SmallMedal, UpdateSourceTrigger=PropertyChanged}"/>
<TextBox Grid.Row="7" Grid.Column="1" Text="{Binding DepositSmallMedal, UpdateSourceTrigger=PropertyChanged}"/>
<TextBox Grid.Row="8" Grid.Column="1" Text="{Binding RebuildJewel, UpdateSourceTrigger=PropertyChanged}"/>
<CheckBox Grid.Row="10" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding GameClear}"/>
<ComboBox Grid.Row="10" Grid.Column="1" SelectedIndex="{Binding Vehicle}">
<ComboBoxItem Content="無し"/>
<ComboBoxItem Content=""/>
<ComboBoxItem Content="パールモービル"/>
<ComboBoxItem Content="スカルライダー"/>
<ComboBoxItem Content="ビーライダー"/>
<ComboBoxItem Content="ドラゴンライダー"/>
<ComboBoxItem Content="デュラハンナイト"/>
<ComboBoxItem Content="バロンナイト"/>
<ComboBoxItem Content=""/>
</ComboBox>
<CheckBox Grid.Row="11" Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding GameClear}"/>
</Grid>
<Grid Grid.Column="2">
<Grid.ColumnDefinitions>
Expand Down

0 comments on commit 6110e77

Please sign in to comment.