equal
deleted
inserted
replaced
21 #define IPCPROTOCOL_H_ |
21 #define IPCPROTOCOL_H_ |
22 |
22 |
23 #include "../util/buffer.h" |
23 #include "../util/buffer.h" |
24 #include "../model/map.h" |
24 #include "../model/map.h" |
25 #include "../model/team.h" |
25 #include "../model/team.h" |
26 #include "../model/cfg.h" |
26 #include "../model/scheme.h" |
27 #include "../model/gamesetup.h" |
27 #include "../model/gamesetup.h" |
28 |
28 |
29 #include <stdbool.h> |
29 #include <stdbool.h> |
30 |
30 |
31 /** |
31 /** |
69 * Append the game scheme to the buffer. |
69 * Append the game scheme to the buffer. |
70 * |
70 * |
71 * Returns nonzero if something goes wrong. In that case the buffer |
71 * Returns nonzero if something goes wrong. In that case the buffer |
72 * contents are unaffected. |
72 * contents are unaffected. |
73 */ |
73 */ |
74 int flib_ipc_append_gamescheme(flib_vector *vec, const flib_cfg *cfg); |
74 int flib_ipc_append_gamescheme(flib_vector *vec, const flib_scheme *cfg); |
75 |
75 |
76 int flib_ipc_append_addteam(flib_vector *vec, const flib_team *team, bool perHogAmmo, bool noAmmoStore); |
76 int flib_ipc_append_addteam(flib_vector *vec, const flib_team *team, bool perHogAmmo, bool noAmmoStore); |
77 |
77 |
78 int flib_ipc_append_fullconfig(flib_vector *vec, const flib_gamesetup *setup, bool netgame); |
78 int flib_ipc_append_fullconfig(flib_vector *vec, const flib_gamesetup *setup, bool netgame); |
79 |
79 |