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:
44
Tools/SoundLib/OggFile.h
Normal file
44
Tools/SoundLib/OggFile.h
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
#ifndef _OggFile_H_
|
||||
#define _OggFile_H_
|
||||
|
||||
#include "SoundFile.h"
|
||||
|
||||
struct OggVorbis_File;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
class COGGFile : public ISoundFile
|
||||
{
|
||||
FILE * m_fp;
|
||||
OggVorbis_File* m_pVF;
|
||||
char * m_pszFilename;
|
||||
|
||||
DWORD m_dwAvgBytesPerSec;
|
||||
|
||||
public:
|
||||
COGGFile();
|
||||
COGGFile( const char * );
|
||||
~COGGFile();
|
||||
|
||||
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 );
|
||||
|
||||
DWORD SeekWaveData( DWORD offset, eSeekPos );
|
||||
|
||||
double GetTotalTime();
|
||||
|
||||
const char * GetFilename();
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user