X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fivac.git;a=blobdiff_plain;f=src%2Fivac.h;h=2bd69c52628302523530f40949406583d85c5587;hp=af64d04c8592b51f018558a3a821fd86ad7e3346;hb=3bffc32233a1608ba3338f39bc5193665f3095cc;hpb=c19ed5019b55ed603dc10ff6f8ea47bf25058589 diff --git a/src/ivac.h b/src/ivac.h index af64d04..2bd69c5 100644 --- a/src/ivac.h +++ b/src/ivac.h @@ -7,13 +7,11 @@ #define _GNU_SOURCE #include -/* for ui */ -#include - #include "network.h" #include "event.h" #include "input.h" #include "display.h" +#include "audio.h" /* defines */ #define CHAR_USERNAME 32 @@ -21,6 +19,7 @@ #define SUCCESS 1 #define IVAC_LISTEN_PORT 1025 +#define IVAC_UDP_PORT 1026 #define IVAC_S_SEC 2 #define IVAC_S_USEC 500 @@ -62,6 +61,7 @@ typedef struct s_ivac { t_display display; t_challenger challenger[MAX_CONNECTIONS]; char console[IVAC_CONSOLE_LEN][IVAC_CONSOLE_STRING_LEN]; + t_audio audio; } t_ivac; /* function prototypes */