123456789101112
if (n==1) { back1 = SDL_LoadBMP("data/images/1.bmp"); SDL_BlitSurface (back1, NULL, screen, &backCord); SDL_FreeSurface (back1); } if (n==2) { back1 = SDL_LoadBMP("data/images/2.bmp"); SDL_BlitSurface (back1, NULL, screen, &backCord); SDL_FreeSurface (back1); }