forked from messnerph99994/Wortsalat
feinschliff
This commit is contained in:
parent
f2ee8341d3
commit
212d6990dc
BIN
Start_Mac/game.o
Normal file
BIN
Start_Mac/game.o
Normal file
Binary file not shown.
BIN
Start_Mac/graphicalGame.o
Normal file
BIN
Start_Mac/graphicalGame.o
Normal file
Binary file not shown.
BIN
Start_Mac/input.o
Normal file
BIN
Start_Mac/input.o
Normal file
Binary file not shown.
@ -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
Start_Mac/main.o
Normal file
BIN
Start_Mac/main.o
Normal file
Binary file not shown.
BIN
Start_Mac/wordsalad
Executable file
BIN
Start_Mac/wordsalad
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user