Skip to content

Commit

Permalink
Remove regions
Browse files Browse the repository at this point in the history
  • Loading branch information
crashfort committed Aug 27, 2017
1 parent bc414a6 commit 68c448a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Source/HammerPatch/Application/Modules/Save Load/SaveLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ namespace
{
namespace Module_MapDocLoad
{
#pragma region Init

/*
0x10097AC0 static Hammer IDA address May 8 2017
*/
Expand All @@ -309,8 +307,6 @@ namespace

HAP::HookModuleMask<ThisFunction> ThisHook{"hammer_dll.dll", "MapDocLoad", Override, Pattern, Mask};

#pragma endregion

bool __fastcall Override(void* thisptr, void* edx, const char* filename, bool unk)
{
SharedData.IsLoading = true;
Expand Down Expand Up @@ -360,8 +356,6 @@ namespace

namespace Module_MapDocSave
{
#pragma region Init

/*
0x100A36E0 static Hammer IDA address May 8 2017
*/
Expand All @@ -382,8 +376,6 @@ namespace

HAP::HookModuleMask<ThisFunction> ThisHook{"hammer_dll.dll", "MapDocSave", Override, Pattern, Mask};

#pragma endregion

bool __fastcall Override(void* thisptr, void* edx, const char* filename, int saveflags)
{
SharedData.IsSaving = true;
Expand Down Expand Up @@ -444,8 +436,6 @@ namespace

namespace Module_MapSolidSave
{
#pragma region Init

/*
0x10149C90 static Hammer IDA address May 8 2017
*/
Expand All @@ -465,8 +455,6 @@ namespace

HAP::HookModuleMask<ThisFunction> ThisHook{"hammer_dll.dll", "MapSolidSave", Override, Pattern, Mask};

#pragma endregion

int __fastcall Override(void* thisptr, void* edx, void* file, void* saveinfo)
{
if (SharedData.VertFilePtr)
Expand All @@ -491,8 +479,6 @@ namespace

namespace Module_MapFaceCreateFaceFromWinding
{
#pragma region Init

/*
0x101302A0 static Hammer IDA address May 9 2017
*/
Expand All @@ -512,8 +498,6 @@ namespace

HAP::HookModuleMask<ThisFunction> ThisHook{"hammer_dll.dll", "MapFaceCreateFaceFromWinding", Override, Pattern, Mask};

#pragma endregion

void __fastcall Override(void* thisptr, void* edx, PlaneWinding* winding, int flags)
{
if (SharedData.IsLoading)
Expand Down Expand Up @@ -544,8 +528,6 @@ namespace

namespace Module_MapFaceSave
{
#pragma region Init

/*
0x10135C30 static Hammer IDA address May 7 2017
*/
Expand All @@ -565,8 +547,6 @@ namespace

HAP::HookModuleMask<ThisFunction> ThisHook{"hammer_dll.dll", "MapFaceSave", Override, Pattern, Mask};

#pragma endregion

int __fastcall Override(void* thisptr, void* edx, void* file, void* saveinfo)
{
if (SharedData.VertFilePtr)
Expand Down

0 comments on commit 68c448a

Please sign in to comment.