Add network stubs for no network builds.

This commit is contained in:
ZehMatt authored and Michał Janiszewski committed 2017-10-05 10:42:43 +02:00
1 parent 5283804b37
commit 97504b45ae
1 file changed
+4
+4
View File
@@ -3194,6 +3194,10 @@ sint32 network_get_mode() { return NETWORK_MODE_NONE; }
sint32 network_get_status() { return NETWORK_STATUS_NONE; }
sint32 network_get_authstatus() { return NETWORK_AUTH_NONE; }
uint32 network_get_server_tick() { return gCurrentTicks; }
void network_flush() {}
void network_send_tick() {}
void network_check_desynchronization() {}
void network_enqueue_game_action(const IGameAction *action) {}
void network_send_gamecmd(uint32 eax, uint32 ebx, uint32 ecx, uint32 edx, uint32 esi, uint32 edi, uint32 ebp, uint8 callback) {}
void network_send_game_action(const IGameAction *action) {}
void network_send_map() {}