j
This commit is contained in:
parent
7ee5775cad
commit
17d5032814
12 changed files with 4504 additions and 6 deletions
8
include/af_client.h
Normal file
8
include/af_client.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#ifndef __AF_CLIENT_H__
|
||||
#define __AF_CLIENT_H__
|
||||
|
||||
#include <glad/glad.h>
|
||||
#include <Mw/Milsko.h>
|
||||
#include <Mw/Widget/OpenGL.h>
|
||||
|
||||
#endif
|
||||
26
include/af_common.h
Normal file
26
include/af_common.h
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#ifndef __AF_COMMON_H__
|
||||
#define __AF_COMMON_H__
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <fishsoup.h>
|
||||
|
||||
#ifdef AF_SERVER
|
||||
#include <af_server.h>
|
||||
#endif
|
||||
|
||||
#ifdef AF_CLIENT
|
||||
#include <af_client.h>
|
||||
#endif
|
||||
|
||||
#define AF_DEFAULT_PORT 5312
|
||||
|
||||
/* should be broadcasted! otherwise other user wouldn't know */
|
||||
typedef struct af_pkt_join {
|
||||
unsigned char length;
|
||||
char* name;
|
||||
} af_pkt_join_t;
|
||||
|
||||
#endif
|
||||
4
include/af_server.h
Normal file
4
include/af_server.h
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
#ifndef __AF_SERVER_H__
|
||||
#define __AF_SERVER_H__
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue