Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
C++
|
|
#ifndef _SoundObj_None_H_
|
|
#define _SoundObj_None_H_
|
|
|
|
#include "SoundObject.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
class CSoundObj_None : public ISoundObject
|
|
{
|
|
public:
|
|
void Destroy() {}
|
|
|
|
int Play( bool bLoop ) { return 0; }
|
|
void Play( DWORD dwIndex, bool bLoop ) {}
|
|
void Stop( unsigned ) {}
|
|
void StopAll() {}
|
|
void Reset( unsigned ) {}
|
|
void ResetAll() {}
|
|
HANDLE GetEventNotify() { return 0; }
|
|
void HandleNotification() {}
|
|
bool IsAllPlaying() { return false; }
|
|
bool IsAllFree() { return true; }
|
|
bool IsPlaying( unsigned ) { return false; }
|
|
|
|
DWORD GetMemoryUse() { return 0; }
|
|
bool IsSameFile( const char * ) { return false; }
|
|
const char * GetFilename() { return 0; }
|
|
|
|
eSndObjType GetType() { return SNDOBJTYPE_SOUNDOBJNONE; }
|
|
|
|
void SetPosition( DWORD dwIndex, D3DVALUE x, D3DVALUE y, D3DVALUE z ) {}
|
|
void SetDistance( DWORD dwIndex, D3DVALUE minDistance, D3DVALUE maxDistance ) {}
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif |