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
No known key found for this signature in database
GPG Key ID: DBFFF47AB2CA3EDD
1 changed files with 8 additions and 0 deletions

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)
{
}