Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Knossos.NET/ViewModels/Templates/DevModEditorViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ internal void PlayMod(object type)
case "release": Knossos.PlayMod(ActiveVersion,FsoExecType.Release); break;
case "fred2": Knossos.PlayMod(ActiveVersion, FsoExecType.Fred2); break;
case "qtfred": Knossos.PlayMod(ActiveVersion, FsoExecType.QtFred); break;
case "qtfreddebug": Knossos.PlayMod(ActiveVersion, FsoExecType.QtFredDebug); break;
case "debug": Knossos.PlayMod(ActiveVersion, FsoExecType.Debug); break;
case "fred2debug": Knossos.PlayMod(ActiveVersion, FsoExecType.Fred2Debug); break;
}
Expand Down
3 changes: 2 additions & 1 deletion Knossos.NET/Views/Templates/DevModEditorView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@
<!--MODS-->
<StackPanel Margin="10" HorizontalAlignment="Center" IsVisible="{Binding !IsEngineBuild}">
<Button Command="{Binding PlayMod}" CommandParameter="release" Classes="Accept" Margin="2" Width="150">Play</Button>
<Button Command="{Binding PlayMod}" CommandParameter="qtfred" Classes="Secondary" Margin="2" Width="150">QtFred</Button>
<Button Command="{Binding PlayMod}" CommandParameter="fred2" Classes="Secondary" Margin="2" Width="150">Fred2</Button>
<Button Command="{Binding PlayMod}" CommandParameter="debug" Classes="Settings" Margin="2" Width="150">Debug</Button>
<Button Command="{Binding PlayMod}" CommandParameter="qtfreddebug" Classes="Settings" Margin="2" Width="150">QtFred Debug</Button>
<Button Command="{Binding PlayMod}" CommandParameter="fred2debug" Classes="Settings" Margin="2" Width="150">Fred2 Debug</Button>
<Button Command="{Binding PlayMod}" CommandParameter="qtfred" Classes="Settings" Margin="2" Width="150">QtFred</Button>
<Button Command="{Binding OpenModFolder}" Classes="Quaternary" Margin="2" Width="150">Open Folder</Button>
</StackPanel>
<!--Engine Builds-->
Expand Down
4 changes: 2 additions & 2 deletions Knossos.NET/Views/Templates/ModCardView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
</TabItem.Header>
<StackPanel Margin="5">
<Button Command="{Binding ButtonCommand}" CommandParameter="playvr" Content="Play in VR" Classes="Accept Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="100" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="fred2" Content="Fred2" Classes="Secondary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="100" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="qtfred" Content="QtFred" Classes="Settings Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="100" IsVisible="{Binding IsQtFredAvailable}"></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="fred2" Content="Fred2" Classes="Secondary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="100" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="delete" Content="Delete" Classes="Cancel Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="100" ></Button>
</StackPanel>
</TabItem>
Expand All @@ -68,8 +68,8 @@
</TabItem.Header>
<StackPanel Margin="5">
<Button Command="{Binding ButtonCommand}" CommandParameter="debug" Content="FSO Debug" Classes="Primary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="115" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="fred2debug" Content="Fred2 Debug" Classes="Secondary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="115" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="qtfreddebug" Content="QtFred Debug" Classes="Settings Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="115" IsVisible="{Binding IsQtFredDebugAvailable}"></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="fred2debug" Content="Fred2 Debug" Classes="Secondary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="115" ></Button>
<Button Command="{Binding ButtonCommand}" CommandParameter="logfile" Content="Open Logfile" Classes="Quaternary Rounded" HorizontalAlignment="Center" Margin="0,2,0,0" Width="115" ></Button>
</StackPanel>
</TabItem>
Expand Down