1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Added definitions for if DISABLE_NETWORK is defined.

This commit is contained in:
Fruitsalad
2022-02-15 16:01:41 +01:00
committed by Gymnasiast
parent 63520216a4
commit 27e7a1fca7

View File

@@ -4001,6 +4001,10 @@ int32_t network_get_num_players()
{
return 1;
}
int32_t network_get_num_visible_players()
{
return 1;
}
const char* network_get_player_name(uint32_t index)
{
return "local (OpenRCT2 compiled without MP)";
@@ -4152,6 +4156,10 @@ int32_t network_get_current_player_group_index()
{
return 0;
}
bool network_is_server_player_invisible()
{
return false;
}
void network_append_chat_log(std::string_view)
{
}