-
- src.w = surf_b_variations->w;
- src.h = surf_b_variations->h;
- dest.w = src.w;
- dest.h = src.h;
- dest.x = (XSIZE-src.w)/2 + cos(fadetimer/6.5)*10;
- dest.y = (YSIZE/2-src.h)/2 + sin(fadetimer/5.0)*10;
- SDL_SetAlpha(surf_b_variations, SDL_SRCALPHA, (int)(200 + 55*sin(fadetimer += movementrate/2.0)));
- SDL_BlitSurface(surf_b_variations,&src,surf_screen,&dest);
-
- src.w = surf_b_on->w;
- src.h = surf_b_on->h;
- dest.w = src.w;
- dest.h = src.h;
- dest.x = (XSIZE-src.w)/2 + cos((fadetimer + 1.0)/6.5)*10;
- dest.y = (YSIZE/2-src.h)/2 + surf_b_variations->h + 20 + sin((fadetimer + 1.0)/5.0)*10;
- SDL_SetAlpha(surf_b_on, SDL_SRCALPHA, (int)(200 + 55*sin(fadetimer-1.0)));
- SDL_BlitSurface(surf_b_on,&src,surf_screen,&dest);
-
- src.w = surf_b_rockdodger->w;
- src.h = surf_b_rockdodger->h;
- dest.w = src.w;
- dest.h = src.h;
- dest.x = (XSIZE-src.w)/2 + cos((fadetimer + 2.0)/6.5)*10;
- dest.y = (YSIZE/2-src.h)/2 + surf_b_variations->h + surf_b_on->h + 40 + sin((fadetimer + 2.0)/5)*10;
- SDL_SetAlpha(surf_b_rockdodger, SDL_SRCALPHA, (int)(200 + 55*sin(fadetimer-2.0)));
- SDL_BlitSurface(surf_b_rockdodger,&src,surf_screen,&dest);
-
- text = "Version " VERSION;
- x = (XSIZE-SFont_wide(text))/2 + sin(fadetimer/4.5)*10;
- PutString(surf_screen,x,YSIZE-50 + sin(fadetimer/2)*5,text);
-
- text = sequence[(int)(fadetimer/40)%NSEQUENCE];
- //text = "Press SPACE to start!";
- x = (XSIZE-SFont_wide(text))/2 + cos(fadetimer/4.5)*10;
- PutString(surf_screen,x,YSIZE-100 + cos(fadetimer/3)*5,text);
- break;