Braver/BraverLauncher/MainWindow.xaml
ficedula f5c0b28de2 Add battle system UI events
Improve battle targetting - prefer non-dead enemy targets
Add suspended event on screens, pass through to field plugins
Fix footstep looping in Tolk plugin
Add BattleSpeed option
2023-07-05 21:08:59 +01:00

82 lines
5.2 KiB
XML

<Window x:Class="BraverLauncher.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:BraverLauncher"
mc:Ignorable="d"
Title="Braver" Height="450" Width="800">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<TabControl>
<TabItem Header="Paths">
<Grid Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Label Grid.Row="0" x:Name="lblFF7">FF7 Path (should contain 'data' subfolder)</Label>
<TextBox Grid.Row="0" Grid.Column="1" x:Name="txtFF7" AutomationProperties.LabeledBy="{Binding ElementName=lblFF7}" />
<Button Grid.Row="0" Grid.Column="2" x:Name="btnFF7" Padding="5" Click="btnFF7_Click" AutomationProperties.HelpText="Select FF7 Folder">...</Button>
<Label Grid.Row="1" x:Name="lblMovies">Movie Path (folder containing opening.mp4)</Label>
<TextBox Grid.Row="1" Grid.Column="1" x:Name="txtMovies" AutomationProperties.LabeledBy="{Binding ElementName=lblMovies}" />
<Button Grid.Row="1" Grid.Column="2" x:Name="btnMovies" Padding="5" Click="btnMovies_Click" AutomationProperties.HelpText="Select Movie Folder">...</Button>
<Label Grid.Row="2" x:Name="lblExe">Exe path (main FF7 executable)</Label>
<TextBox Grid.Row="2" Grid.Column="1" x:Name="txtExe" AutomationProperties.LabeledBy="{Binding ElementName=lblExe}" />
<Button Grid.Row="2" Grid.Column="2" x:Name="btnExe" Padding="5" Click="btnExe_Click" AutomationProperties.HelpText="Select Exe File">...</Button>
<Label Grid.Row="3" x:Name="lblMusic">Music Path (folder containing pre.ogg)</Label>
<TextBox Grid.Row="3" Grid.Column="1" x:Name="txtMusic" AutomationProperties.LabeledBy="{Binding ElementName=lblMusic}" />
<Button Grid.Row="3" Grid.Column="2" x:Name="btnMusic" Padding="5" Click="btnMusic_Click" AutomationProperties.HelpText="Select Music Folder">...</Button>
<Label Grid.Row="4" x:Name="lblSave">Savegame Path (leave blank to save in Braver folder)</Label>
<TextBox Grid.Row="4" Grid.Column="1" x:Name="txtSave" AutomationProperties.LabeledBy="{Binding ElementName=lblSave}" />
<Button Grid.Row="4" Grid.Column="2" x:Name="btnSave" Padding="5" Click="btnSave_Click" AutomationProperties.HelpText="Select Save Folder">...</Button>
<Label Grid.Row="5" x:Name="lblMusicVolume">Music Volume</Label>
<Slider Grid.Row="5" Grid.Column="1" x:Name="slMusicVolume" Minimum="0" Maximum="100" Value="100" SmallChange="2" LargeChange="10" AutomationProperties.LabeledBy="{Binding ElementName=lblMusicVolume}" />
<Label Grid.Row="6" x:Name="lblBattleSpeed">Battle Speed</Label>
<Slider Grid.Row="6" Grid.Column="1" x:Name="slBattleSpeed" Minimum="0" Maximum="1024" Value="896" SmallChange="16" LargeChange="64" AutomationProperties.LabeledBy="{Binding ElementName=lblBattleSpeed}" />
</Grid>
</TabItem>
<TabItem Header="Plugins">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<ListBox x:Name="lbPlugins" SelectionChanged="lbPlugins_SelectionChanged" />
<Grid x:Name="gPluginConfig" Grid.Column="1">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
</Grid>
</Grid>
</TabItem>
</TabControl>
<Button Grid.Row="1" x:Name="btnLaunch" Padding="5" Margin="5" Click="btnLaunch_Click">Launch Braver</Button>
</Grid>
</Window>