diff options
Diffstat (limited to 'menuchoixpersos.c')
-rw-r--r-- | menuchoixpersos.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/menuchoixpersos.c b/menuchoixpersos.c index 3d55efd..9c02389 100644 --- a/menuchoixpersos.c +++ b/menuchoixpersos.c @@ -174,11 +174,11 @@ static void Fchangersurlignage2(int Vchoix, SURFACES *surfaces, /* this surface fills the whole screen */ SDL_BlitSurface(surf, NULL, surfaces->screen, NULL); - SDL_BlitSurface (surfaces->Ppretre,NULL,surfaces->Pecran,&positions->Vpositionmenupretre); - SDL_BlitSurface (surfaces->Ppaladin,NULL,surfaces->Pecran,&positions->Vpositionmenupaladin); - SDL_BlitSurface (surfaces->Pvoleur,NULL,surfaces->Pecran,&positions->Vpositionmenuvoleur); + SDL_BlitSurface(surfaces->Ppretre, NULL, surfaces->screen, &positions->menupretre); + SDL_BlitSurface(surfaces->Ppaladin, NULL, surfaces->screen, &positions->menupaladin); + SDL_BlitSurface(surfaces->Pvoleur, NULL, surfaces->screen, &positions->menuvoleur); - SDL_BlitSurface(text, NULL, surfaces->screen, &positions->Vpositiontextemenu); + SDL_BlitSurface(text, NULL, surfaces->screen, &positions->textemenu); SDL_Flip (surfaces->Pecran); } @@ -224,13 +224,13 @@ void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions) /* display the string associated with the current character number (aka Please choose ...) */ surf = TTF_RenderText_Blended(rpg_g.font, strings[Vnbperso], vert); - positions->Vpositiontextemenu.x = surfaces->screen->w / 2 - surf->w / 2; - SDL_BlitSurface(surf, NULL, surfaces->screen, &positions->Vpositiontextemenu); + positions->textemenu.x = surfaces->screen->w / 2 - surf->w / 2; + SDL_BlitSurface(surf, NULL, surfaces->screen, &positions->textemenu); - SDL_BlitSurface (surfaces->Ppretre,NULL,surfaces->Pecran,&positions->Vpositionmenupretre); - SDL_BlitSurface (surfaces->Ppaladin,NULL,surfaces->Pecran,&positions->Vpositionmenupaladin); - SDL_BlitSurface (surfaces->Pvoleur,NULL,surfaces->Pecran,&positions->Vpositionmenuvoleur); + SDL_BlitSurface(surfaces->Ppretre, NULL, surfaces->screen, &positions->menupretre); + SDL_BlitSurface(surfaces->Ppaladin, NULL, surfaces->screen, &positions->menupaladin); + SDL_BlitSurface(surfaces->Pvoleur, NULL, surfaces->screen, &positions->menuvoleur); SDL_Flip (surfaces->Pecran); continuer = true; |