Called when the player hits the Multiplayer team-message key. Puts the player in input mode, or if already inputting resets the hud input message.
| 714 | // Called when the player hits the Multiplayer team-message key. |
| 715 | // Puts the player in input mode, or if already inputting resets the hud input message. |
| 716 | void StartTeamHUDInputMessage() { |
| 717 | // make sure that HUD_MESSAGE_TEAM is only set for team games |
| 718 | if (!Team_game) { |
| 719 | StartHUDInputMessage(); |
| 720 | return; |
| 721 | } |
| 722 | |
| 723 | HudInputMessage[0] = 0; |
| 724 | Doing_input_message = HUD_MESSAGE_TEAM; |
| 725 | HudInputMessageLen = 0; |
| 726 | SuspendControls(); |
| 727 | } |
| 728 | |
| 729 | // Given a hud message, it will determine who should get this message. |
| 730 | // "name: message" = the player with the callsign name should get the message |
no test coverage detected