Closed jdolan closed 2 years ago
The menu itself is not quite done. Some layout quirks, and I haven't wired up the team selection action. But the plumbing is all there, and there's so much else in this PR that I figured I'd open it up in case you'd like to review.
This PR wires up the secondary menu button (bottom row) to allow the player to join a team once connected. The vast majority of the work here was actually to clean up and enhance the client's representation of other connected clients:
cl_client_info_t
is nowcg_client_info_t
and is implemented entirely in cgame.sound
tocgame
, because they relied oncl_client_info_t
. This is actually much cleaner and more flexible, anyway.game
andcgame
rather thanserver
andclient
. Now mods can extend this packet to add more sound effects, whatever they like.