-static network_client = {
- .auth_mode = eServerModeAuthentication,
- .state = k_ESteamNetworkingConnectionState_None,
- .server_adress = "46.101.34.155:27402"
-};
-
-static int packet_minsize( SteamNetworkingMessage_t *msg, u32 size );
-static void network_send_item( enum netmsg_playeritem_type type );
-static void network_request_scoreboard( const char *mod_uid,
- const char *route_uid,
- u32 week, u64 userdata );
-static void network_publish_laptime( const char *mod_uid,
- const char *route_uid, f64 lap_time );
-
-static int network_connected(void){
+extern network_client;
+
+int packet_minsize( SteamNetworkingMessage_t *msg, u32 size );
+void network_send_item( enum netmsg_playeritem_type type );
+void network_request_scoreboard( const char *mod_uid,
+ const char *route_uid,
+ u32 week, u64 userdata );
+void network_publish_laptime( const char *mod_uid,
+ const char *route_uid, f64 lap_time );
+void chat_send_message( const char *message );
+void render_server_status_gui(void);
+void network_status_string( vg_str *str, u32 *colour );
+void network_send_region(void);
+
+static inline int network_connected(void)
+{
+ if( network_client.remote_version != NETWORK_SKATERIFT_VERSION ) return 0;