Example #1
0
/*
=================
CG_StopCinematic_f
=================
*/
void CG_StopCinematic_f( void ) {
	if ( cg.cinematicHandle < 0 )
		return;

	trap_CIN_StopCinematic(cg.cinematicHandle);
	cg.cinematicHandle = -1;
	//trap_S_StopAllSounds();
}
static void MediaView_OnClose(void) {
	if(s_mediaview_menu.mediatype == MT_VIDEO) {
		trap_CIN_StopCinematic(s_mediaview_menu.CINhandle);
		Music_TriggerRestart();
		uis.musicbool=qfalse;
	}

	if(s_mediaview_menu.execOnClose[0]) {
		trap_Cmd_ExecuteText( EXEC_APPEND, va("%s\n",s_mediaview_menu.execOnClose));
	}
}
Example #3
0
void CG_StopCinematicDc (int handle)
{
    trap_CIN_StopCinematic(handle);
}