project_files/frontlib/ipc/ipcprotocol.h
changeset 7230 240620f46dd7
parent 7224 5143861c83bd
child 7271 5608ac657362
--- a/project_files/frontlib/ipc/ipcprotocol.h	Tue Jun 12 21:10:11 2012 +0200
+++ b/project_files/frontlib/ipc/ipcprotocol.h	Fri Jun 15 19:57:25 2012 +0200
@@ -5,6 +5,7 @@
 #include "../model/map.h"
 #include "../model/team.h"
 #include "../model/cfg.h"
+#include "../model/gamesetup.h"
 
 #include <stdbool.h>
 
@@ -27,7 +28,7 @@
  * Returns nonzero if something goes wrong. In that case the buffer
  * contents are unaffected.
  */
-int flib_ipc_append_mapconf(flib_vector *vec, flib_map *map, bool mappreview);
+int flib_ipc_append_mapconf(flib_vector *vec, const flib_map *map, bool mappreview);
 
 /**
  * Append a seed message to the buffer.
@@ -43,8 +44,10 @@
  * Returns nonzero if something goes wrong. In that case the buffer
  * contents are unaffected.
  */
-int flib_ipc_append_gamescheme(flib_vector *vec, flib_cfg *seed, flib_cfg_meta *meta);
+int flib_ipc_append_gamescheme(flib_vector *vec, const flib_cfg *cfg);
 
-int flib_ipc_append_addteam(flib_vector *vec, flib_team *team, bool perHogAmmo, bool sharedAmmo);
+int flib_ipc_append_addteam(flib_vector *vec, const flib_team *team, bool perHogAmmo, bool noAmmoStore);
+
+int flib_ipc_append_fullconfig(flib_vector *vec, const flib_gamesetup *setup, bool netgame);
 
 #endif /* IPCPROTOCOL_H_ */