#include #include #include #include #include //#include #include #include #include "structure.h" void affichage_stage(SDL_Surface *ecran,BACKROUND backround) { int i,x,y; x = backround.position.x; y = backround.position.y; for(i = 0; i < backround.nombre;i++) { backround.position.x = x + backround.position_image[i].x; backround.position.y = y + backround.position_image[i].y; SDL_BlitSurface(backround.image[i],NULL,ecran,&backround.position); } }