Browse Source

add OculusVR and ogg/vorbis headers in anticipation of their support

rdb 12 years ago
parent
commit
d58924c280

+ 15 - 0
dtool/src/parser-inc/OVR.h

@@ -0,0 +1,15 @@
+namespace OVR {
+  class DeviceBase;
+  class DeviceHandle;
+  class DeviceInfo;
+  class DeviceManager;
+  class HMDDevice;
+  class HMDInfo;
+  class Message;
+  class MessageHandler;
+  class SensorDevice;
+  class SensorInfo;
+  class SensorFusion;
+
+  template<class T> class Ptr;
+};

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

@@ -27,4 +27,5 @@
     Core/Core.h Forest/Forest.h Renderers/OpenGL/OpenGLRenderer.h \
     Renderers/DirectX9/DirectX9Renderer.h \
     glew/glew.h Eigen/Dense Eigen/StdVector \
-    Rocket/Core/RenderInterface.h btBulletDynamicsCommon.h
+    Rocket/Core/RenderInterface.h btBulletDynamicsCommon.h OVR.h \
+    ogg/os_types.h vorbis/vorbisfile.h

+ 16 - 0
dtool/src/parser-inc/ogg/os_types.h

@@ -0,0 +1,16 @@
+#ifndef _OS_TYPES_H
+#define _OS_TYPES_H
+
+#define _ogg_malloc malloc
+#define _ogg_calloc calloc
+#define _ogg_realloc realloc
+#define _ogg_free free
+
+typedef signed short ogg_int16_t;
+typedef unsigned short ogg_uint16_t;
+typedef signed int ogg_int32_t;
+typedef unsigned int ogg_uint32_t;
+typedef signed long long ogg_int64_t;
+typedef unsigned long long ogg_uint64_t;
+
+#endif

+ 1 - 0
dtool/src/parser-inc/vorbis/vorbisfile.h

@@ -0,0 +1 @@
+struct OggVorbis_File;