diff --git a/Start_Mac/game.o b/Start_Mac/game.o new file mode 100644 index 0000000..fa985df Binary files /dev/null and b/Start_Mac/game.o differ diff --git a/Start_Mac/graphicalGame.o b/Start_Mac/graphicalGame.o new file mode 100644 index 0000000..0a9bc39 Binary files /dev/null and b/Start_Mac/graphicalGame.o differ diff --git a/Start_Mac/input.o b/Start_Mac/input.o new file mode 100644 index 0000000..fa66cff Binary files /dev/null and b/Start_Mac/input.o differ diff --git a/Start_Mac/main.c b/Start_Mac/main.c index 18ceedb..5fe3fbe 100644 --- a/Start_Mac/main.c +++ b/Start_Mac/main.c @@ -44,13 +44,11 @@ int main(int argc, char *argv[]) // Aktivieren durch -DSTART_GRAPHICS beim Kompilieren // und wenn in graphicalGame.h eine passende Funktion existiert. #ifdef START_GRAPHICS - // Beispiel-Signatur – bitte ggf. an deine API anpassen: - // void startGraphicalGame(const char field[][MAX_SEARCH_FIELD_LEN], unsigned int size, - // const char words[][MAX_WORD_LEN], unsigned int wordCount); - startGraphicalGame((const char (*)[MAX_SEARCH_FIELD_LEN])wordSalad, - SALAD_SIZE, - (const char (*)[MAX_WORD_LEN])words, - wordCount); + startGame((const char (*)[MAX_SEARCH_FIELD_LEN])wordSalad, + SALAD_SIZE, + words, + wordCount, + 800); #endif } else { fprintf(stderr, "[FEHLER] Nur %u von %u Wörtern konnten platziert werden.\n", diff --git a/Start_Mac/main.o b/Start_Mac/main.o new file mode 100644 index 0000000..ff6de04 Binary files /dev/null and b/Start_Mac/main.o differ diff --git a/Start_Mac/wordsalad b/Start_Mac/wordsalad new file mode 100755 index 0000000..db02cff Binary files /dev/null and b/Start_Mac/wordsalad differ