mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 01:10:51 +00:00
- Blood: Add interpolation properties for kQAV2TOMFIRE
(res_id: 71).
This commit is contained in:
parent
c6c7ae76d6
commit
c46c52a724
1 changed files with 15 additions and 0 deletions
|
@ -215,6 +215,21 @@ void qavBuildInterpProps(QAV* const pQAV)
|
|||
}
|
||||
break;
|
||||
}
|
||||
case kQAV2TOMFIRE:
|
||||
{
|
||||
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++)
|
||||
{
|
||||
for (int j = 0; j < 3; j += 2)
|
||||
{
|
||||
qavSetNonInterpFrameTile(pQAV->res_id, i, j);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
QAVInterpProps interp{};
|
||||
|
|
Loading…
Reference in a new issue