OpenTTD/src/network
Jonathan G Rennison 0c5dc5d41e Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470)
Check if the job is still running two date fract ticks before it is due
to join, and if so pause the game until its done.
When loading a game, check if the game would block immediately due to
a job which is scheduled to be joined within two date fract ticks,
and if so pause the game until its done.
This avoids the main thread being blocked on a thread join, which appears
to the user as if the game is unresponsive, as the UI does not repaint
and cannot be interacted with.
Show if pause is due to link graph job in status bar, update network
messages.
This does not apply for network clients.
2020-12-22 15:17:57 +01:00
..
core Fix: workarounds for two emscripten bugs in the network stack 2020-12-15 15:46:39 +01:00
CMakeLists.txt Add: introduce CMake for project management 2020-06-05 19:36:05 +02:00
network.cpp Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470) 2020-12-22 15:17:57 +01:00
network.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_admin.cpp Codechange: Replace network related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
network_admin.h Codechange: Remove std::function from Pool iteration wrapper 2020-01-07 09:00:45 +00:00
network_base.h Codechange: Replace network related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
network_chat_gui.cpp Codechange: Replace FOR_ALL_TOWNS with range-based for loops 2019-12-21 20:13:03 +01:00
network_client.cpp Change: send network error to the server before making an emergency save (#8387) 2020-12-16 21:23:12 +01:00
network_client.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_command.cpp Codechange: Replace network related FOR_ALL with range-based for loops 2019-12-21 20:13:03 +01:00
network_content.cpp Fix: Remove unnessary reference to suppress warning (#8337) 2020-12-15 22:39:51 +01:00
network_content.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_content_gui.cpp Fix #8024: make online content gui more responsive while loading 2020-06-01 10:59:11 +02:00
network_content_gui.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_func.h Feature #7756: Allow server to supply a reason to kicked/banned clients 2020-02-04 22:17:39 +00:00
network_gamelist.cpp Codechange: Replace custom linked list for GRF texts with STL vectors and strings. 2020-05-21 20:02:34 +02:00
network_gamelist.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_gui.cpp Add: support for emscripten (play-OpenTTD-in-the-browser) 2020-12-15 15:46:39 +01:00
network_gui.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_internal.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
network_server.cpp Fix: Thread unsafe use of SendPacket for PACKET_SERVER_MAP_SIZE 2020-07-09 16:08:01 +01:00
network_server.h Feature #7756: Allow server to supply a reason to kicked/banned clients 2020-02-04 22:17:39 +00:00
network_type.h Fix #8060, 5880f14: Restore admin network API compatibility. 2020-04-05 18:36:21 +01:00
network_udp.cpp Fix: Thread unsafe use of NetworkAddress::GetAddressAsString 2020-06-21 11:47:56 +01:00
network_udp.h Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00