56 * contents are unaffected. |
56 * contents are unaffected. |
57 */ |
57 */ |
58 int flib_ipc_append_seed(flib_vector *vec, const char *seed); |
58 int flib_ipc_append_seed(flib_vector *vec, const char *seed); |
59 |
59 |
60 /** |
60 /** |
61 * Append a script message to the buffer. |
61 * Append a script to the buffer (e.g. "Missions/Training/Basic_Training_-_Bazooka.lua") |
62 * |
62 * |
63 * Returns nonzero if something goes wrong. In that case the buffer |
63 * Returns nonzero if something goes wrong. In that case the buffer |
64 * contents are unaffected. |
64 * contents are unaffected. |
65 */ |
65 */ |
66 int flib_ipc_append_script(flib_vector *vec, const char *script); |
66 int flib_ipc_append_script(flib_vector *vec, const char *script); |
67 |
67 |
68 /** |
68 /** |
|
69 * Append a game style to the buffer. (e.g. "Capture the Flag") |
|
70 * |
|
71 * Returns nonzero if something goes wrong. In that case the buffer |
|
72 * contents are unaffected. |
|
73 */ |
|
74 int flib_ipc_append_style(flib_vector *vec, const char *style); |
|
75 |
|
76 /** |
69 * Append the game scheme to the buffer. |
77 * Append the game scheme to the buffer. |
70 * |
78 * |
71 * Returns nonzero if something goes wrong. In that case the buffer |
79 * Returns nonzero if something goes wrong. In that case the buffer |
72 * contents are unaffected. |
80 * contents are unaffected. |
73 */ |
81 */ |
74 int flib_ipc_append_gamescheme(flib_vector *vec, const flib_scheme *cfg); |
82 int flib_ipc_append_gamescheme(flib_vector *vec, const flib_scheme *scheme); |
75 |
83 |
76 int flib_ipc_append_addteam(flib_vector *vec, const flib_team *team, bool perHogAmmo, bool noAmmoStore); |
84 /** |
77 |
85 * Append the entire game config to the buffer (including the final "!" that marks the |
|
86 * end of configuration data for the engine) |
|
87 * |
|
88 * Returns nonzero if something goes wrong. In that case the buffer |
|
89 * contents are unaffected. |
|
90 */ |
78 int flib_ipc_append_fullconfig(flib_vector *vec, const flib_gamesetup *setup, bool netgame); |
91 int flib_ipc_append_fullconfig(flib_vector *vec, const flib_gamesetup *setup, bool netgame); |
79 |
92 |
80 #endif /* IPCPROTOCOL_H_ */ |
93 #endif /* IPCPROTOCOL_H_ */ |