bool InitCredit()
{
partTime = 0;
sound.del();
sound.create(UID(1156849801, 1304938369, 1707325116, 2047150946), true).play();
video.del();
video.create(UID(1156849801, 1304938369, 1707325116, 2047150946), true);
windowCreditsVideo.create();
windowCreditsVideo.show();
return true;
}
void ShutCredit()
{
video.del();
sound.del();
windowCreditsVideo.hide();
}
bool UpdateCredit()
{
windowCreditsVideo.update();
Gui.update();
partTime += Time.rd();
video.update(partTime);
if(Kb.k.any() || Ms.bp(0) || Ms.bp(1))
{
StateMenu.set();
}
return true;
}
void DrawCredit()
{
video.drawFs(FIT_FULL);
Gui.draw();
}