Browse Source

Add PandAI package

rdb 16 years ago
parent
commit
7bb169dc1a
1 changed files with 13 additions and 0 deletions
  1. 13 0
      direct/src/p3d/panda3d.pdef

+ 13 - 0
direct/src/p3d/panda3d.pdef

@@ -54,6 +54,7 @@ class panda3d(package):
            'direct.showutil.*',
            'direct.stdpy.*',
            'direct.task.*')
+    module('panda3d', 'panda3d.*')
 
     # Pick up the shader files that appear in direct/src/filter.
     import direct
@@ -67,6 +68,7 @@ class panda3d(package):
     excludeModule('libp3vision')
     excludeModule('libpandaskel')
     excludeModule('libpandaphysx')
+    excludeModule('libpandaai')
 
     # Exclude these GUI toolkits; they're big, and many applications don't
     # use them.  We define them as separate, optional packages, below.
@@ -267,6 +269,17 @@ class physx(package):
 
     file('libpandaphysx.dll')
 
+class ai(package):
+    # This package contains the PandAI library for pathfinding
+    # and seek/flee behaviors. As some games may not need this
+    # functionality, it is provided as separate package to save
+    # on package download size.
+
+    config(display_name = "Panda3D AI modules")
+    require('panda3d')
+
+    file('libpandaai.dll')
+
 class vision(package):
     # This package contains the code for webcam support, augmented
     # reality and computer vision. As many games will not need this