Skip to content

Commit

Permalink
Fixed killskills (?) and added Invincible Cars option
Browse files Browse the repository at this point in the history
  • Loading branch information
RobethX committed Mar 7, 2018
1 parent 6e8373b commit 635ebad
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 73 deletions.
12 changes: 9 additions & 3 deletions CoopPatch/cooppatch.txt

Large diffs are not rendered by default.

44 changes: 0 additions & 44 deletions CoopPatch/cooppatch_old.txt

This file was deleted.

25 changes: 0 additions & 25 deletions CoopPatch/cooppatch_oldest.txt

This file was deleted.

8 changes: 8 additions & 0 deletions Patcher/Patcher/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
<DockPanel>
<Menu DockPanel.Dock="Top">
<MenuItem Header="_Patcher">
<MenuItem x:Name="menuOptions" Header="_Options" Click="menuOptions_Click" IsEnabled="False">
<MenuItem x:Name="menuOptionInstantFastTravel" Header="_Instant fast travel" IsCheckable="True" IsChecked="True"/>
<MenuItem x:Name="menuOptionDisableBAR" Header="_Disable BAR" HorizontalAlignment="Left" VerticalAlignment="Top" IsCheckable="True"/>
<MenuItem x:Name="menuOptionInvincibleVehicles" Header="_Invincible vehicles" IsCheckable="True"/>
<MenuItem x:Name="menuOptionAllVehiclesTechnicals" Header="_All vehicles are Bandit Technicals" IsCheckable="True"/>
<MenuItem x:Name="menuOptionNoEnemyRespawnDelay" Header="_No enemy respawn delay" IsCheckable="True"/>
</MenuItem>
<Separator />
<MenuItem x:Name="menuClose" Header="_Close" Click="menuClose_Click" />
</MenuItem>
<MenuItem Header="_Help">
Expand Down
8 changes: 7 additions & 1 deletion Patcher/Patcher/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
using System.Windows;
using System.Windows.Controls;
using System.Windows.Shell;
using Patcher;
using Popup = System.Windows.MessageBox;

namespace Patcher
Expand All @@ -34,7 +35,6 @@ public MainWindow()
{
InitializeComponent();
AdminRelauncher(); //if not in admin mode, relaunch

progressBar.Maximum = 100;
progressBar.Value = 0;

Expand Down Expand Up @@ -188,6 +188,12 @@ public void button_Click(object sender, RoutedEventArgs e) // patch borderlands2
patcherWorker.RunWorkerAsync(); //run the patch function
}


private void menuOptions_Click(object sender, RoutedEventArgs e)
{

}

private void menuClose_Click(object sender, RoutedEventArgs e)
{
patcherWorker.CancelAsync(); //stop patching process
Expand Down

0 comments on commit 635ebad

Please sign in to comment.