projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20001129-1-src
[rocksndiamonds.git]
/
src
/
system.h
diff --git
a/src/system.h
b/src/system.h
index 0e84953a407dad736dc1d4f5885a9a164bb82619..feaf5ae668162cfcd3a1be0fa0c598a244af13cc 100644
(file)
--- a/
src/system.h
+++ b/
src/system.h
@@
-43,13
+43,13
@@
typedef int (*EventFilter)(const Event *);
/* structure definitions */
/* structure definitions */
-struct SystemInfo
+struct
Audio
SystemInfo
{
{
- boolean
audio
_available;
- boolean
audio_
loops_available;
- int
audio_process_id
;
- int
audio_process_pipe[2]
;
- int
audio
_fd;
+ boolean
sound
_available;
+ boolean loops_available;
+ int
soundserver_pipe[2]
;
+ int
soundserver_pid
;
+ int
device
_fd;
};
};
@@
-73,7
+73,7
@@
inline boolean PointerInWindow(DrawWindow);
inline boolean SetVideoMode(void);
inline void ChangeVideoModeIfNeeded(void);
inline boolean SetVideoMode(void);
inline void ChangeVideoModeIfNeeded(void);
-inline
boolean
InitAudio(void);
+inline
struct AudioSystemInfo
InitAudio(void);
inline void InitEventFilter(EventFilter);
inline boolean PendingEvent(void);
inline void InitEventFilter(EventFilter);
inline boolean PendingEvent(void);