From 6998772487a2bd9b4215f7df769f63f96a6fcc5b Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sun, 22 Aug 2021 07:33:46 +1000 Subject: [PATCH] - Blood: Add interpolation properties for `kQAVTOMFIRE` (res_id: 66). --- source/games/blood/src/qav.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/source/games/blood/src/qav.cpp b/source/games/blood/src/qav.cpp index 9a3dc2746..2fb1dd223 100644 --- a/source/games/blood/src/qav.cpp +++ b/source/games/blood/src/qav.cpp @@ -202,6 +202,18 @@ void qavBuildInterpProps(QAV* const pQAV) qavInterpProps.Insert(pQAV->res_id, std::move(interp)); break; } + case kQAVTOMFIRE: + { + QAVInterpProps interp{}; + interp.flags |= true << kQAVIsLoopable; + interp.PrevTileFinder = qavGetInterpType("interpolate-index"); + qavInterpProps.Insert(pQAV->res_id, std::move(interp)); + for (int i = 0; i < pQAV->nFrames; i++) + { + qavSetNonInterpFrameTile(pQAV->res_id, i, 0); + } + break; + } default: { QAVInterpProps interp{};