BURIED: Add constant for the intro video filename

This commit is contained in:
Filippos Karapetis 2022-01-02 06:13:05 +02:00
parent 3e595eedda
commit c4d40efd72
2 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,7 @@ bool GameUIWindow::startNewGameIntro(bool walkthrough) {
VideoWindow *video = new VideoWindow(_vm, this);
if (!video->openVideo(_vm->getFilePath(19972))) // FIXME: Why is this not a constant?
if (!video->openVideo(_vm->getFilePath(IDS_INTRO_FILENAME)))
error("Failed to load intro video");
video->setWindowPos(nullptr, 104, 145, 0, 0, kWindowPosNoSize | kWindowPosNoZOrder);

View File

@ -307,6 +307,7 @@ namespace Buried {
#define IDS_TITLE_PRESTO_LOGO_FILENAME 6166
#define IDS_TITLE_SW_LOGO_FILENAME 6167
#define IDS_INTRO_FILENAME 19972
#define IDS_FUTAPT_BOOK_AUDIO_FILENAME 6170