Added: Beginning plugin suppord
~g2k
This commit is contained in:
31
include/oa_audio.h
Normal file
31
include/oa_audio.h
Normal 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
18
include/oa_game.h
Normal 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
18
include/oa_input.h
Normal 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
18
include/oa_net.h
Normal 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
18
include/oa_video.h
Normal 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
|
||||
Reference in New Issue
Block a user