chiark / gitweb /
remove -pedantic
[sgt-puzzles.git] / list.c
1 /*
2  * list.c: List of pointers to puzzle structures, for monolithic
3  * platforms.
4  *
5  * This file is automatically generated by mkfiles.pl. Do not edit
6  * it directly, or the changes will be lost next time mkfiles.pl runs.
7  * Instead, edit Recipe and/or its *.R subfiles.
8  */
9 #include "puzzles.h"
10 #define GAMELIST(A) \
11     A(blackbox) \
12     A(bridges) \
13     A(cube) \
14     A(dominosa) \
15     A(fifteen) \
16     A(filling) \
17     A(flip) \
18     A(flood) \
19     A(galaxies) \
20     A(guess) \
21     A(inertia) \
22     A(keen) \
23     A(lightup) \
24     A(loopy) \
25     A(magnets) \
26     A(map) \
27     A(mines) \
28     A(net) \
29     A(netslide) \
30     A(palisade) \
31     A(pattern) \
32     A(pearl) \
33     A(pegs) \
34     A(range) \
35     A(rect) \
36     A(samegame) \
37     A(signpost) \
38     A(singles) \
39     A(sixteen) \
40     A(slant) \
41     A(solo) \
42     A(tents) \
43     A(towers) \
44     A(tracks) \
45     A(twiddle) \
46     A(undead) \
47     A(unequal) \
48     A(unruly) \
49     A(untangle) \
50
51 #define DECL(x) extern const game x;
52 #define REF(x) &x,
53 GAMELIST(DECL)
54 const game *gamelist[] = { GAMELIST(REF) };
55 const int gamecount = lenof(gamelist);