list.c 342 B

123456789101112131415161718
  1. /*
  2. * list.c: List of pointers to puzzle structures, for monolithic
  3. * platforms.
  4. *
  5. * This file depends on the header "generated-games.h", which is
  6. * constructed by CMakeLists.txt.
  7. */
  8. #include "puzzles.h"
  9. #define GAME(x) &x,
  10. const game *gamelist[] = {
  11. #include "generated-games.h"
  12. };
  13. #undef GAME
  14. const int gamecount = lenof(gamelist);