aboutsummaryrefslogtreecommitdiff
path: root/list.c
blob: 28cefca0170da6c679d33c0205c9ecbc7c15fd84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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);