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>
47 lines
1.2 KiB
C++
47 lines
1.2 KiB
C++
|
|
#ifndef _SoundGlobal_H_
|
|
#define _SoundGlobal_H_
|
|
|
|
//#pragma warning( disable:6311 )
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
typedef struct HWND__* HWND;
|
|
typedef unsigned long DWORD;
|
|
typedef void * HANDLE;
|
|
typedef float D3DVALUE;
|
|
|
|
#define WAVEFILEEXT ".wav"
|
|
#define WAVEFILEEXT2 ".mnd"
|
|
#define OGGFILEEXT ".ogg"
|
|
#define FAKEFILEEXT ".z3s"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
struct IDirectSound8;
|
|
struct IDirectSound3DListener;
|
|
struct IDirectSound8;
|
|
struct IDirectSoundBuffer8;
|
|
struct IDirectSoundBuffer;
|
|
struct IDirectSound3DBuffer;
|
|
struct IDirectMusicSegment8;
|
|
struct IDirectMusicLoader8;
|
|
struct IDirectMusicPerformance8;
|
|
typedef struct IDirectMusicAudioPath IDirectMusicAudioPath8;
|
|
class ISoundFile;
|
|
class ISoundObject;
|
|
class CDirectMusic;
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
|
|
void SNDError( const char * Msg, ... );
|
|
void SNDError_Debug( const char * Msg, ... );
|
|
bool IsFileExist2( const char * szFilename );
|
|
bool IsWaveFile( const char * szFilename );
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#endif |