-
-
Notifications
You must be signed in to change notification settings - Fork 534
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netplay.cpp: separate global
socket_set
into client_socket_set
an…
…d `server_socket_set` Not only this makes it easier to decompose the code better and decouple things, but also it's much easier to read and understand the code, e.g. which functions operate in which context. Ideally, we would like to completely separate client-side-only and server-side-only code at some point, which would greatly increase maintainability. Tests: local LAN hosting + joining, leaving MP games. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information
Showing
1 changed file
with
40 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters