Skip to content

Commit

Permalink
xrGame: Don't build PHNetState.cpp twice, just once in xrPhysics
Browse files Browse the repository at this point in the history
This reverts commit f1852c8. That workaround is no longer necessary.
  • Loading branch information
Zegeri committed Oct 7, 2018
1 parent 0de8a60 commit a0e9867
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/xrCore/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "_vector3d.h"
#include "_vector4.h"
#include "_color.h"
#include "xrstring.h"
#include "xrCommon/math_funcs.h"
#include "xrCommon/xr_stack.h"

Expand Down
2 changes: 1 addition & 1 deletion src/xrCore/net_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#define _INCDEF_NETUTILS_H_
#include <string.h>
#include "xrCore/_types.h"
#include "xrCore/_matrix.h"
#include "client_id.h"
#include "xrCommon/xr_string.h"

Expand All @@ -14,6 +13,7 @@ template <class T> struct _vector4;
typedef _vector4<float> Fvector4;
class shared_str;


#pragma pack(push, 1)

const u32 NET_PacketSizeLimit = 16 * 1024;
Expand Down
1 change: 0 additions & 1 deletion src/xrCore/xrMemory.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "Common/Common.hpp"
#include "_types.h"

#include <tbb/tbb_allocator.h>
Expand Down
1 change: 1 addition & 0 deletions src/xrGame/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ui/UIList
list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ui/UIListWnd.cpp")
list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ui/UIListWnd_script.cpp")
list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/ui/UITextBanner.cpp")
list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/../xrServerEntities/PHNetState.cpp")

list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./atlas_stalkercs_v1.h")
list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./battleye.h")
Expand Down
3 changes: 1 addition & 2 deletions src/xrServerEntities/PHNetState.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#include "stdafx.h"
#pragma hdrstop

#include "PHNetState.h"
#include "xrCore/net_utils.h"
#include "xrCore/FS.h"

//////////////////////////////////////8/////////////////////////////////////////////////////

Expand Down
2 changes: 0 additions & 2 deletions src/xrServerEntities/PHNetState.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#include "xrCommon/xr_vector.h"

class NET_Packet;
class IReader;
class IWriter;

struct SPHNetState
{
Expand Down

0 comments on commit a0e9867

Please sign in to comment.