~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement selection of game seeds, by reusing the config box
[sgt/puzzles]
/
net.c
diff --git
a/net.c
b/net.c
index
3c28ccc
..
cf3fe3d
100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-272,6
+272,15
@@
char *new_game_seed(game_params *params)
return dupstr(buf);
}
return dupstr(buf);
}
+char *validate_seed(game_params *params, char *seed)
+{
+ /*
+ * Since any string at all will suffice to seed the RNG, there
+ * is no validation required.
+ */
+ return NULL;
+}
+
/* ----------------------------------------------------------------------
* Construct an initial game state, given a seed and parameters.
*/
/* ----------------------------------------------------------------------
* Construct an initial game state, given a seed and parameters.
*/