mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-26 17:00:56 +00:00
- Blood: Add interpolation properties for kQAVTOMFIRE
(res_id: 66).
This commit is contained in:
parent
3cd868c9f9
commit
6998772487
1 changed files with 12 additions and 0 deletions
|
@ -202,6 +202,18 @@ void qavBuildInterpProps(QAV* const pQAV)
|
||||||
qavInterpProps.Insert(pQAV->res_id, std::move(interp));
|
qavInterpProps.Insert(pQAV->res_id, std::move(interp));
|
||||||
break;
|
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:
|
default:
|
||||||
{
|
{
|
||||||
QAVInterpProps interp{};
|
QAVInterpProps interp{};
|
||||||
|
|
Loading…
Reference in a new issue