From d58924c2805fe79c092b8d421f232b3b41ad0354 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 25 Aug 2013 17:18:02 +0000 Subject: [PATCH] add OculusVR and ogg/vorbis headers in anticipation of their support --- dtool/src/parser-inc/OVR.h | 15 +++++++++++++++ dtool/src/parser-inc/Sources.pp | 3 ++- dtool/src/parser-inc/ogg/os_types.h | 16 ++++++++++++++++ dtool/src/parser-inc/vorbis/vorbisfile.h | 1 + 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 dtool/src/parser-inc/OVR.h create mode 100755 dtool/src/parser-inc/ogg/os_types.h create mode 100644 dtool/src/parser-inc/vorbis/vorbisfile.h diff --git a/dtool/src/parser-inc/OVR.h b/dtool/src/parser-inc/OVR.h new file mode 100644 index 0000000000..b446d1a235 --- /dev/null +++ b/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 Ptr; +}; diff --git a/dtool/src/parser-inc/Sources.pp b/dtool/src/parser-inc/Sources.pp index 1043176d73..c60d22bf30 100644 --- a/dtool/src/parser-inc/Sources.pp +++ b/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 diff --git a/dtool/src/parser-inc/ogg/os_types.h b/dtool/src/parser-inc/ogg/os_types.h new file mode 100755 index 0000000000..6ae88f26c8 --- /dev/null +++ b/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 diff --git a/dtool/src/parser-inc/vorbis/vorbisfile.h b/dtool/src/parser-inc/vorbis/vorbisfile.h new file mode 100644 index 0000000000..f71cc23e89 --- /dev/null +++ b/dtool/src/parser-inc/vorbis/vorbisfile.h @@ -0,0 +1 @@ +struct OggVorbis_File;