Home
last modified time | relevance | path

Searched refs:alpha_vel (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/test/
Dtestalpha.c179 static int alpha_vel; variable
235 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()