// ==================
// SEQUENCE MENU
// ==================

window intro
{
	video theintro
	{
		size		"1024 768"
		src			"intro"
		onClick		{
			cmd "ui_pop;"
		}
		onEnd {
			cmd "ui_pop;"
		}
	}

	func onWindowOpened {
		cmd "music_stop;"
		*cvar:intro_old_scr_showcursor = *cvar:scr_showcursor
		*cvar:scr_showcursor = 0
	}

	func onWindowClosed {
		*cvar:scr_showcursor = *cvar:intro_old_scr_showcursor
		delete *cvar:intro_old_scr_showcursor
	}
}
