Compare commits

...

3 Commits
main ... main

2 changed files with 16 additions and 1 deletions

View File

@ -40,6 +40,14 @@ int main(int argc, char *argv[])
// Check if all words were successfully placed
// Start the game if successful
// error message if some words couldn't be placed
if(placedWords == wordCount)
{
startGame( wordSalad, MAX_SEARCH_FIELD_LEN, words, wordCount, GetScreenWidth());
}
else
{
printf("Could only place %u of %u words.\n", placedWords, wordCount);
}
}
else

View File

@ -1,11 +1,18 @@
CC = gcc
CFLAGS = -g -Wall -I$(raylibfolder)
CFLAGS = -g -Wall -I$(raylib_folder)
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
BINARIES = ./windows
raylib_folder = ./raylib
unityfolder = ./unity
# --------------------------
# eigenes Spiel bauen
# --------------------------
wordsalad_myversion: main.o $(BINARIES)/libwordsalad.a $(BINARIES)/libraylib.a
$(CC) -o wordsalad_myversion main.o $(BINARIES)/libwordsalad.a $(BINARIES)/libraylib.a $(LDFLAGS)
# --------------------------
# initiales Spiel bauen
# --------------------------