diff --git a/source/common/menu/menudef.cpp b/source/common/menu/menudef.cpp index 5d664e12e..087e32b6d 100644 --- a/source/common/menu/menudef.cpp +++ b/source/common/menu/menudef.cpp @@ -604,6 +604,19 @@ static void ParseImageScrollerBody(FScanner &sc, FImageScrollerDescriptor *desc) } desc->mItems.Push(item); } + else if (sc.Compare("qavanimationitem")) + { + if (!(g_gameType & GAMEFLAG_BLOOD)) + { + I_Error("QAV animations not available!"); // these (currently) only exist in Blood. + } + FImageScrollerDescriptor::ScrollerItem item; + sc.GetString(); + item.text = sc.String; + item.type = -1; + item.scriptID = INT_MAX; + desc->mItems.Push(item); + } else if (sc.Compare("animatedtransition")) { desc->mFlags |= LMF_Animate; diff --git a/wadsrc/static/demolition/menudef.txt b/wadsrc/static/demolition/menudef.txt index f4edc5104..a369d6835 100644 --- a/wadsrc/static/demolition/menudef.txt +++ b/wadsrc/static/demolition/menudef.txt @@ -380,6 +380,13 @@ ImageScroller "HelpMenu" ImageItem "TEXTSTORY", 400 ImageItem "F1HELP", 401 } + ifgame(blood) + { + QAVAnimationItem "Help4" + QAVAnimationItem "Help5" + QAVAnimationItem "Help3" + QAVAnimationItem "Help3b" + } ifgame(ShadowWarrior) { // The menu has no default binding, but if someone tries to open it anyway show the cool retro ads that were shipped with the game. :D @@ -479,6 +486,10 @@ ImageScroller "CreditsMenu" TextItem "REDNECK RAMPAGE RIDES AGAIN\n(c) 1998 XATRIX ENTERTAINMENT, INC.\n\nREDNECK RAMPAGE RIDES AGAIN\nIS A TRADEMARK OF\nINTERPLAY PRODUCTIONS", 70 animatedtransition } + ifgame(blood) + { + QAVAnimationItem "Credits" + } ifgame(ShadowWarrior) { ifshareware