Compare commits
No commits in common. "main" and "main" have entirely different histories.
@ -40,14 +40,6 @@ int main(int argc, char *argv[])
|
|||||||
// Check if all words were successfully placed
|
// Check if all words were successfully placed
|
||||||
// Start the game if successful
|
// Start the game if successful
|
||||||
// error message if some words couldn't be placed
|
// 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
|
else
|
||||||
|
@ -1,18 +1,11 @@
|
|||||||
CC = gcc
|
CC = gcc
|
||||||
CFLAGS = -g -Wall -I$(raylib_folder)
|
CFLAGS = -g -Wall -I$(raylibfolder)
|
||||||
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
|
LDFLAGS = -lopengl32 -lgdi32 -lwinmm
|
||||||
BINARIES = ./windows
|
BINARIES = ./windows
|
||||||
|
|
||||||
raylib_folder = ./raylib
|
raylib_folder = ./raylib
|
||||||
unityfolder = ./unity
|
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
|
# initiales Spiel bauen
|
||||||
# --------------------------
|
# --------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user