UFO: Alien Invasion
Loading...
Searching...
No Matches
s_sample_t Struct Reference

#include <s_local.h>

Collaboration diagram for s_sample_t:
Collaboration graph

Data Fields

char * name
int lastPlayed
Mix_Chunk * chunk
struct s_sample_s * hashNext
int index

Detailed Description

Definition at line 41 of file s_local.h.

Field Documentation

◆ chunk

Mix_Chunk* s_sample_t::chunk

Definition at line 45 of file s_local.h.

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

◆ hashNext

struct s_sample_s* s_sample_t::hashNext

next hash entry

Definition at line 46 of file s_local.h.

Referenced by S_FreeSamples(), and S_LoadSampleIdx().

◆ index

int s_sample_t::index

Definition at line 47 of file s_local.h.

Referenced by S_LoadSampleIdx().

◆ lastPlayed

int s_sample_t::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().

◆ name

char* s_sample_t::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: