MCPcopy Create free account
hub / github.com/diasurgical/devilution / PlayInGameMovie

Function PlayInGameMovie

Source/engine.cpp:1434–1443  ·  view source on GitHub ↗

* @brief Fade to black and play a video * @param pszMovie file path of movie */

Source from the content-addressed store, hash-verified

1432 * @param pszMovie file path of movie
1433 */
1434void PlayInGameMovie(char *pszMovie)
1435{
1436 PaletteFadeOut(8);
1437 play_movie(pszMovie, FALSE);
1438 ClearScreenBuffer();
1439 force_redraw = 255;
1440 scrollrt_draw_game_screen(TRUE);
1441 PaletteFadeIn(8);
1442 force_redraw = 255;
1443}
1444
1445DEVILUTION_END_NAMESPACE

Callers 1

MAI_LazurusFunction · 0.85

Calls 5

PaletteFadeOutFunction · 0.85
play_movieFunction · 0.85
ClearScreenBufferFunction · 0.85
PaletteFadeInFunction · 0.85

Tested by

no test coverage detected