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:
45
Tools/SoundLib/SoundFile.h
Normal file
45
Tools/SoundLib/SoundFile.h
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
#ifndef _SoundFile_H_
|
||||
#define _SoundFile_H_
|
||||
|
||||
typedef unsigned long DWORD;
|
||||
typedef unsigned short WORD;
|
||||
typedef unsigned int size_t;
|
||||
typedef struct _iobuf FILE;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
class ISoundFile
|
||||
{
|
||||
public:
|
||||
enum eSeekPos
|
||||
{
|
||||
seek_begin,
|
||||
seek_current,
|
||||
seek_end
|
||||
};
|
||||
|
||||
public:
|
||||
static ISoundFile * CreateSoundFileInstance( const char * szFilename );
|
||||
|
||||
public:
|
||||
virtual ~ISoundFile() {}
|
||||
|
||||
virtual void Create( const char * ) = 0;
|
||||
virtual void Destroy() = 0;
|
||||
virtual WORD GetBitsPerSample() = 0;
|
||||
virtual DWORD GetSamplePerSec() = 0;
|
||||
virtual WORD GetChannelCount() = 0;
|
||||
virtual DWORD GetSize() = 0;
|
||||
virtual void Reset() = 0;
|
||||
virtual size_t Read( void * pBuf, size_t readSize ) = 0;
|
||||
virtual size_t ReadWhole( void * pBuf ) = 0;
|
||||
|
||||
virtual const char * GetFilename() = 0;
|
||||
};
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user