equal
deleted
inserted
replaced
3 */ |
3 */ |
4 |
4 |
5 #ifndef IPCCONN_H_ |
5 #ifndef IPCCONN_H_ |
6 #define IPCCONN_H_ |
6 #define IPCCONN_H_ |
7 |
7 |
8 #include "../buffer.h" |
8 #include "../util/buffer.h" |
9 |
9 |
10 #include <stddef.h> |
10 #include <stddef.h> |
11 #include <stdbool.h> |
11 #include <stdbool.h> |
12 |
12 |
13 #define IPCCONN_MAPMSG_BYTES 4097 |
13 #define IPCCONN_MAPMSG_BYTES 4097 |
16 |
16 |
17 struct _flib_ipcconn; |
17 struct _flib_ipcconn; |
18 typedef struct _flib_ipcconn *flib_ipcconn; |
18 typedef struct _flib_ipcconn *flib_ipcconn; |
19 |
19 |
20 /** |
20 /** |
|
21 * TODO move demo recording up by one layer? |
|
22 * |
21 * Start an engine connection by listening on a random port. The selected port can |
23 * Start an engine connection by listening on a random port. The selected port can |
22 * be queried with flib_ipcconn_port and has to be passed to the engine. |
24 * be queried with flib_ipcconn_port and has to be passed to the engine. |
23 * |
25 * |
24 * The parameter "recordDemo" can be used to control whether demo recording should |
26 * The parameter "recordDemo" can be used to control whether demo recording should |
25 * be enabled for this connection. The localPlayerName is needed for demo |
27 * be enabled for this connection. The localPlayerName is needed for demo |