66// Description : AI object location implementation
77////////////////////////////////////////////////////////////////////////////
88
9+ #pragma once
10+
911#include "xrAICore/Navigation/ai_object_location.h"
1012#include "xrAICore/Navigation/game_graph.h"
1113#include "xrAICore/Navigation/level_graph.h"
12- #include " xrGame/ai_space.h"
13-
1414
15- void CAI_ObjectLocation::init ()
15+ IC void CAI_ObjectLocation ::init ()
1616{
1717 if (ai ().get_level_graph ())
1818 ai ().level_graph ().set_invalid_vertex (m_level_vertex_id );
@@ -25,37 +25,37 @@ void CAI_ObjectLocation::init()
2525 m_game_vertex_id = GameGraph ::_GRAPH_ID (-1 );
2626}
2727
28- void CAI_ObjectLocation::game_vertex (CVertex const * game_vertex)
28+ IC void CAI_ObjectLocation ::game_vertex (CVertex const * game_vertex )
2929{
3030 VERIFY (ai ().game_graph ().valid_vertex_id (ai ().game_graph ().vertex_id (game_vertex )));
3131 m_game_vertex_id = ai ().game_graph ().vertex_id (game_vertex );
3232}
3333
34- void CAI_ObjectLocation::game_vertex (_GRAPH_ID const & game_vertex_id)
34+ IC void CAI_ObjectLocation ::game_vertex (_GRAPH_ID const & game_vertex_id )
3535{
3636 VERIFY (ai ().game_graph ().valid_vertex_id (game_vertex_id ));
3737 m_game_vertex_id = game_vertex_id ;
3838}
3939
40- const CGameGraph::CVertex* CAI_ObjectLocation::game_vertex () const
40+ IC const CGameGraph ::CVertex * CAI_ObjectLocation ::game_vertex () const
4141{
4242 VERIFY (ai ().game_graph ().valid_vertex_id (m_game_vertex_id ));
4343 return (ai ().game_graph ().vertex (m_game_vertex_id ));
4444}
4545
46- void CAI_ObjectLocation::level_vertex (CLevelVertex const * level_vertex)
46+ IC void CAI_ObjectLocation ::level_vertex (CLevelVertex const * level_vertex )
4747{
4848 VERIFY (ai ().level_graph ().valid_vertex_id (ai ().level_graph ().vertex_id (level_vertex )));
4949 m_level_vertex_id = ai ().level_graph ().vertex_id (level_vertex );
5050}
5151
52- void CAI_ObjectLocation::level_vertex (u32 const & level_vertex_id)
52+ IC void CAI_ObjectLocation ::level_vertex (u32 const & level_vertex_id )
5353{
5454 VERIFY (ai ().level_graph ().valid_vertex_id (level_vertex_id ));
5555 m_level_vertex_id = level_vertex_id ;
5656}
5757
58- const LevelGraph ::CVertex* CAI_ObjectLocation::level_vertex () const
58+ IC const CLevelGraph ::CVertex * CAI_ObjectLocation ::level_vertex () const
5959{
6060 VERIFY (ai ().level_graph ().valid_vertex_id (m_level_vertex_id ));
6161 return (ai ().level_graph ().vertex (m_level_vertex_id ));
0 commit comments