Browse Source

ode for new interrogate rules

David Rose 18 years ago
parent
commit
af64f6a404
3 changed files with 44 additions and 20 deletions
  1. 2 2
      dtool/src/parser-inc/Sources.pp
  2. 0 17
      dtool/src/parser-inc/config.h
  3. 42 1
      dtool/src/parser-inc/ode.h

+ 2 - 2
dtool/src/parser-inc/Sources.pp

@@ -10,10 +10,10 @@
     hxcomm.h hxcore.h hxengin.h hxerror.h hxfiles.h hxtbuf.h \
     hxtbuff.h hxwin.h Python.h py_panda.h Cg/cg.h Cg/cgGL.h \
     cv.h cvtypes.h cxcore.h cxerror.h cxtypes.h highgui.h \
-    avcodec.h avformat.h avio.h avutil.h common.h integer.h \
+    avcodec.h avformat.h avio.h avutil.h integer.h \
     intfloat_readwrite.h mathematics.h rational.h rtp.h \
     rtsp.h rtspcodes.h setjmp.h winsock2.h \
-    ode/config.h ode/common.h collision_trimesh.h  \
+    ode/ode.h collision_trimesh.h  \
     netinet/tcp.h netinet/ip.h \
     rfftw.h
 

+ 0 - 17
dtool/src/parser-inc/config.h

@@ -1,17 +0,0 @@
-/**
- * @file config.h
- * common internal api header.
- */
-
-#ifndef _ODE_CONFIG_H_
-#define _ODE_CONFIG_H_
-
-#define dSINGLE 1
-#define _MSC_VER 1
-#define ODE_PLATFORM_WINDOWS  
-
-#if !defined(ODE_API)
-  #define ODE_API
-#endif
-
-#endif /* _ODE_CONFIG_H */

+ 42 - 1
dtool/src/parser-inc/common.h → dtool/src/parser-inc/ode.h

@@ -1,3 +1,38 @@
+// Filename: ode.h
+// Created by:  drose (27Jun07)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) 2001 - 2004, Disney Enterprises, Inc.  All rights reserved
+//
+// All use of this software is subject to the terms of the Panda 3d
+// Software license.  You should have received a copy of this license
+// along with this source code; you will also find a current copy of
+// the license at http://etc.cmu.edu/panda3d/docs/license/ .
+//
+// To contact the maintainers of this program write to
+// [email protected] .
+//
+////////////////////////////////////////////////////////////////////
+/**
+ * @file config.h
+ * common internal api header.
+ */
+
+#ifndef _ODE_CONFIG_H_
+#define _ODE_CONFIG_H_
+
+#define dSINGLE 1
+#define _MSC_VER 1
+#define ODE_PLATFORM_WINDOWS  
+
+#if !defined(ODE_API)
+  #define ODE_API
+#endif
+
+#endif /* _ODE_CONFIG_H */
+
 /**
  * @file common.h
  * common internal api header.
@@ -10,7 +45,7 @@
 
 
 
-# ODE header stuff
+/* ODE header stuff */
 
 #ifndef _ODE_COMMON_H_
 #define _ODE_COMMON_H_
@@ -52,4 +87,10 @@ typedef struct dJointFeedback {
   dVector3 t2;		/* torque applied to body 2 */
 } dJointFeedback;
 
+typedef struct dSurfaceParameters dSurfaceParameters;
+typedef struct dMass dMass;
+typedef struct dContact dContact;
+typedef struct dContactGeom dContactGeom;
+typedef struct dTriMeshDataID dTriMeshDataID;
+
 #endif /* _ODE_COMMON_H_ */