Initial commit: client source

This commit is contained in:
Andreas Lierschaft
2026-08-17 20:03:02 +02:00
commit 9ae37cd0ea
869 changed files with 227899 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
#ifndef __MILESLIB_CSOUNDMANAGERSTREAM_H__
#define __MILESLIB_CSOUNDMANAGERSTREAM_H__
#include "SoundBase.h"
#include "SoundInstance.h"
class CSoundManagerStream : public CSoundBase
{
public:
enum
{
MUSIC_INSTANCE_MAX_NUM = 3,
};
public:
CSoundManagerStream();
virtual ~CSoundManagerStream();
bool Initialize();
void Destroy();
bool SetInstance(DWORD dwIndex, const char* filename);
CSoundInstanceStream * GetInstance(DWORD dwIndex);
protected:
bool CheckInstanceIndex(DWORD dwIndex);
protected:
CSoundInstanceStream m_Instances[MUSIC_INSTANCE_MAX_NUM];
};
#endif