Initial commit: ROW Client source code
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>
This commit is contained in:
37
Tools/SoundLib/WavFile.h
Normal file
37
Tools/SoundLib/WavFile.h
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user