Skip to content

Commit

Permalink
xrGame: fix some undefined reference
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 6, 2018
1 parent 7500f22 commit 7bb8e6f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/xrCore/net_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class XRCORE_API NET_Packet
~W_guard() { *guarded = false; }
};
void w(const void* p, u32 count);
IC void w_seek(u32 pos, const void* p, u32 count);
void w_seek(u32 pos, const void* p, u32 count);
IC u32 w_tell() { return B.count; }
// writing - utilities
IC void w_float(float a)
Expand Down
1 change: 0 additions & 1 deletion src/xrGame/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ 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
1 change: 1 addition & 0 deletions src/xrGame/ai/monsters/rats/ai_rat_behaviour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include "StdAfx.h"
#include "ai_rat.h"
#include "ai_rat_impl.h"
#include "rat_state_manager.h"
#include "ai_space.h"
#include "xrAICore/Navigation/game_level_cross_table.h"
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/visual_memory_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ CVisibleObject* CVisualMemoryManager::visible_object(const CGameObject* game_obj
return (&*I);
}

IC squad_mask_type CVisualMemoryManager::mask() const
squad_mask_type CVisualMemoryManager::mask() const
{
if (!m_stalker)
return (squad_mask_type(-1));
Expand Down
2 changes: 1 addition & 1 deletion src/xrGame/visual_memory_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class CVisualMemoryManager
IC const RAW_VISIBLES& raw_objects() const;
IC const NOT_YET_VISIBLES& not_yet_visible_objects() const;
const CVisionParameters& current_state() const;
IC squad_mask_type mask() const;
squad_mask_type mask() const;

public:
#ifdef DEBUG
Expand Down

0 comments on commit 7bb8e6f

Please sign in to comment.