Game client codebase including: - CharacterActionControl: Character and creature management - GlobalScript: Network, items, skills, quests, utilities - RYLClient: Main client application with GUI and event handlers - Engine: 3D rendering engine (RYLGL) - MemoryManager: Custom memory allocation - Library: Third-party dependencies (DirectX, boost, etc.) - Tools: Development utilities 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
37 lines
697 B
C++
37 lines
697 B
C++
|
|
#ifndef _WavFile_H_
|
|
#define _WavFile_H_
|
|
|
|
#include "SoundFile.h"
|
|
|
|
class CWaveFile;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
class CWavFile : public ISoundFile
|
|
{
|
|
CWaveFile * m_pWaveFile;
|
|
char * m_pszFilename;
|
|
|
|
public:
|
|
CWavFile();
|
|
CWavFile( const char * );
|
|
~CWavFile();
|
|
|
|
void Create( const char * );
|
|
void Destroy();
|
|
WORD GetBitsPerSample();
|
|
DWORD GetSamplePerSec();
|
|
WORD GetChannelCount();
|
|
DWORD GetSize();
|
|
void Reset();
|
|
size_t Read( void * pBuf, size_t readSize );
|
|
size_t ReadWhole( void * pBuf );
|
|
|
|
const char * GetFilename();
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif |