1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#pragma once #include "../shared/protocol.h" typedef struct { unsigned int ping; uint8_t ping_id; bool ping_received; bool ping_timeout; bool connected; uint8_t mode; uint8_t map_width; uint8_t map_height; w2_s_cmd_info_tx info; } w2_s_client_state; extern w2_s_client_state g_w2_state;