shithub: puzzles

ref: 5c858253f9456b970be5d5ef3e7df727d39e3da7
dir: /list.c/

View raw version
/*
 * list.c: List of pointers to puzzle structures, for monolithic
 * platforms.
 *
 * This file depends on the header "generated-games.h", which is
 * constructed by CMakeLists.txt.
 */

#include "puzzles.h"

#define GAME(x) &x,
const game *gamelist[] = {
#include "generated-games.h"
};
#undef GAME

const int gamecount = lenof(gamelist);