summaryrefslogblamecommitdiffstats
path: root/src/audio/DMAudio.h
blob: 91a3ff0fed3ab2494b02218db37d4f123cd3ef6f (plain) (tree)
1
2
3
4
5
6
7
8
9
10






              
                             

                                          
                           


                                                                              



                                           
                                               
  
                         
#pragma once

class CEntity;

class cDMAudio
{
public:
	void Terminate(void);
	void ReleaseDigitalHandle(void);
	void ReacquireDigitalHandle(void);
	void Service(void);
	void ReportCollision(CEntity* A, CEntity* B, uint8 surfA, uint8 surfB,
						 float impulse, float speed);
	void ResetTimers(UInt32 timerval);
	Bool IsAudioInitialised(void);
	Char GetCDAudioDriveLetter(void);
	Bool CheckForAnAudioFileOnCD(void);
	void ChangeMusicMode(UInt8 mode);
	void PlayFrontEndSound(uint32, uint32);
};
extern cDMAudio& DMAudio;