diff --git a/w/w.c b/w/w.c index 87c5bd6..710475e 100644 --- a/w/w.c +++ b/w/w.c @@ -450,10 +450,12 @@ void clearscreen() void init() { + printf("Démarrage...\n"); srand(time(NULL)); FILE* file = fopen(statepath, "r"); if (file) { + printf("Chargement de la partie...\n"); fread(&state, sizeof(Gamestate), 1, file); fclose(file); } @@ -461,6 +463,7 @@ void init() { state.screen = SC_TITLE; } + printf("Début de la boucle principale...\n"); } int attack(Character* attacker, Character* defender)