Skip to content

Commit

Permalink
Delete copy protection remainings.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Jan 29, 2016
1 parent 32db2cf commit 2ee0035
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 65 deletions.
51 changes: 0 additions & 51 deletions src/xrEngine/CopyProtection.h

This file was deleted.

3 changes: 0 additions & 3 deletions src/xrEngine/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "resource.h"
#include "LightAnimLibrary.h"
#include "xrCDB/ISpatial.h"
#include "CopyProtection.h"
#include "Text_Console.h"
#include <process.h>
#include <locale.h>
Expand Down Expand Up @@ -78,7 +77,6 @@ void InitEngine()
{
Engine.Initialize();
Device.Initialize();
CheckCopyProtection();
}

static void InitEngineExt()
Expand Down Expand Up @@ -246,7 +244,6 @@ void Startup()
DestroyWindow(logoWindow);
logoWindow = NULL;
// Main cycle
CheckCopyProtection();
Memory.mem_usage();
Device.Run();
// Destroy APP
Expand Down
7 changes: 0 additions & 7 deletions src/xrEngine/x_ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
#include "std_classes.h"
#include "GameFont.h"
#include "xrCDB/ISpatial.h"
#include "CopyProtection.h"

#include "xrSASH.h"
#include "xrServerEntities/smart_cast.h"

Expand Down Expand Up @@ -259,8 +257,6 @@ void CApplication::LoadBegin()
#endif
phase_timer.Start();
load_stage = 0;

CheckCopyProtection();
}
}

Expand Down Expand Up @@ -301,7 +297,6 @@ void CApplication::LoadDraw()
load_draw_internal();

Device.End();
CheckCopyProtection();
}

void CApplication::LoadTitleInt(LPCSTR str1, LPCSTR str2, LPCSTR str3)
Expand Down Expand Up @@ -426,8 +421,6 @@ void CApplication::Level_Set(u32 L)

if (path[0])
m_pRender->setLevelLogo(path);

CheckCopyProtection();
}

int CApplication::Level_ID(LPCSTR name, LPCSTR ver, bool bSet)
Expand Down
1 change: 0 additions & 1 deletion src/xrEngine/xrEngine.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,6 @@
<ClInclude Include="CameraDefs.h" />
<ClInclude Include="CameraManager.h" />
<ClInclude Include="cf_dynamic_mesh.h" />
<ClInclude Include="CopyProtection.h" />
<ClInclude Include="CustomHUD.h" />
<ClInclude Include="defines.h" />
<ClInclude Include="device.h" />
Expand Down
3 changes: 0 additions & 3 deletions src/xrEngine/xrEngine.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="CopyProtection.h">
<Filter>General</Filter>
</ClInclude>
<ClInclude Include="defines.h">
<Filter>General</Filter>
</ClInclude>
Expand Down

0 comments on commit 2ee0035

Please sign in to comment.