| 182 | } |
| 183 | |
| 184 | static void MultiAskforGuidebotMenu() { |
| 185 | int size_offset; |
| 186 | int count = 0; |
| 187 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 188 | // Only process this if we are the client |
| 189 | if (Netgame.local_role != LR_CLIENT) { |
| 190 | Int3(); // We shouldn't be here... get Kevin |
| 191 | return; |
| 192 | } |
| 193 | size_offset = START_DATA(MP_GUIDEBOTMENU_REQUEST, data, &count); |
| 194 | MultiAddByte(GB_MENU_REQ_TEXT, data, &count); |
| 195 | END_DATA(count, data, size_offset); |
| 196 | nw_SendReliable(NetPlayers[Player_num].reliable_socket, data, count); |
| 197 | } |
| 198 | |
| 199 | static void MultiStuffGuidebotMenuData(uint8_t *data, int *count, gb_menu *menu) { |
| 200 | int i; |
no test coverage detected