Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <string>
#include <vector>
#include <fcntl.h>
#include <unistd.h>
#include "inet.h"
#include "inet_file.h"
#include "lin_time.h"
#include <pwd.h>
Go to the source code of this file.
Functions | |
bool | scanChar (string s, char c, float &val) |
void | ScanOptions (char *buf, int ammt) |
bool | ForwardBytes (int fd, int mysocket_write, char buf[65536]) |
bool | ForwardFileBytes (int mysocket_read, int fd) |
bool | current_client_dead (pid_t p) |
void | changehome (bool, bool) |
pid_t | F0rkProcess (int close_this_socket, int &write, int &read) |
int | main (int argc, char **argv) |
Variables | |
float | fadein = 0 |
float | fadeout = 0 |
float | volume = 1 |
bool | quit = false |
Definition at line 150 of file respawning_soundserver.cpp.
Referenced by concat_ostream(), F0rkProcess(), and PlayMusic().
bool current_client_dead | ( | pid_t | p) |
Definition at line 75 of file respawning_soundserver.cpp.
Referenced by main().
Definition at line 83 of file respawning_soundserver.cpp.
References changehome(), fadein, fadeout, fNET_Write(), pwd, and volume.
Referenced by main().
Definition at line 51 of file respawning_soundserver.cpp.
References fNET_Write(), INET_BytesToRead(), INET_Recv(), and ScanOptions().
Definition at line 63 of file respawning_soundserver.cpp.
References c, and INET_Write().
Referenced by main().
Definition at line 120 of file respawning_soundserver.cpp.
References c, current_client_dead(), done, F0rkProcess(), ForwardBytes(), ForwardFileBytes(), i, INET_AcceptFrom(), INET_cleanup(), INET_startup(), INET_Write(), micro_sleep, mysocket_read, mysocket_write, and quit.
void ScanOptions | ( | char * | buf, |
int | ammt | ||
) |
Definition at line 39 of file respawning_soundserver.cpp.
References bleh, fadein, fadeout, quit, scanChar(), test, and volume.
Referenced by ForwardBytes().
float fadein = 0 |
Definition at line 18 of file respawning_soundserver.cpp.
float fadeout = 0 |
Definition at line 19 of file respawning_soundserver.cpp.
bool quit = false |
Definition at line 38 of file respawning_soundserver.cpp.
float volume = 1 |
Definition at line 20 of file respawning_soundserver.cpp.