Tell the server I'm entering the game
| 2848 | |
| 2849 | // Tell the server I'm entering the game |
| 2850 | void MultiSendEnteringGame() { |
| 2851 | int size; |
| 2852 | uint8_t data[MAX_GAME_DATA_SIZE]; |
| 2853 | int count = 0; |
| 2854 | |
| 2855 | mprintf(0, "Sending entering game\n"); |
| 2856 | |
| 2857 | size = START_DATA(MP_ENTERING_GAME, data, &count); |
| 2858 | MultiAddByte(Player_num, data, &count); |
| 2859 | END_DATA(count, data, size); |
| 2860 | |
| 2861 | nw_SendReliable(NetPlayers[Player_num].reliable_socket, data, count); |
| 2862 | } |
| 2863 | |
| 2864 | // Tell my clients about damage done to a player |
| 2865 | // Server only |
no test coverage detected