+/*
+ * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved
+ * All trademarks are property of their respective owners
+ */
+
#ifndef NETWORK_H
#define NETWORK_H
#define SR_USE_LOCALHOST
/* Call it at start; Connects us to the gameserver */
-static int network_init(void);
+static void network_init(void);
/* Run this from main loop */
static void network_update(void);
}
}
-static int network_init(void)
+static void network_init(void)
{
if( steam_ready )
{
on_server_connect_status );
request_auth_ticket();
}
-
- return 1;
}
static void network_end(void*_)
#else /* SR_NETWORKED */
-static int network_init(void){ return 1; }
+static void network_init(void){}
static void network_update(void){}
static void network_end(void*_){}