This commit is contained in:
Lea
2025-11-28 08:55:00 -05:00
2 changed files with 10 additions and 2 deletions

View File

@@ -86,6 +86,14 @@ void afficherImageMenu(std::fstream& monFlux) {
} }
//G<>n<EFBFBD>ral (plusieurs options) //G<>n<EFBFBD>ral (plusieurs options)
void initGrid(string grid[][LARGTIC]) {
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
grid[i][j] = "";
}
}
}
void afficherImageTableau(std::string grid[][LARGTIC], std::string style) { void afficherImageTableau(std::string grid[][LARGTIC], std::string style) {
SetConsoleOutputCP(CP_UTF8); SetConsoleOutputCP(CP_UTF8);
string emoteUp, string emoteUp,

View File

@@ -17,6 +17,7 @@ void ouvrirFichier(std::fstream& monFlux, std::string nomFichier);
void fermerFichier(std::fstream& monFlux); void fermerFichier(std::fstream& monFlux);
//Menu //Menu
void initGrid(std::string grid[][LARGTIC]);
void afficherMenu(char& choix); void afficherMenu(char& choix);
void afficherImageMenu(std::fstream& monFlux); void afficherImageMenu(std::fstream& monFlux);
@@ -34,5 +35,4 @@ void tourOrdi(std::string grid[][LARGTIC]);
void jeuDeuxJoueurs(std::string grid[][LARGTIC]); void jeuDeuxJoueurs(std::string grid[][LARGTIC]);
//Changer le th<74>me //Changer le th<74>me
void changerLeTheme(bool &theme); void changerLeTheme(bool& theme);