- removed all uses of DTA_Translation except for the single one that passes a custom built table.
This means that with the exception of 3 pointers the DrawTexture interface only accepts numeric values now. Still need to get rid of the last 3 to have this ready for scripting.
This commit is contained in:
parent
d50e52ea59
commit
dadc8e2ec2
11 changed files with 41 additions and 49 deletions
|
|
@ -1712,7 +1712,7 @@ void R_DrawRemainingPlayerSprites()
|
|||
viewwindowy + viewheight/2 - vis->texturemid * vis->yscale - 0.5,
|
||||
DTA_DestWidthF, FIXED2DBL(vis->pic->GetWidth() * vis->xscale),
|
||||
DTA_DestHeightF, vis->pic->GetHeight() * vis->yscale,
|
||||
DTA_Translation, TranslationToTable(vis->Translation),
|
||||
DTA_TranslationIndex, vis->Translation,
|
||||
DTA_FlipX, flip,
|
||||
DTA_TopOffset, 0,
|
||||
DTA_LeftOffset, 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue