UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
s_sample_s Struct Reference

#include <s_local.h>

Data Fields

char * name
 
int lastPlayed
 
Mix_Chunk * chunk
 
struct s_sample_shashNext
 
int index
 

Detailed Description

Definition at line 41 of file s_local.h.

Field Documentation

Mix_Chunk* s_sample_s::chunk

Definition at line 45 of file s_local.h.

Referenced by S_LoadSampleIdx(), S_LoopSample(), and S_PlaySample().

struct s_sample_s* s_sample_s::hashNext

next hash entry

Definition at line 46 of file s_local.h.

Referenced by S_FindByName(), S_FreeSamples(), and S_LoadSampleIdx().

int s_sample_s::index

Definition at line 47 of file s_local.h.

Referenced by S_LoadSampleIdx().

int s_sample_s::lastPlayed

used to determine whether this sample should be send to the mixer or skipped if played too fast after each other

Definition at line 43 of file s_local.h.

Referenced by S_LoopSample(), and S_PlaySample().

char* s_sample_s::name

Definition at line 42 of file s_local.h.

Referenced by S_LoadSampleIdx(), and S_PlaySample().


The documentation for this struct was generated from the following file: