edit our own version
This commit is contained in:
parent
39d4683762
commit
63f2f9c77e
@ -38,8 +38,14 @@ int main(int argc, char *argv[])
|
||||
|
||||
// TODO:
|
||||
// Check if all words were successfully placed
|
||||
// Start the game if successful
|
||||
// error message if some words couldn't be placed
|
||||
if (placedWords == wordCount) {
|
||||
// Start the game if successful
|
||||
showWordSalad(wordSalad, SALAD_SIZE);
|
||||
} else {
|
||||
// error message if some words couldn't be placed
|
||||
printf("Some words could not be placed");
|
||||
exitCode = EXIT_FAILURE;
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
|
||||
@ -13,6 +13,13 @@ unityfolder = ./unity
|
||||
wordsalad_initial:
|
||||
$(CC) -o wordsalad_initial $(BINARIES)/libwordsalad_complete.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||
|
||||
# --------------------------
|
||||
# Eigenes Spiel bauen
|
||||
# --------------------------
|
||||
|
||||
wordsalad_my: main.o graphicalGame.o $(BINARIES)/libraylib.a
|
||||
$(CC) $(CFLAGS) -o wordsalad_my main.o graphicalGame.o $(BINARIES)/libwordsalad.a $(BINARIES)/libraylib.a $(LDFLAGS)
|
||||
|
||||
# --------------------------
|
||||
# Normales Spiel bauen
|
||||
# --------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user