equal
deleted
inserted
replaced
19 |
19 |
20 #ifndef NETPROTOCOL_H_ |
20 #ifndef NETPROTOCOL_H_ |
21 #define NETPROTOCOL_H_ |
21 #define NETPROTOCOL_H_ |
22 |
22 |
23 #include "../model/team.h" |
23 #include "../model/team.h" |
24 #include "../model/cfg.h" |
24 #include "../model/scheme.h" |
25 #include "../model/map.h" |
25 #include "../model/map.h" |
26 |
26 |
27 #include <stddef.h> |
27 #include <stddef.h> |
28 |
28 |
29 /** |
29 /** |
33 |
33 |
34 /** |
34 /** |
35 * Create a new scheme from this net message, which must have |
35 * Create a new scheme from this net message, which must have |
36 * meta->modCount+meta->settingCount+1 parts. |
36 * meta->modCount+meta->settingCount+1 parts. |
37 */ |
37 */ |
38 flib_cfg *flib_netmsg_to_cfg(flib_cfg_meta *meta, char **parts); |
38 flib_scheme *flib_netmsg_to_cfg(flib_metascheme *meta, char **parts); |
39 |
39 |
40 /** |
40 /** |
41 * Create a new map from this five-part netmsg |
41 * Create a new map from this five-part netmsg |
42 */ |
42 */ |
43 flib_map *flib_netmsg_to_map(char **parts); |
43 flib_map *flib_netmsg_to_map(char **parts); |