mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- animateoffs cleanup and consolidation
This was rewritten based on specs alone - it still doesn’t look that different due to its simplicity.
This commit is contained in:
parent
83c0ad55f2
commit
4f2170655c
15 changed files with 68 additions and 140 deletions
|
@ -56,8 +56,7 @@ void hud_drawsprite(double sx, double sy, double sz, double a, int picnum, int d
|
|||
alpha *= (dastat & RS_TRANS1)? glblend[0].def[!!(dastat & RS_TRANS2)].alpha : 1.;
|
||||
int palid = TRANSLATION(Translation_Remap + curbasepal, dapalnum);
|
||||
|
||||
if (picanm[picnum].sf & PICANM_ANIMTYPE_MASK)
|
||||
picnum += animateoffs(picnum, 0);
|
||||
tileUpdatePicnum(&picnum);
|
||||
|
||||
auto tex = tileGetTexture(picnum);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue