feinschliff

This commit is contained in:
2025-11-11 10:29:07 +01:00
parent f2ee8341d3
commit 212d6990dc
6 changed files with 5 additions and 7 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
+5 -7
View File
@@ -44,13 +44,11 @@ int main(int argc, char *argv[])
// Aktivieren durch -DSTART_GRAPHICS beim Kompilieren // Aktivieren durch -DSTART_GRAPHICS beim Kompilieren
// und wenn in graphicalGame.h eine passende Funktion existiert. // und wenn in graphicalGame.h eine passende Funktion existiert.
#ifdef START_GRAPHICS #ifdef START_GRAPHICS
// Beispiel-Signatur – bitte ggf. an deine API anpassen: startGame((const char (*)[MAX_SEARCH_FIELD_LEN])wordSalad,
// void startGraphicalGame(const char field[][MAX_SEARCH_FIELD_LEN], unsigned int size, SALAD_SIZE,
// const char words[][MAX_WORD_LEN], unsigned int wordCount); words,
startGraphicalGame((const char (*)[MAX_SEARCH_FIELD_LEN])wordSalad, wordCount,
SALAD_SIZE, 800);
(const char (*)[MAX_WORD_LEN])words,
wordCount);
#endif #endif
} else { } else {
fprintf(stderr, "[FEHLER] Nur %u von %u Wörtern konnten platziert werden.\n", fprintf(stderr, "[FEHLER] Nur %u von %u Wörtern konnten platziert werden.\n",
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.