Skip to content

Commit 2b2c30d

Browse files
committed
xrGame, xrAICore: fix more warnings
1 parent 5783492 commit 2b2c30d

17 files changed

+18
-24
lines changed

src/xrAICore/Navigation/ai_object_location_impl.h renamed to src/xrAICore/Navigation/ai_object_location.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
// Description : AI object location implementation
77
////////////////////////////////////////////////////////////////////////////
88

9-
#pragma once
10-
119
#include "xrAICore/Navigation/ai_object_location.h"
1210
#include "xrAICore/Navigation/game_graph.h"
1311
#include "xrAICore/Navigation/level_graph.h"
12+
#include "xrGame/ai_space.h"
1413

1514
IC void CAI_ObjectLocation::init()
1615
{

src/xrAICore/Navigation/ai_object_location.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class CAI_ObjectLocation
2828

2929
public:
3030
IC CAI_ObjectLocation();
31-
IC void init();
31+
void init();
3232
IC void reinit();
3333
IC void game_vertex(CVertex const* game_vertex);
3434
IC void game_vertex(_GRAPH_ID const& game_vertex_id);

src/xrGame/CustomMonster.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
#include "item_manager.h"
2424
#include "danger_manager.h"
2525
#include "xrAICore/Navigation/ai_object_location.h"
26-
#include "xrAICore/Navigation/ai_object_location_impl.h"
2726
#include "xrAICore/Navigation/level_graph.h"
2827
#include "xrAICore/Navigation/game_graph.h"
2928
#include "movement_manager.h"

src/xrGame/GameObject.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "game_cl_base.h"
1818
#include "object_factory.h"
1919
#include "Include/xrRender/Kinematics.h"
20-
#include "xrAICore/Navigation/ai_object_location_impl.h"
20+
#include "xrAICore/Navigation/ai_object_location.h"
2121
#include "xrAICore/Navigation/game_graph.h"
2222
#include "ai_debug.h"
2323
#include "xrEngine/IGame_Level.h"

src/xrGame/ai/monsters/ai_monster_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "StdAfx.h"
22
#include "ai_monster_utils.h"
33
#include "Entity.h"
4-
#include "xrAICore/Navigation/ai_object_location_impl.h"
4+
#include "xrAICore/Navigation/ai_object_location.h"
55
#include "ai_space.h"
66
#include "xrAICore/Navigation/level_graph.h"
77
#include "Include/xrRender/Kinematics.h"

src/xrGame/ai/monsters/basemonster/base_monster.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
#include "ai/monsters/ai_monster_squad.h"
4040
#include "Actor.h"
4141
#include "xrAICore/Navigation/ai_object_location.h"
42-
#include "xrAICore/Navigation/ai_object_location_impl.h"
4342
#include "ai_space.h"
4443
#include "xrScriptEngine/script_engine.hpp"
4544
#include "ai/monsters/anti_aim_ability.h"

src/xrGame/ai/monsters/rats/ai_rat.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "Include/xrRender/KinematicsAnimated.h"
1818
#include "detail_path_manager.h"
1919
#include "xrAICore/Navigation/ai_object_location.h"
20-
#include "xrAICore/Navigation/ai_object_location_impl.h"
2120
#include "movement_manager.h"
2221
#include "location_manager.h"
2322
#include "xrServerEntities/ai_sounds.h"

src/xrGame/ai/monsters/rats/ai_rat_templates.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "xrAICore/Navigation/game_graph.h"
1313
#include "magic_box3.h"
1414
#include "Include/xrRender/RenderVisual.h"
15-
#include "xrAICore/Navigation/ai_object_location_impl.h"
15+
#include "xrAICore/Navigation/ai_object_location.h"
1616
#include "xrAICore/Navigation/level_graph.h"
1717
#include "movement_manager.h"
1818
#include "location_manager.h"

src/xrGame/ai/stalker/ai_stalker.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include "memory_manager.h"
3939
#include "sight_manager.h"
4040
#include "xrAICore/Navigation/ai_object_location.h"
41-
#include "xrAICore/Navigation/ai_object_location_impl.h"
4241
#include "stalker_movement_manager_smart_cover.h"
4342
#include "EntityCondition.h"
4443
#include "xrScriptEngine/script_engine.hpp"

src/xrGame/game_cl_deathmatch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ void game_cl_Deathmatch::OnRender()
949949
};
950950
}
951951

952-
IC bool DM_Compare_Players(game_PlayerState* p1, game_PlayerState* p2)
952+
bool DM_Compare_Players(game_PlayerState* p1, game_PlayerState* p2)
953953
{
954954
if (p1->testFlag(GAME_PLAYER_FLAG_SPECTATOR) && !p2->testFlag(GAME_PLAYER_FLAG_SPECTATOR))
955955
return false;

0 commit comments

Comments
 (0)