projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20020424-2-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.h
diff --git
a/src/libgame/system.h
b/src/libgame/system.h
index f3569763da539a17284b19110d516426b7896033..4d8940d135125a919641ff08b5e94ddc70b31499 100644
(file)
--- a/
src/libgame/system.h
+++ b/
src/libgame/system.h
@@
-230,13
+230,15
@@
struct VideoSystemInfo
struct AudioSystemInfo
{
boolean sound_available;
struct AudioSystemInfo
{
boolean sound_available;
- boolean music_available;
boolean loops_available;
boolean loops_available;
- boolean mods_available;
- boolean sound_enabled;
+ boolean music_available;
+ boolean sound_enabled;
boolean sound_deactivated; /* for temporarily disabling sound */
boolean sound_deactivated; /* for temporarily disabling sound */
+ void (*func_reload_sounds)(void);
+ void (*func_reload_music)(void);
+
int soundserver_pipe[2];
int soundserver_pid;
char *device_name;
int soundserver_pipe[2];
int soundserver_pid;
char *device_name;
@@
-244,7
+246,6
@@
struct AudioSystemInfo
int channels;
int music_channel;
int channels;
int music_channel;
- int music_nr;
};
struct GfxInfo
};
struct GfxInfo
@@
-479,6
+480,8
@@
void ReloadCustomImage(Bitmap *, char *);
inline void OpenAudio(void);
inline void CloseAudio(void);
inline void SetAudioMode(boolean);
inline void OpenAudio(void);
inline void CloseAudio(void);
inline void SetAudioMode(boolean);
+inline void SetAudioReloadFunctions(void (*func_reload_sounds)(void),
+ void (*func_reload_music)(void));
inline void InitEventFilter(EventFilter);
inline boolean PendingEvent(void);
inline void InitEventFilter(EventFilter);
inline boolean PendingEvent(void);