1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
844dfb1604 Removed usage of boost::thread from vcmi, except for AI 2025-03-02 14:33:11 +00:00
42878af3a6 Better fix for lobby room crash
Always use TCP connection when connecting to self-hosted lobby room.
Effectively reverts 1.6.6 change for lobby connections. Single-player
connections still use intra-process pseudo connection

Main problem is various side effects caused by changing order of
operations. For example, client may inform lobby about joining the room
before server finishes startup, which was not possible before.
2025-02-25 14:05:56 +00:00
c3af0dc469 Remove unused parameters 2025-02-03 18:02:01 +00:00
048fc503c3 Do not start listening for connections in single-player games 2025-02-03 17:24:02 +00:00
d9244cf061 Remove network connection from local games
This removes need for TCP network connection in single-player games.

Instead, game will now create internal pseudo-connection that performs
client<->server communication by posting sent messages to client/server
asio::io_service'a.

This should fix gameplay aborting on switching to another app on iOS (and
apparently, on Android in some cases)
2025-02-03 17:24:02 +00:00
068c4bfa1e Fix compilation with boost 1.86 2024-09-09 16:59:01 +00:00
9d73b50979 Bind server to a randomly assigned port 2024-07-12 01:06:36 +03:00
35c1ef7be2 How about now? 2024-03-01 11:18:08 +01:00
7df36279c5 Compile fix? 2024-03-01 11:10:40 +01:00
5f95955535 Store and load last difficulty setting 2024-03-01 10:57:48 +01:00
0fc0ad238b Fixes for server shutdown logic, implemented connection aborting for
local server
2024-02-11 17:55:02 +02:00
0d263c5571 Implemented option to run server as a thread with shared VLC 2024-02-11 17:55:02 +02:00