From 7bb169dc1afbda04c062a115194ffcefc4dd19b7 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 30 Dec 2009 19:08:17 +0000 Subject: [PATCH] Add PandAI package --- direct/src/p3d/panda3d.pdef | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/direct/src/p3d/panda3d.pdef b/direct/src/p3d/panda3d.pdef index ec31c6790f..0818cb57f3 100755 --- a/direct/src/p3d/panda3d.pdef +++ b/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