diff --git a/include/oa_audio.h b/include/oa_audio.h new file mode 100644 index 0000000..1f0ebbf --- /dev/null +++ b/include/oa_audio.h @@ -0,0 +1,31 @@ +#ifndef __oa_audio_h__ +#define __oa_audio_h__ + +#include "vector.h" + +//NO REAL work is done by _init or _fini they should just call +// Init and DeInit instead. +void _init(); +void _fini(); +void Init(); +void DeInit(); + +namespace OpenArena +{ + namespace Audio + { + class Stream + { + Stream(); + Stream(const char* filename); + bool Load(const char* filename); + void UnLoad(); + bool Play(); + bool Play3D(); + SetPosition(Vec3d position); + Vec3d GetPosition(); + }; + }; +}; + +#endif diff --git a/include/oa_game.h b/include/oa_game.h new file mode 100644 index 0000000..3ca2473 --- /dev/null +++ b/include/oa_game.h @@ -0,0 +1,18 @@ +#ifndef __oa_game_h__ +#define __oa_game_h__ + +//NO REAL work is done by _init or _fini they should just call +// Init and DeInit instead. +void _init(); +void _fini(); +void Init(); +void DeInit(); + +namespace OpenArena +{ + namespace Game + { + }; +}; + +#endif diff --git a/include/oa_input.h b/include/oa_input.h new file mode 100644 index 0000000..0ea772c --- /dev/null +++ b/include/oa_input.h @@ -0,0 +1,18 @@ +#ifndef __oa_input_h__ +#define __oa_input_h__ + +//NO REAL work is done by _init or _fini they should just call +// Init and DeInit instead. +void _init(); +void _fini(); +void Init(); +void DeInit(); + +namespace OpenArena +{ + namespace Input + { + }; +}; + +#endif diff --git a/include/oa_net.h b/include/oa_net.h new file mode 100644 index 0000000..b1df5e3 --- /dev/null +++ b/include/oa_net.h @@ -0,0 +1,18 @@ +#ifndef __oa_net_h__ +#define __oa_net_h__ + +//NO REAL work is done by _init or _fini they should just call +// Init and DeInit instead. +void _init(); +void _fini(); +void Init(); +void DeInit(); + +namespace OpenArena +{ + namespace Net + { + }; +}; + +#endif diff --git a/include/oa_video.h b/include/oa_video.h new file mode 100644 index 0000000..cd560fd --- /dev/null +++ b/include/oa_video.h @@ -0,0 +1,18 @@ +#ifndef __oa_video_h__ +#define __oa_video_h__ + +//NO REAL work is done by _init or _fini they should just call +// Init and DeInit instead. +void _init(); +void _fini(); +void Init(); +void DeInit(); + +namespace OpenArena +{ + namespace Video + { + }; +}; + +#endif diff --git a/src/oa_audio.cpp b/src/oa_audio.cpp new file mode 100644 index 0000000..4eba92c --- /dev/null +++ b/src/oa_audio.cpp @@ -0,0 +1,57 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_audio.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_audio.h" + +namespace OpenArena +{ + namespace Audio + { + Stream::Stream() + { + } + + Stream::Stream(const char* filename) + { + } + + bool Stream::Load(const char* filename) + { + return false; + } + + void Stream::UnLoad() + { + } + + bool Stream::Play() + { + return false; + } + + bool Stream::Play3D() + { + return false; + } + + void Stream::SetPosition(Vec3d position) + { + } + + Vec3d Stream::GetPosition() + { + return Vec3d(0,0,0); + } + }; +}; diff --git a/src/oa_audio_alsa.cpp b/src/oa_audio_alsa.cpp new file mode 100644 index 0000000..4eba92c --- /dev/null +++ b/src/oa_audio_alsa.cpp @@ -0,0 +1,57 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_audio.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_audio.h" + +namespace OpenArena +{ + namespace Audio + { + Stream::Stream() + { + } + + Stream::Stream(const char* filename) + { + } + + bool Stream::Load(const char* filename) + { + return false; + } + + void Stream::UnLoad() + { + } + + bool Stream::Play() + { + return false; + } + + bool Stream::Play3D() + { + return false; + } + + void Stream::SetPosition(Vec3d position) + { + } + + Vec3d Stream::GetPosition() + { + return Vec3d(0,0,0); + } + }; +}; diff --git a/src/oa_game.cpp b/src/oa_game.cpp new file mode 100644 index 0000000..c973bbf --- /dev/null +++ b/src/oa_game.cpp @@ -0,0 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_game.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_game.h" + +namespace OpenArena +{ + namespace Game + { + }; +}; diff --git a/src/oa_input.cpp b/src/oa_input.cpp new file mode 100644 index 0000000..1ea7988 --- /dev/null +++ b/src/oa_input.cpp @@ -0,0 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_input.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_input.h" + +namespace OpenArena +{ + namespace Input + { + }; +}; diff --git a/src/oa_net.cpp b/src/oa_net.cpp new file mode 100644 index 0000000..7ff5f15 --- /dev/null +++ b/src/oa_net.cpp @@ -0,0 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_net.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_net.h" + +namespace OpenArena +{ + namespace Net + { + }; +}; diff --git a/src/oa_video.cpp b/src/oa_video.cpp new file mode 100644 index 0000000..92f8ef3 --- /dev/null +++ b/src/oa_video.cpp @@ -0,0 +1,22 @@ +//////////////////////////////////////////////////////////////////////////////// +// +// Module: oa_video.cpp +// Author: Tom Hicks +// Creation: 07-21-2005 +// LastEdit: 07-21-2005 +// Editors: Tom Hicks +// +// Purpose: +// +// Summary of Methods: +// +//////////////////////////////////////////////////////////////////////////////// + +#include "../include/oa_video.h" + +namespace OpenArena +{ + namespace Video + { + }; +};