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
|
||||||
57
src/oa_audio.cpp
Normal file
57
src/oa_audio.cpp
Normal file
@@ -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);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
||||||
57
src/oa_audio_alsa.cpp
Normal file
57
src/oa_audio_alsa.cpp
Normal file
@@ -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);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
||||||
22
src/oa_game.cpp
Normal file
22
src/oa_game.cpp
Normal file
@@ -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
|
||||||
|
{
|
||||||
|
};
|
||||||
|
};
|
||||||
22
src/oa_input.cpp
Normal file
22
src/oa_input.cpp
Normal file
@@ -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
|
||||||
|
{
|
||||||
|
};
|
||||||
|
};
|
||||||
22
src/oa_net.cpp
Normal file
22
src/oa_net.cpp
Normal file
@@ -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
|
||||||
|
{
|
||||||
|
};
|
||||||
|
};
|
||||||
22
src/oa_video.cpp
Normal file
22
src/oa_video.cpp
Normal file
@@ -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
|
||||||
|
{
|
||||||
|
};
|
||||||
|
};
|
||||||
Reference in New Issue
Block a user