Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Functions | |
int | GetMaxVolume () |
void | changehome (bool to, bool linuxhome=true) |
bool | watch_for_sende (pid_t p) |
std::string | my_getstring (int socket) |
void | ForkedProcess (const char *file, float fade, int fd) |
int | ForkThenPlay (const char *file, float fade, int mysocket) |
void | music_finished () |
void | FinishOlde (int open_file) |
int | main (int argc, char **argv) |
Variables | |
int | fadeout = 0 |
int | fadein = 0 |
float | volume = 0 |
float | soft_volume = 0 |
int | bits = 0 |
int | done = 0 |
int | sende = 1 |
std::string | curmus |
int | mysocket = -1 |
void FinishOlde | ( | int | open_file) |
Definition at line 174 of file soundserver.mac.cpp.
References INET_close(), and INET_Write().
Referenced by main().
Definition at line 121 of file soundserver.mac.cpp.
References Music::Free(), INET_BytesToRead(), Music::Load(), Music::m, Music::Play(), and Music::Stop().
Referenced by ForkThenPlay().
Definition at line 144 of file soundserver.mac.cpp.
References accountXML::file, and ForkedProcess().
Referenced by main().
int GetMaxVolume | ( | ) |
Definition at line 327 of file soundserver.mac.cpp.
Referenced by main(), and Music::SetVolume().
Definition at line 184 of file soundserver.mac.cpp.
References done, fadein, fadeout, FinishOlde(), float, ForkThenPlay(), GetMaxVolume(), i, INET_AcceptFrom(), INET_BytesToRead(), INET_close(), INET_fgetc(), INET_startup(), my_getstring(), mysocket, and soft_volume.
void music_finished | ( | ) |
std::string my_getstring | ( | int | socket) |
bool watch_for_sende | ( | pid_t | p) |
int bits = 0 |
Definition at line 93 of file soundserver.mac.cpp.
std::string curmus |
Definition at line 96 of file soundserver.mac.cpp.
int done = 0 |
Definition at line 93 of file soundserver.mac.cpp.
int fadein = 0 |
Definition at line 91 of file soundserver.mac.cpp.
int fadeout = 0 |
Definition at line 91 of file soundserver.mac.cpp.
int mysocket = -1 |
Definition at line 163 of file soundserver.mac.cpp.
int sende = 1 |
Definition at line 95 of file soundserver.mac.cpp.
float soft_volume = 0 |
Definition at line 92 of file soundserver.mac.cpp.
float volume = 0 |
Definition at line 92 of file soundserver.mac.cpp.