1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

outro for RoE

This commit is contained in:
Laserlicht
2024-09-05 21:31:17 +02:00
parent 6179521364
commit 6d9385b8bd
10 changed files with 69 additions and 37 deletions

View File

@@ -33,14 +33,15 @@ class VideoWidgetOnce;
class CBonusSelection;
class CampaignIntroVideo : public CWindowObject
class CampaignRimVideo : public CWindowObject
{
std::shared_ptr<VideoWidgetOnce> videoPlayer;
std::shared_ptr<CBonusSelection> bonusSel;
std::function<void()> closeCb;
void exit();
public:
CampaignIntroVideo(VideoPath video, ImagePath rim, std::shared_ptr<CBonusSelection> bonusSel);
CampaignRimVideo(VideoPath video, ImagePath rim, std::function<void()> closeCb);
void clickPressed(const Point & cursorPosition) override;
void keyPressed(EShortcut key) override;