X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fgame%2Fopengl%2Fr_animations.pas;h=74c2ebbdcddc236df3d1a84048675cea617adba9;hb=5f94c756b7105cb6cc3c947451774c93f463b250;hp=156869b82640047a1f888265e1c36887b932736a;hpb=e575ce001fa1150001a91db8c019f72a5ff48b32;p=d2df-sdl.git diff --git a/src/game/opengl/r_animations.pas b/src/game/opengl/r_animations.pas index 156869b..74c2ebb 100644 --- a/src/game/opengl/r_animations.pas +++ b/src/game/opengl/r_animations.pas @@ -17,10 +17,7 @@ unit r_animations; interface - uses g_base, g_textures, MAPDEF, Imaging; // TMirrorType, TAnimation, TDFPoint, TDynImageDataArray - - procedure r_Animation_Draw (t: TAnimation; x, y: Integer; mirror: TMirrorType); - procedure r_Animation_DrawEx (t: TAnimation; x, y: Integer; mirror: TMirrorType; rpoint: TDFPoint; angle: SmallInt); + uses g_base, g_textures, MAPDEF, Imaging; // TMirrorType, TAnimationState, TDFPoint, TDynImageDataArray procedure r_AnimationState_Draw (TID: DWORD; t: TAnimationState; x, y: Integer; mirror: TMirrorType); procedure r_AnimationState_DrawEx (FID: DWORD; t: TAnimationState; x, y: Integer; mirror: TMirrorType; rpoint: TDFPoint; angle: SmallInt); @@ -59,18 +56,6 @@ implementation g_language, g_game ; - procedure r_Animation_Draw (t: TAnimation; x, y: Integer; mirror: TMirrorType); - begin - if t.enabled then - e_DrawAdv(framesArray[t.id].TexturesID[t.currentFrame], x, y, t.alpha, true, t.blending, 0, nil, mirror) - end; - - procedure r_Animation_DrawEx (t: TAnimation; x, y: Integer; mirror: TMirrorType; rpoint: TDFPoint; angle: SmallInt); - begin - if t.enabled then - e_DrawAdv(framesArray[t.id].TexturesID[t.currentFrame], x, y, t.alpha, true, t.blending, angle, @rpoint, mirror) - end; - procedure r_AnimationState_Draw (TID: DWORD; t: TAnimationState; x, y: Integer; mirror: TMirrorType); begin if t.enabled then