~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Memory leak and type safety fixes from James H.
[sgt/puzzles]
/
list.c
diff --git
a/list.c
b/list.c
index
9438c7e
..
0ca9b1c
100644
(file)
--- a/
list.c
+++ b/
list.c
@@
-17,22
+17,50
@@
echo -e '};\n\nconst int gamecount = lenof(gamelist);'
*/
*/
+extern const game blackbox;
extern const game cube;
extern const game cube;
+extern const game dominosa;
extern const game fifteen;
extern const game fifteen;
+extern const game flip;
+extern const game guess;
+extern const game lightup;
+extern const game loopy;
+extern const game map;
+extern const game mines;
extern const game net;
extern const game netslide;
extern const game pattern;
extern const game net;
extern const game netslide;
extern const game pattern;
+extern const game pegs;
extern const game rect;
extern const game rect;
+extern const game samegame;
extern const game sixteen;
extern const game sixteen;
+extern const game slant;
+extern const game solo;
+extern const game twiddle;
+extern const game untangle;
const game *gamelist[] = {
const game *gamelist[] = {
+ &blackbox,
&cube,
&cube,
+ &dominosa,
&fifteen,
&fifteen,
+ &flip,
+ &guess,
+ &lightup,
+ &loopy,
+ &map,
+ &mines,
&net,
&netslide,
&pattern,
&net,
&netslide,
&pattern,
+ &pegs,
&rect,
&rect,
+ &samegame,
&sixteen,
&sixteen,
+ &slant,
+ &solo,
+ &twiddle,
+ &untangle,
};
const int gamecount = lenof(gamelist);
};
const int gamecount = lenof(gamelist);