diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2016-11-24 16:30:46 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2016-11-24 16:30:46 -0500 |
| commit | 3993f11a59fd912dba3a789f2c17fd6073b02688 (patch) | |
| tree | 8dba85a5dc7e55dc45de23af9c4c4b2cb0f233fe | |
| parent | 308757a0a5596491c80b0596bb4fa8e7299e78e2 (diff) | |
| download | rockbox-3993f11a59fd912dba3a789f2c17fd6073b02688.zip rockbox-3993f11a59fd912dba3a789f2c17fd6073b02688.tar.gz rockbox-3993f11a59fd912dba3a789f2c17fd6073b02688.tar.bz2 rockbox-3993f11a59fd912dba3a789f2c17fd6073b02688.tar.xz | |
fix
Change-Id: I6f1e11867dd1633848170fbf7d5073e943e5b629
| -rw-r--r-- | apps/plugins/puzzles/.gitignore | 129 | ||||
| -rw-r--r-- | apps/plugins/puzzles/list.c | 55 |
2 files changed, 55 insertions, 129 deletions
diff --git a/apps/plugins/puzzles/.gitignore b/apps/plugins/puzzles/.gitignore deleted file mode 100644 index bc2d8cc..0000000 --- a/apps/plugins/puzzles/.gitignore +++ /dev/null @@ -1,129 +0,0 @@ -*.o -/Makefile* -/blackbox -/bridges -/cube -/dominosa -/fifteen -/fifteensolver -/filling -/fillingsolver -/flip -/flood -/galaxies -/galaxiespicture -/galaxiessolver -/guess -/inertia -/keen -/keensolver -/latincheck -/lightup -/lightupsolver -/loopy -/loopysolver -/magnets -/magnetssolver -/map -/mapsolver -/mines -/mineobfusc -/net -/netslide -/nullgame -/numgame -/obfusc -/palisade -/path -/pattern -/patternpicture -/patternsolver -/pearl -/pearlbench -/pegs -/range -/rect -/samegame -/separate -/signpost -/signpostsolver -/singles -/singlessolver -/sixteen -/slant -/slantsolver -/slide -/slidesolver -/sokoban -/solo -/solosolver -/tents -/tentssolver -/tracks -/towers -/towerssolver -/twiddle -/undead -/unequal -/unequalsolver -/unruly -/unrulysolver -/untangle -/*.exe -/*.obj -/*.map -/*.rsp -/*notes -/HACKING -/*.hlp -/*.cnt -/*.chm -/*.gid -/*.GID -/*.html -/*.mips -/*.class -/*.jar -/applet.manifest -/puzzles.txt -/*.app -/*.dmg -/*.res -/*.inf -/list.c -/gamedesc.txt -/build.log -/build.out -/org -/*.ppc -/*.i386 -/Puzzles.ppc.bin -/Puzzles.i386.bin -/version2.def -/preprocessed.but -/*.a -/aclocal.m4 -/config.log -/config.status -/configure -/depcomp -/empty.h -/install-sh -/missing -/compile -/.deps -/.dirstamp -/icons/*.png -/icons/*.ico -/icons/*.rc -/icons/*-icon.c -/icons/.deps -/icons/.dirstamp -/unfinished/divvy -/unfinished/group -/unfinished/numgame -/unfinished/path -/unfinished/pearl -/unfinished/separate -/unfinished/slide -/unfinished/sokoban diff --git a/apps/plugins/puzzles/list.c b/apps/plugins/puzzles/list.c new file mode 100644 index 0000000..ec019c3 --- /dev/null +++ b/apps/plugins/puzzles/list.c @@ -0,0 +1,55 @@ +/* + * 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(flood) \ + A(galaxies) \ + A(guess) \ + A(inertia) \ + A(keen) \ + A(lightup) \ + A(loopy) \ + A(magnets) \ + A(map) \ + A(mines) \ + A(net) \ + A(netslide) \ + A(palisade) \ + 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(tracks) \ + A(twiddle) \ + A(undead) \ + A(unequal) \ + A(unruly) \ + 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); |