Skip to content

Commit 36c6bcb

Browse files
committed
xrAICore: fix case-sensitive header names
xrEngine: fix case-sensitive header names xrNetServer: fix case-sensitive header names
1 parent 756c9c0 commit 36c6bcb

17 files changed

+87
-17
lines changed

src/xrAICore/CMakeLists.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
project(xrAICore)
2+
3+
list(APPEND DIRS
4+
"."
5+
"Components"
6+
"Navigation"
7+
"Navigation/PatrolPath"
8+
"Navigation/PathManagers"
9+
)
10+
11+
add_dir("${DIRS}")
12+
13+
include_directories(
14+
${CMAKE_CURRENT_SOURCE_DIR}/..
15+
${CMAKE_CURRENT_SOURCE_DIR}/../../Externals/luabind
16+
${CMAKE_CURRENT_SOURCE_DIR}/../../sdk/include
17+
)
18+
19+
#list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.cpp")
20+
#list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
21+
22+
add_definitions(-DXRAICORE_EXPORTS -DAI_COMPILER -D_SECURE_SCL=0)
23+
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
24+
25+
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
26+
target_link_libraries(${PROJECT_NAME} xrCore xrAPI xrScriptEngine luabind LuaJIT)

src/xrAICore/Navigation/graph_edge.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#pragma once
1010

11-
#include <loki/emptytype.h>
11+
#include <loki/EmptyType.h>
1212

1313
template <typename _edge_weight_type, typename _vertex_type>
1414
class CEdgeBase

src/xrEngine/CMakeLists.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
project(xrEngine)
2+
3+
list(APPEND DIRS
4+
"."
5+
)
6+
7+
add_dir("${DIRS}")
8+
9+
include_directories(
10+
${CMAKE_CURRENT_SOURCE_DIR}/..
11+
${CMAKE_CURRENT_SOURCE_DIR}/../../Externals/OpenAutomate/inc
12+
${CMAKE_CURRENT_SOURCE_DIR}/../../Externals/FreeImage/Dist/x64
13+
${CMAKE_CURRENT_SOURCE_DIR}/../../sdk/include
14+
)
15+
16+
#list(REMOVE_ITEM ${PROJECT_NAME}__SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.cpp")
17+
#list(REMOVE_ITEM ${PROJECT_NAME}__INCLUDES "${CMAKE_CURRENT_SOURCE_DIR}/./xr_cda.h")
18+
19+
add_definitions(-DENGINE_BUILD)
20+
add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}__SOURCES} ${${PROJECT_NAME}__INCLUDES})
21+
22+
set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
23+
target_link_libraries(${PROJECT_NAME} xrCore luabind xrAPI xrSound xrScriptEngine LuaJIT xrCDB xrPhysics)

src/xrEngine/Device_destroy.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include "Include/xrRender/DrawUtils.h"
33
#include "Render.h"
44
#include "IGame_Persistent.h"
5-
#include "xr_IOConsole.h"
5+
#include "XR_IOConsole.h"
66
#include "xr_input.h"
77

88
void CRenderDevice::Destroy()

src/xrEngine/Environment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "xrCore/xrCore_benchmark_macros.h"
1111
#include "xrCommon/xr_vector.h"
1212
#include "xrCommon/xr_map.h"
13-
#include "xrSound/Sound.h"
13+
#include "xrSound/sound.h"
1414

1515
// refs
1616
class ENGINE_API IRender_Visual;

src/xrEngine/FDemoRecord.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "x_ray.h"
44

55
#include "GameFont.h"
6-
#include "fDemoRecord.h"
6+
#include "FDemoRecord.h"
77
#include "XR_IOConsole.h"
88
#include "xr_input.h"
99
#include "xr_object.h"

src/xrEngine/Feel_Sound.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#pragma once
2-
#include "xrSound/Sound.h"
2+
#include "xrSound/sound.h"
33

44
// fwd. decl.
55
class IGameObject;

src/xrEngine/IGame_Level.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "IInputReceiver.h"
66
#include "xr_object_list.h"
77
#include "xrCDB/xr_area.h"
8-
#include "xrSound/Sound.h"
8+
#include "xrSound/sound.h"
99
#include "xrCore/FixedVector.h"
1010
#include "EngineAPI.h"
1111
#include "EventAPI.h"

src/xrEngine/stdafx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "xrCore/log.h"
2525
#endif
2626
#include "device.h"
27-
#include "xrCore/fs.h"
27+
#include "xrCore/FS.h"
2828

2929
#include "xrCDB/xrXRC.h"
3030

src/xrEngine/xrTheora_Stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "stdafx.h"
2-
#include "xrtheora_stream.h"
2+
#include "xrTheora_Stream.h"
33

44
#ifdef _EDITOR
55
//# pragma comment(lib, "x:\\oggB.lib")

0 commit comments

Comments
 (0)