forked from RigsOfRods/rigs-of-rods
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🎮 Multiplayer: Added
PeerOptions
+ UI
PeerOptions are flags used only locally on client to filter and control incoming traffic. * PEEROPT_MUTE_CHAT //!< CHAT and PRIVCHAT messages will not be allowed through. * PEEROPT_MUTE_ACTORS //!< Spawn actors muted and immediatelly mute existing actors. * PEEROPT_HIDE_ACTORS //!< Spawn actors hidden and immediatelly hide existing actors. At the moment, these flags are only kept as long as you're connected to one server. The game does not remember them across sessions yet. This introduces new messages: :envelope: `MSG_SIM_MUTE_NET_ACTOR_REQUESTED` - for consistency with existing `(UN)HIDE_NET_ACTOR_REQUESTED` :envelope: `MSG_SIM_UNMUTE_NET_ACTOR_REQUESTED` :envelope: `MSG_NET_ADD_PEEROPTIONS_REQUESTED` - for easy setting/clearing of the flags from UI, also triggers necessary updates to existing actors. :envelope: `MSG_NET_REMOVE_PEEROPTIONS_REQUESTED` The flags are set via extended MultiplayerClientList UI which now has a [<] button at every nickname, opening a popup menu.
- Loading branch information
Showing
15 changed files
with
348 additions
and
28 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
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
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
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
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
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
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
Oops, something went wrong.