startgame edit
This commit is contained in:
parent
f350608626
commit
10a40bce76
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Start_Windows/main.o
|
||||||
|
Start_Windows/graphicalGame.o
|
||||||
|
Start_Windows/wordsalad_myversion.exe
|
@ -4,8 +4,6 @@
|
|||||||
#include "game.h"
|
#include "game.h"
|
||||||
#include "graphicalGame.h"
|
#include "graphicalGame.h"
|
||||||
|
|
||||||
#include "raylib.h"
|
|
||||||
|
|
||||||
#define MAX_NUMBER_OF_WORDS 100
|
#define MAX_NUMBER_OF_WORDS 100
|
||||||
#define SALAD_SIZE 20
|
#define SALAD_SIZE 20
|
||||||
|
|
||||||
@ -45,7 +43,7 @@ int main(int argc, char *argv[])
|
|||||||
if(placedWords == wordCount)
|
if(placedWords == wordCount)
|
||||||
{
|
{
|
||||||
printf("All words placed successfully (%u / %u).\n", placedWords, wordCount);
|
printf("All words placed successfully (%u / %u).\n", placedWords, wordCount);
|
||||||
startGame( wordSalad, MAX_SEARCH_FIELD_LEN, words, wordCount, GetScreenWidth());
|
startGame(wordSalad, SALAD_SIZE, words, wordCount, 800);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user