Added intro video
This commit is contained in:
@ -153,6 +153,11 @@ private:
|
||||
float m_logoAnimCounter = 0.0f;
|
||||
bool m_helpOverlayPausedGame = false;
|
||||
|
||||
// Intro video playback (in-process via FFmpeg)
|
||||
bool m_introStarted = false;
|
||||
std::string m_introPath = "assets/videos/spacetris_intro.mp4";
|
||||
std::unique_ptr<class VideoPlayer> m_videoPlayer;
|
||||
|
||||
// Gameplay background (per-level) with fade, mirroring main.cpp behavior
|
||||
SDL_Texture* m_levelBackgroundTex = nullptr;
|
||||
SDL_Texture* m_nextLevelBackgroundTex = nullptr; // used during fade transitions
|
||||
|
||||
Reference in New Issue
Block a user