Externally-called only, and only if cls.state == CA_CINEMATIC (or CL_IsRunningInGameCinematic() == true now)
| 2018 | // Externally-called only, and only if cls.state == CA_CINEMATIC (or CL_IsRunningInGameCinematic() == true now) |
| 2019 | // |
| 2020 | void SCR_DrawCinematic (void) |
| 2021 | { |
| 2022 | if (CL_InGameCinematicOnStandBy()) |
| 2023 | { |
| 2024 | PlayCinematic(sInGameCinematicStandingBy,NULL,qtrue); |
| 2025 | } |
| 2026 | else if( qbTextCrawlFixed && stopCinematicCallCount > 1) |
| 2027 | { |
| 2028 | PlayCinematic(sTextCrawlFixedCinematic, NULL, qtrue); |
| 2029 | } |
| 2030 | |
| 2031 | if (CL_handle >= 0 && CL_handle < MAX_VIDEO_HANDLES) { |
| 2032 | CIN_DrawCinematic(CL_handle); |
| 2033 | if (cinTable[CL_handle].hCRAWLTEXT && (cls.realtime - CL_iPlaybackStartTime >= TC_DELAY)) |
| 2034 | { |
| 2035 | CIN_AddTextCrawl(); |
| 2036 | } |
| 2037 | } |
| 2038 | } |
| 2039 | |
| 2040 | void SCR_RunCinematic (void) |
| 2041 | { |
no test coverage detected