Browse Subversion Repository
Contents of /trunk/CWaveArray.h
Parent Directory
| Revision Log
Revision 1 -
( show annotations)
( download)
( as text)
Sun Aug 15 01:53:13 2010 UTC
(13 years, 9 months ago)
by okadu
File MIME type: text/x-chdr
File size: 426 byte(s)
| 1 |
#ifndef CWAVEARRAY_H_INCLUDED |
| 2 |
#define CWAVEARRAY_H_INCLUDED |
| 3 |
|
| 4 |
/* |
| 5 |
* サウンド同時再生管理クラス |
| 6 |
* |
| 7 |
* 同時再生するサウンドを管理する |
| 8 |
*/ |
| 9 |
class CWaveArray{ |
| 10 |
private: |
| 11 |
int m_Number; // 同時再生最大数 |
| 12 |
CWave *m_Wave; // 個別のサウンド |
| 13 |
public: |
| 14 |
CWaveArray(); |
| 15 |
~CWaveArray(); |
| 16 |
void Load(char *, int, bool); |
| 17 |
void Free(){ DELETE_A(m_Wave); } |
| 18 |
void Add(VEC3, int, int ms = 0); |
| 19 |
void AddLoop(VEC3, int); |
| 20 |
}; |
| 21 |
|
| 22 |
#endif |
|