Panda3D
config_ai.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file config_ai.cxx
10  * @author Pandai
11  * @date 2009-09-13
12  */
13 
14 #include "config_ai.h"
15 #include "aiWorld.h"
16 #include "aiCharacter.h"
17 #include "aiBehaviors.h"
18 #include "seek.h"
19 #include "flee.h"
20 #include "pursue.h"
21 #include "evade.h"
22 #include "arrival.h"
23 #include "flock.h"
24 #include "wander.h"
25 #include "pathFollow.h"
26 #include "obstacleAvoidance.h"
27 #include "pathFind.h"
28 #include "aiNode.h"
29 #include "aiPathFinder.h"
30 #include "dconfig.h"
31 
32 Configure(config_ai);
33 NotifyCategoryDef(ai, "");
34 
35 ConfigureFn(config_ai) {
36  init_libai();
37 }
38 
39 /**
40  * Initializes the library. This must be called at least once before any of
41  * the functions or classes in this library can be used. Normally it will be
42  * called by the static initializers and need not be called explicitly, but
43  * special cases exist.
44  */
45 void
47  static bool initialized = false;
48  if (initialized) {
49  return;
50  }
51  initialized = true;
52 }
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void init_libai()
Initializes the library.
Definition: config_ai.cxx:46
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.