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