hedgewars/uRender.pas
changeset 8145 6408c0ba4ba1
parent 7069 bcf9d8e64e92
child 8330 aaefa587e277
child 8560 134a098235fa
equal deleted inserted replaced
8143:3f2ba6debbdd 8145:6408c0ba4ba1
    53 
    53 
    54 
    54 
    55 implementation
    55 implementation
    56 uses uVariables;
    56 uses uVariables;
    57 
    57 
       
    58 {$IFDEF USE_TOUCH_INTERFACE}
       
    59 const
       
    60     FADE_ANIM_TIME = 500;
       
    61     MOVE_ANIM_TIME = 500;
       
    62 {$ENDIF}
       
    63 
    58 var LastTint: LongWord = 0;
    64 var LastTint: LongWord = 0;
    59 
    65 
    60 procedure DrawSpriteFromRect(Sprite: TSprite; r: TSDL_Rect; X, Y, Height, Position: LongInt);
    66 procedure DrawSpriteFromRect(Sprite: TSprite; r: TSDL_Rect; X, Y, Height, Position: LongInt);
    61 begin
    67 begin
    62 r.y:= r.y + Height * Position;
    68 r.y:= r.y + Height * Position;