Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
Nitpicking about alphabetizing methods, minor OCD thing
Browse files Browse the repository at this point in the history
Not that much changed, gonna figure out stuff soon I guess.
  • Loading branch information
Johnathon committed Mar 29, 2018
1 parent aed8ba4 commit 97c4e9d
Show file tree
Hide file tree
Showing 34 changed files with 6 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Detour/Detour.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;DETOUR_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>C:\Users\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;%(AdditionalIncludeDirectories);D:\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;C:\Users\joh\Documents\Visual Studio 2017\Project\Wolf\Libraries</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);C:\Users\joh\Documents\Visual Studio 2017\Project\Wolf\Libraries</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand All @@ -75,7 +75,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;DETOUR_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>D:\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;C:\Users\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>D:\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;C:\Users\Johnathon\Documents\Visual Studio 2017\Projects\Wolf\Libraries;%(AdditionalIncludeDirectories);C:\Users\joh\Documents\Visual Studio 2017\Project\Wolf\Libraries</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
Expand Down
22 changes: 4 additions & 18 deletions Elroy/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ namespace Elroy
{
public partial class Form1 : Form
{
private static string SaveFile;

public Form1()
{
InitializeComponent();
Expand All @@ -19,6 +17,7 @@ private void exitToolStripMenuItem_Click(object sender, EventArgs e)
Application.Exit();
}

private static string SaveFile;
private void opemToolStripMenuItem_Click(object sender, EventArgs e)
{
using (var OFD = new OpenFileDialog())
Expand All @@ -30,12 +29,13 @@ private void opemToolStripMenuItem_Click(object sender, EventArgs e)
if (OFD.ShowDialog() != DialogResult.OK)
return;


//Start Parsing Save File Populating Items.
//Check If Save File.
using (var Reader = new BinaryReader(File.Open(OFD.FileName, FileMode.Open, FileAccess.Read)))
{
var SaveHeader = Reader.ReadBytes(10);
var KnownHeader = new byte[] {0xF9, 0x29, 0xCE, 0x54, 0x02, 0x4D, 0x71, 0x04, 0x4D, 0x71};
var KnownHeader = new byte[] { 0xF9, 0x29, 0xCE, 0x54, 0x02, 0x4D, 0x71, 0x04, 0x4D, 0x71 };

if (!KnownHeader.SequenceEqual(SaveHeader))
{
Expand All @@ -47,15 +47,11 @@ private void opemToolStripMenuItem_Click(object sender, EventArgs e)
tabControl1.Enabled = true;
SaveFile = OFD.FileName;
}

SaveStatManager.UpdateSaveStatFromSave(SaveFile);
StoryManager.UpdateCampaignFromSave(ref tabPage3, SaveFile);
}
}

private void DeckEditButton_Click(object Sender, EventArgs Args)
{
var SenderButton = (Button) Sender;
var SenderButton = (Button)Sender;
var Manager = new DeckManager(SenderButton.Name, SaveFile);
Manager.ShowDialog();
}
Expand All @@ -64,17 +60,7 @@ private void SaveToolStripMenuItem_Click(object Sender, EventArgs Args)
{
if (!File.Exists(SaveFile)) return;
var Save = new GameSaveData(SaveFile);

SaveStatManager.WriteSaveStatToSave(SaveFile);
StoryManager.WriteCampaignToSave(ref tabPage3, SaveFile);

Save.FixGameSaveSignatureOnDisk();
}


private void button34_Click(object sender, EventArgs e)
{
MessageBox.Show("This Will Unlock ALL Cards. You Need To Own DLC Cards Before You Can Use Them!", "Unlock ALL Cards!", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
}
Binary file modified bin/Debug/Abaki.exe
Binary file not shown.
Binary file modified bin/Debug/Celtic Guardian.dll
Binary file not shown.
Binary file modified bin/Debug/Cyclone.exe
Binary file not shown.
Binary file modified bin/Debug/Elroy.exe
Binary file not shown.
Binary file modified bin/Debug/Embargo.exe
Binary file not shown.
Binary file modified bin/Debug/Examples/CreateThread.dll
Binary file not shown.
Binary file modified bin/Debug/Examples/Detour.dll
Binary file not shown.
Binary file modified bin/Debug/Examples/MessageBox.dll
Binary file not shown.
Binary file modified bin/Debug/Launch_Ldr.exe
Binary file not shown.
Binary file modified bin/Debug/Lithe.exe
Binary file not shown.
Binary file modified bin/Debug/Onomatopaira.exe
Binary file not shown.
Binary file modified bin/Debug/Plugins/FreeStore.dll
Binary file not shown.
Binary file modified bin/Debug/Previewer.exe
Binary file not shown.
Binary file modified bin/Debug/Relinquished.exe
Binary file not shown.
Binary file modified bin/Debug/Vortex.exe
Binary file not shown.
Binary file modified bin/Debug/Wolf.exe
Binary file not shown.
Binary file modified bin/Release/Abaki.exe
Binary file not shown.
Binary file modified bin/Release/Celtic Guardian.dll
Binary file not shown.
Binary file modified bin/Release/Cyclone.exe
Binary file not shown.
Binary file modified bin/Release/Elroy.exe
Binary file not shown.
Binary file modified bin/Release/Embargo.exe
Binary file not shown.
Binary file modified bin/Release/Examples/CreateThread.dll
Binary file not shown.
Binary file modified bin/Release/Examples/Detour.dll
Binary file not shown.
Binary file modified bin/Release/Examples/MessageBox.dll
Binary file not shown.
Binary file modified bin/Release/Launch_Ldr.exe
Binary file not shown.
Binary file modified bin/Release/Lithe.exe
Binary file not shown.
Binary file modified bin/Release/Onomatopaira.exe
Binary file not shown.
Binary file modified bin/Release/Plugins/FreeStore.dll
Binary file not shown.
Binary file modified bin/Release/Previewer.exe
Binary file not shown.
Binary file modified bin/Release/Relinquished.exe
Binary file not shown.
Binary file modified bin/Release/Vortex.exe
Binary file not shown.
Binary file modified bin/Release/Wolf.exe
Binary file not shown.

0 comments on commit 97c4e9d

Please sign in to comment.