diff options
author | Franklin Wei <git@fwei.tk> | 2017-04-29 18:21:56 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-04-29 18:24:42 -0400 |
commit | 881746789a489fad85aae8317555f73dbe261556 (patch) | |
tree | cec2946362c4698c8db3c10f3242ef546c2c22dd /apps/plugins/puzzles/src/list.c | |
parent | 03dd4b92be7dcd5c8ab06da3810887060e06abd5 (diff) | |
download | rockbox-881746789a489fad85aae8317555f73dbe261556.tar.gz rockbox-881746789a489fad85aae8317555f73dbe261556.zip |
puzzles: refactor and resync with upstream
This brings puzzles up-to-date with upstream revision
2d333750272c3967cfd5cd3677572cddeaad5932, though certain changes made
by me, including cursor-only Untangle and some compilation fixes
remain. Upstream code has been moved to its separate subdirectory and
future syncs can be done by simply copying over the new sources.
Change-Id: Ia6506ca5f78c3627165ea6791d38db414ace0804
Diffstat (limited to 'apps/plugins/puzzles/src/list.c')
-rw-r--r-- | apps/plugins/puzzles/src/list.c | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/src/list.c b/apps/plugins/puzzles/src/list.c new file mode 100644 index 0000000000..ec019c31b2 --- /dev/null +++ b/apps/plugins/puzzles/src/list.c | |||
@@ -0,0 +1,55 @@ | |||
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); | ||