/* * 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(flip) \ A(guess) \ A(inertia) \ A(lightup) \ A(loopy) \ A(map) \ A(mines) \ A(net) \ A(netslide) \ A(pattern) \ A(pegs) \ A(rect) \ A(samegame) \ A(sixteen) \ A(slant) \ A(solo) \ A(tents) \ A(twiddle) \ 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);