diff options
| -rw-r--r-- | actions.c | 12 | ||||
| -rw-r--r-- | jouer.c | 2 | ||||
| -rw-r--r-- | magies.c | 4 | ||||
| -rw-r--r-- | map.c | 2 | ||||
| -rw-r--r-- | menuchoixpersos.c | 2 | ||||
| -rw-r--r-- | menuprincipal.c | 2 | 
6 files changed, 24 insertions, 0 deletions
| @@ -107,6 +107,8 @@ void Fattaquer(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int                      Fblitcoloredselection(surfaces,positions,*Vtourallie,persos);                  }                  break; +                default: +                break;              }              break; @@ -191,6 +193,8 @@ void Fselectionnermagienoire(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES                  SDL_Flip(surfaces->Pecran);                  continuer=Fmagieelement(surfaces,positions,persos,Vtourallie,ennemis,Vnbennemis,selection,Vtour);                  break; +                default: +                break;              }          }      } @@ -242,6 +246,8 @@ void Fselectionnermagieblanche(SURFACES *surfaces,POSITIONS *positions,PERSONNAG                  if(selection==SOIN)                      continuer=Fmagiesoin(surfaces,positions,persos,Vtourallie,ennemis,Vnbennemis,Vtour);                  break; +                default: +                break;              }          }      } @@ -305,6 +311,8 @@ void Fselectionnerobjet(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES pers                          continuer=Fether(surfaces,positions,persos,Vtourallie,ennemis,Vnbennemis,objets,selection,Vtour);                  }                  break; +                default: +                break;              }          }      } @@ -418,6 +426,8 @@ int Fpotion(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int *Vt                      else if(type==POTIONPLUS)                          objets->potionsplus--;                      break; +                    default: +                    break;                  }                  break;              } @@ -538,6 +548,8 @@ int Fether(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int *Vto                      else if(type==ETHERPLUS)                          objets->ethersplus--;                      break; +                    default: +                    break;                  }                  break;              } @@ -93,6 +93,8 @@ int Fjouer (SURFACES *surfaces, POSITIONS *positions, PERSONNAGES persos[],ENNEM                      else if(selection==OBJETS)                          Fselectionnerobjet(surfaces,positions,persos,&Vtourallie,ennemis,Vnbennemis,&objets,&Vtour);                      break; +                    default: +                    break;                  }                  break;              } @@ -117,6 +117,8 @@ int Fmagieelement (SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],                      Fblitcoloredselection(surfaces,positions,*Vtourallie,persos);                  }                  break; +                default: +                break;              }              break;          } @@ -229,6 +231,8 @@ int Fmagiesoin(SURFACES *surfaces,POSITIONS *positions,PERSONNAGES persos[],int                  }                  continuer=0;                  break; +                default: +                break;              }              break;          } @@ -30,6 +30,8 @@ void Fmap (SURFACES*surfaces, POSITIONS* positions,PERSONNAGES persos[],ENNEMIS                  case SDLK_a:                  continuer=0;                  break; +                default: +                break;              }              break;          } diff --git a/menuchoixpersos.c b/menuchoixpersos.c index a41d548..a137611 100644 --- a/menuchoixpersos.c +++ b/menuchoixpersos.c @@ -86,6 +86,8 @@ void Fmenuchoixpersos (SURFACES *surfaces, POSITIONS *positions)                      Vnbperso++;                      continuer=0;                      break; +                    default: +                    break;                  }                  break;              } diff --git a/menuprincipal.c b/menuprincipal.c index 64ada29..51d4732 100644 --- a/menuprincipal.c +++ b/menuprincipal.c @@ -57,6 +57,8 @@ void Fmenuprincipal (SURFACES *surfaces, POSITIONS *positions)                      SDL_Flip (surfaces->Pecran);                  }                  break; +                default: +                break;              }              break;          } | 
