Compare commits

...
3 Commits
Author SHA1 Message Date
schenkwa99189 aa9b4dc61a Merge branch 'main' of https://git.efi.th-nuernberg.de/gitea/buschto99186/A1WortsalatI2Praktikum 2025-11-02 20:18:40 +01:00
schenkwa99189 62bd5aedde moin 2025-11-02 20:01:12 +01:00
schenkwa99189 0fbfc98c85 hallo 2025-10-30 22:06:54 +01:00
5 changed files with 19 additions and 3 deletions

No files matched your search

Binary file not shown.
+9 -2
View File
@@ -38,8 +38,15 @@ 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
Binary file not shown.
+10 -1
View File
@@ -1,6 +1,6 @@
CC = gcc
CFLAGS = -g -Wall
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
BINARIES = ./windows
raylibfolder = ./raylib
@@ -12,6 +12,15 @@ 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
# --------------------------
Binary file not shown.