Added definitions for if DISABLE_NETWORK is defined.

This commit is contained in:
Fruitsalad authored and Gymnasiast committed 2022-09-06 23:28:34 +02:00
1 parent 63520216a4
commit 27e7a1fca7
1 file changed
+8
+8
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)
{
}