rubidium42
f1dfa661a1
Codechange: [Network] Use std::string for NetworkGameInfo
2021-05-06 21:45:36 +02:00
Rubidium
ead30dc725
Cleanup: [Network] Remove variable from NetworkGameInfo that is only used during deserialisation
2021-05-05 21:01:23 +02:00
rubidium42
e7581fd42d
Change: [Network] Update server's NetworkServerGameInfo only when needed
...
Split the updating in a "static" version that only needs to be called when a new map is loaded or some settings are changed, and a "dynamic" version that updates everything that changes regularly such as the current game date or the number of spectators.
2021-05-05 21:01:23 +02:00
rubidium42
72bd62fd70
Codechange: [Network] Use a single NetworkServerGameInfo object at server side and serialize that for the clients
2021-05-05 21:01:23 +02:00
Patric Stout
b57d845e55
Codechange: refactor CheckGameCompatibility() from existing function
...
Later commits use this function in other places too.
2021-04-27 20:18:53 +02:00
Patric Stout
84c75a7b9a
Codechange: be explicit in pointer comparisons
2021-04-27 20:18:53 +02:00
Patric Stout
cb2ef1ea4b
Codechange: move all NetworkGameInfo related functions to a single file
...
It currently was a bit scattered over the place. Part of
NetworkGameInfo is also the GRF Identifiers that goes with it.
2021-04-27 20:18:53 +02:00