Skip to content

Commit

Permalink
Beep
Browse files Browse the repository at this point in the history
  • Loading branch information
Sui committed Nov 7, 2016
1 parent 7e64f09 commit 488505e
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 5 deletions.
Binary file modified AVPPH_CustomLauncher.sdf
Binary file not shown.
89 changes: 87 additions & 2 deletions MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 23 additions & 1 deletion MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ private void mainform_FormClosing(object sender, FormClosingEventArgs e)

private void mainform_LocationChanged(object sender, EventArgs e)
{
if (this.WindowState == FormWindowState.Normal)
if (this.WindowState == FormWindowState.Normal && this.DesktopLocation.X > 0 && this.DesktopLocation.Y > 0 && this.DesktopLocation.X < 14000)
{
_posX = this.DesktopLocation.X;
_posY = this.DesktopLocation.Y;
Expand All @@ -291,6 +291,7 @@ private void mainform_LocationChanged(object sender, EventArgs e)

private void B_DisplaySettings_Click(object sender, EventArgs e)
{
_GraphicsSettings.StartPosition = FormStartPosition.Manual;
_GraphicsSettings.SetDesktopLocation(this.DesktopLocation.X + 10, this.DesktopLocation.Y + 10);
_GraphicsSettings.ShowDialog();
}
Expand Down Expand Up @@ -333,5 +334,26 @@ private bool checkIfPosIsCorrect(uint PosX, uint PosY)
return false;
}
#endregion

private void projectPageLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://github.com/SuiMachine/AVP2PH-Custom-Launcher");
}

private void donatePage_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("https://www.gamingforgood.net/s/suicidemachine/widget");
}

private void pcgwLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://pcgamingwiki.com/w/index.php?title=Aliens_versus_Predator_2");

}

private void WSGFLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
Process.Start("http://www.wsgf.org/dr/aliens-versus-predator-2-gold-edition");
}
}
}
4 changes: 2 additions & 2 deletions Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,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("0.6.4.0")]
[assembly: AssemblyFileVersion("0.6.4.0")]
[assembly: AssemblyVersion("0.6.5.0")]
[assembly: AssemblyFileVersion("0.6.5.0")]
Binary file modified Release/AVP2PH_CustomLauncher.exe
Binary file not shown.
Binary file modified Release/widescreenfix.dll
Binary file not shown.

0 comments on commit 488505e

Please sign in to comment.