Skip to content

Commit

Permalink
Delete xrEngine/dedicated_server_only.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Nov 11, 2015
1 parent 1238327 commit 77ba564
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions src/xrEngine/Device_Initialize.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "stdafx.h"
#include "resource.h"
#include "dedicated_server_only.h"

#ifdef INGAME_EDITOR
# include "Include/editor/ide.hpp"
# include "engine_impl.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/xrEngine/Device_create.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "stdafx.h"
#include "Include/xrRender/DrawUtils.h"
#include "Render.h"
#include "dedicated_server_only.h"
#include "xrCDB/xrXRC.h"

extern XRCDB_API BOOL* cdb_bDebug;
Expand Down
1 change: 0 additions & 1 deletion src/xrEngine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

#include "stdafx.h"
#include "Engine.h"
#include "dedicated_server_only.h"

CEngine Engine;

Expand Down
8 changes: 0 additions & 8 deletions src/xrEngine/dedicated_server_only.h

This file was deleted.

5 changes: 0 additions & 5 deletions src/xrEngine/no_single.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
#include "dedicated_server_only.h"

//#define NO_SINGLE

#ifdef DEDICATED_SERVER_ONLY
# define NO_SINGLE
#endif //#ifdef DEDICATED_SERVER_ONLY
2 changes: 0 additions & 2 deletions src/xrEngine/x_ray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#include "stdafx.h"
#include "IGame_Level.h"
#include "IGame_Persistent.h"

#include "dedicated_server_only.h"
#include "no_single.h"
#include "xrNetServer/NET_AuthCheck.h"

Expand Down
1 change: 0 additions & 1 deletion src/xrEngine/xrEngine.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,6 @@
<ClInclude Include="cf_dynamic_mesh.h" />
<ClInclude Include="CopyProtection.h" />
<ClInclude Include="CustomHUD.h" />
<ClInclude Include="dedicated_server_only.h" />
<ClInclude Include="defines.h" />
<ClInclude Include="device.h" />
<ClInclude Include="editor_environment_ambients_ambient.hpp" />
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 @@ -237,9 +237,6 @@
<ClInclude Include="CopyProtection.h">
<Filter>General</Filter>
</ClInclude>
<ClInclude Include="dedicated_server_only.h">
<Filter>General</Filter>
</ClInclude>
<ClInclude Include="defines.h">
<Filter>General</Filter>
</ClInclude>
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/UIDialogHolder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include "xrEngine/dedicated_server_only.h"
#include "xrEngine/no_single.h"

class CUIDialogWnd;
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/ai_space.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "alife_simulator.h"
#include "moving_objects.h"
#include "doors_manager.h"
#include "xrEngine/dedicated_server_only.h"
#include "xrEngine/no_single.h"

ENGINE_API bool g_dedicated_server;
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/game_sv_single.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include "gamepersistent.h"
#include "xrServer.h"
#include "xrEngine/x_ray.h"
#include "xrEngine/dedicated_server_only.h"
#include "xrEngine/no_single.h"

game_sv_Single::game_sv_Single ()
Expand Down
5 changes: 0 additions & 5 deletions src/xrServerEntities/object_factory_script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
////////////////////////////////////////////////////////////////////////////

#include "pch_script.h"

#ifndef DEDICATED_SERVER_ONLY

#include "object_factory.h"
#include "ai_space.h"
#include "xrScriptEngine/script_engine.hpp"
Expand Down Expand Up @@ -107,5 +104,3 @@ SCRIPT_EXPORT(CObjectFactory, (),
.def("register", (void (CObjectFactory::*)(LPCSTR,LPCSTR,LPCSTR))(&CObjectFactory::register_script_class))
];
});

#endif // #ifndef DEDICATED_SERVER_ONLY

0 comments on commit 77ba564

Please sign in to comment.