4 // Okay, this is ugly but works and I can't think of any better way to handle
5 // this. So what we do when we pass the anonymous structs into a function is
6 // pass them as a (void *) and then cast them as type (Board *) in order to
7 // use them. Yes, it's ugly. Come up with something better!
10 unsigned int width; // Width of the board
11 unsigned int height; // Height of the board
12 // unsigned int x; // Initial X position of player
13 // unsigned int y; // Initial Y position of player
14 unsigned char state[]; // Board data
17 #define NUMBER_OF_BOARDS 18
18 extern const void * boards[];
20 #endif // __BOARDS_H__