Added: Beginning plugin suppord

~g2k
This commit is contained in:
2005-07-21 20:04:51 -04:00
parent 9f060db8da
commit 836f8f1ddc
11 changed files with 305 additions and 0 deletions

31
include/oa_audio.h Normal file
View File

@@ -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

18
include/oa_game.h Normal file
View File

@@ -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

18
include/oa_input.h Normal file
View File

@@ -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

18
include/oa_net.h Normal file
View File

@@ -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

18
include/oa_video.h Normal file
View File

@@ -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