diff --git a/dtool/src/parser-inc/Sources.pp b/dtool/src/parser-inc/Sources.pp index 90c3fe243d..164c9f4e48 100644 --- a/dtool/src/parser-inc/Sources.pp +++ b/dtool/src/parser-inc/Sources.pp @@ -11,4 +11,5 @@ avcodec.h avformat.h avio.h avutil.h common.h integer.h \ intfloat_readwrite.h mathematics.h rational.h rtp.h \ rtsp.h rtspcodes.h winsock2.h \ - ode/common.h ode/config.h + ode/config.h ode/common.h collision_trimesh.h + diff --git a/dtool/src/parser-inc/collision_trimesh.h b/dtool/src/parser-inc/collision_trimesh.h new file mode 100755 index 0000000000..aafa57c5a0 --- /dev/null +++ b/dtool/src/parser-inc/collision_trimesh.h @@ -0,0 +1 @@ +#include "ode/collision_trimesh.h" diff --git a/dtool/src/parser-inc/config.h b/dtool/src/parser-inc/config.h index 2c45e28f12..d5d22a2941 100755 --- a/dtool/src/parser-inc/config.h +++ b/dtool/src/parser-inc/config.h @@ -6,15 +6,12 @@ #ifndef _ODE_CONFIG_H_ #define _ODE_CONFIG_H_ -# ODE header stuff +#define dSINGLE 1 +#define _MSC_VER 1 +#define ODE_PLATFORM_WINDOWS -/* -typedef long int32; -typedef unsigned long uint32; -typedef short int16; -typedef unsigned short uint16; -typedef char int8; -typedef unsigned char uint8; -*/ +#if !defined(ODE_API) + #define ODE_API +#endif #endif /* _ODE_CONFIG_H */