Arrange that we really _can_ compile all the puzzles into a single

binary if we choose: fix bugs in cube.c and sixteen.c that manifest
when compiled that way, and introduce list.c which provides a global
list of all the available puzzles.

[originally from svn r5169]
This commit is contained in:
Simon Tatham
2005-01-22 15:29:01 +00:00
parent cc54553226
commit a99de1be8f
4 changed files with 53 additions and 7 deletions

View File

@ -769,6 +769,10 @@ static int game_wants_statusbar(void)
return TRUE;
}
#ifdef COMBINED
#define thegame sixteen
#endif
const struct game thegame = {
"Sixteen", "games.sixteen", TRUE,
default_params,