C# Class NScumm.Sky.Sound

Inheritance: IDisposable
Show file Open project: scemino/nscumm Class Usage Examples

Public Properties

Property Type Description
SaveSounds ushort[]

Public Methods

Method Description
CheckFxQueue ( ) : void
Dispose ( ) : void
FnPauseFx ( ) : void
FnStartFx ( uint sound, byte channel ) : void
FnStopFx ( ) : void
FnUnPauseFx ( ) : void
LoadSection ( byte section ) : void
PlaySound ( int id, byte sound, int size ) : SoundHandle
PlaySound ( ushort sound, ushort volume, byte channel ) : void
RestoreSfx ( ) : void
Sound ( Mixer mixer, Disk disk, byte volume ) : System
StartSpeech ( ushort textNum ) : bool
StopSpeech ( ) : void

Private Methods

Method Description
Dispose ( bool disposing ) : void
Sfx ( )

Method Details

CheckFxQueue() public method

public CheckFxQueue ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FnPauseFx() public method

public FnPauseFx ( ) : void
return void

FnStartFx() public method

public FnStartFx ( uint sound, byte channel ) : void
sound uint
channel byte
return void

FnStopFx() public method

public FnStopFx ( ) : void
return void

FnUnPauseFx() public method

public FnUnPauseFx ( ) : void
return void

LoadSection() public method

public LoadSection ( byte section ) : void
section byte
return void

PlaySound() public method

public PlaySound ( int id, byte sound, int size ) : SoundHandle
id int
sound byte
size int
return NScumm.Core.Audio.SoundHandle

PlaySound() public method

public PlaySound ( ushort sound, ushort volume, byte channel ) : void
sound ushort
volume ushort
channel byte
return void

RestoreSfx() public method

public RestoreSfx ( ) : void
return void

Sound() public method

public Sound ( Mixer mixer, Disk disk, byte volume ) : System
mixer NScumm.Core.Audio.Mixer
disk Disk
volume byte
return System

StartSpeech() public method

public StartSpeech ( ushort textNum ) : bool
textNum ushort
return bool

StopSpeech() public method

public StopSpeech ( ) : void
return void

Property Details

SaveSounds public property

public ushort[] SaveSounds
return ushort[]