Table of Contents

 
LoadSFX
 

Purpose

Loads a group of sfx objects from a formatted data file

 

Protoype

void CSoundMngr::LoadSFX (string str_filename)
 

Parameters

filename the name or location of the data file
 

Description

This function loads in sfx objects from a .dat file created using the Data Generator application. Please see the Data Generator documentation for more information regarding the structure of the .dat file for cursor loading.

NOTE: The extension of the data file does not have to be .dat, that's just the extension used by the Data Generator application.

 

Use

CSoundMngr sound;
sound.LoadSFX("music.dat");
 

Prev: LoadMusic
Next: Mute