Just used to create the initial Recording/Replaying notification.
| 702 | |
| 703 | // Just used to create the initial Recording/Replaying notification. |
| 704 | bool sendHudStartMessage() |
| 705 | { |
| 706 | // Don't bother sending messages if the eye isn't present yet. |
| 707 | if (!TFE_DarkForces::s_playerEye) |
| 708 | { |
| 709 | return false; |
| 710 | } |
| 711 | |
| 712 | if (demoStartNotified) |
| 713 | { |
| 714 | demoStartNotified = false; |
| 715 | if (isRecording()) |
| 716 | { |
| 717 | TFE_DarkForces::hud_sendTextMessage("Recording started...", 0, false); |
| 718 | return true; |
| 719 | } |
| 720 | else if (isDemoPlayback()) |
| 721 | { |
| 722 | TFE_DarkForces::hud_sendTextMessage("Playback started...", 0, false); |
| 723 | return true; |
| 724 | } |
| 725 | } |
| 726 | return false; |
| 727 | } |
| 728 | |
| 729 | void sendHudPauseMessage() |
| 730 | { |
no test coverage detected