mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 16:30:43 +00:00
extend the sound api slightly to ease things like cd_file and make cd_file
work as intended :)
This commit is contained in:
parent
19ef80c555
commit
d5a33c9545
7 changed files with 203 additions and 119 deletions
|
@ -55,6 +55,8 @@ typedef void (*P_S_ExtraUpdate) (void);
|
|||
typedef void (*P_S_LocalSound) (const char *s);
|
||||
typedef void (*P_S_BlockSound) (void);
|
||||
typedef void (*P_S_UnblockSound) (void);
|
||||
typedef struct sfx_s *(*P_S_LoadSound) (const char *name);
|
||||
typedef struct channel_s *(*P_S_AllocChannel) (void);
|
||||
|
||||
typedef struct snd_render_funcs_s {
|
||||
P_S_AmbientOff pS_AmbientOff;
|
||||
|
@ -73,6 +75,8 @@ typedef struct snd_render_funcs_s {
|
|||
P_S_LocalSound pS_LocalSound;
|
||||
P_S_BlockSound pS_BlockSound;
|
||||
P_S_UnblockSound pS_UnblockSound;
|
||||
P_S_LoadSound pS_LoadSound;
|
||||
P_S_AllocChannel pS_AllocChannel;
|
||||
} snd_render_funcs_t;
|
||||
|
||||
typedef struct snd_render_data_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue