test
This commit is contained in:
1 parent
3c43aca7b1
commit
561fd213b6
1 file changed
+1
-4
+1
-4
@@ -3,21 +3,18 @@
|
|||||||
|
|
||||||
#include "input.h"
|
#include "input.h"
|
||||||
|
|
||||||
// Falls MAX_SEARCH_FIELD_LEN noch nicht definiert ist:
|
|
||||||
#ifndef MAX_SEARCH_FIELD_LEN
|
#ifndef MAX_SEARCH_FIELD_LEN
|
||||||
#define MAX_SEARCH_FIELD_LEN 100
|
#define MAX_SEARCH_FIELD_LEN 100
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Datentyp für die Platzierungsrichtung (laut Aufgabenstellung)
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
DIR_HORIZONTAL = 0,
|
DIR_HORIZONTAL = 0,
|
||||||
DIR_VERTICAL = 1
|
DIR_VERTICAL = 1
|
||||||
} Direction;
|
} Direction;
|
||||||
|
|
||||||
// Prototyp der Spiellogik-Funktion
|
|
||||||
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN],
|
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN],
|
||||||
unsigned int wordCount,
|
unsigned int wordCount,
|
||||||
char words[][MAX_WORD_LEN],
|
char words[][MAX_WORD_LEN],
|
||||||
unsigned int gridSize);
|
unsigned int gridSize);
|
||||||
|
|
||||||
#endif // GAME_H
|
#endif
|
||||||
Reference in new issue
Block a user