From f3c95109c7b905f74b5f149eea21f68444c31ef7 Mon Sep 17 00:00:00 2001 From: Jacob Nevins Date: Tue, 5 Jul 2005 21:27:19 +0000 Subject: Add a `full' parameter to validate_params(), analogous to the one in encode_params(). This is necessary for cases where generation-time parameters that are normally omitted from descriptive IDs can place restrictions on other parameters; in particular, when the default value of a relevant generation-time parameter is not the one used to generate the descriptive ID, validation could reject self-generated IDs (e.g., Net `5x2w:56182ae7c2', and some cases in `Pegs'). [originally from svn r6068] --- nullgame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nullgame.c') diff --git a/nullgame.c b/nullgame.c index bdf0e07..8af76ce 100644 --- a/nullgame.c +++ b/nullgame.c @@ -78,7 +78,7 @@ static game_params *custom_params(config_item *cfg) return NULL; } -static char *validate_params(game_params *params) +static char *validate_params(game_params *params, int full) { return NULL; } -- cgit v1.1