summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d7c8e09)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5496
d7cf8633-e32d-0410-b094-
e92efae38249
- size_t length;
- size_t offset;
+ int length;
+ int offset;
qbyte data[4]; // variable sized
} sfxbuffer_t;
qbyte data[4]; // variable sized
} sfxbuffer_t;
unsigned int flags; // cf SFXFLAG_* defines
snd_format_t format;
int loopstart;
unsigned int flags; // cf SFXFLAG_* defines
snd_format_t format;
int loopstart;
const snd_fetcher_t *fetcher;
void *fetcher_data; // Per-sfx data for the sound fetching functions
};
const snd_fetcher_t *fetcher;
void *fetcher_data; // Per-sfx data for the sound fetching functions
};
int master_vol; // 0-255 master volume
int leftvol; // 0-255 volume
int rightvol; // 0-255 volume
int master_vol; // 0-255 master volume
int leftvol; // 0-255 volume
int rightvol; // 0-255 volume
- size_t end; // end time in global paintsamples
- size_t lastptime; // last time this channel was painted
- size_t pos; // sample position in sfx
+ int end; // end time in global paintsamples
+ int lastptime; // last time this channel was painted
+ int pos; // sample position in sfx
int entnum; // to allow overriding a specific sound
int entchannel;
vec3_t origin; // origin of sound effect
int entnum; // to allow overriding a specific sound
int entchannel;
vec3_t origin; // origin of sound effect