18 lines
395 B
C
18 lines
395 B
C
#ifndef GAME_H
|
|
#define GAME_H
|
|
|
|
#include "input.h"
|
|
|
|
#ifndef MAX_SEARCH_FIELD_LEN
|
|
#define MAX_SEARCH_FIELD_LEN 100
|
|
#endif
|
|
|
|
typedef enum {
|
|
DIR_HORIZONTAL = 0,
|
|
DIR_VERTICAL = 1
|
|
} Direction;
|
|
|
|
// Reihenfolge: salad, gridSize, words, wordCount
|
|
int createWordSalad(char salad[MAX_SEARCH_FIELD_LEN][MAX_SEARCH_FIELD_LEN], unsigned int gridSize, char words[][100], unsigned int wordCount);
|
|
|
|
#endif |