Searched refs:alpha_vel (Results 1 – 1 of 1) sorted by relevance
179 static int alpha_vel; variable235 alpha_vel = 1; in LoadSprite()286 if ( (alpha+alpha_vel) < 0 ) { in MoveSprite()287 alpha_vel = -alpha_vel; in MoveSprite()289 if ( (alpha+alpha_vel) > 255 ) { in MoveSprite()290 alpha_vel = -alpha_vel; in MoveSprite()292 SDL_SetAlpha(sprite, SDL_SRCALPHA, (Uint8)(alpha+alpha_vel)); in MoveSprite()