shithub: puzzles

Download patch

ref: 0b93de904a98f119b1a95d3a53029f1ed4bfb9b3
parent: 383c15794a517a4e6dc0b7364edac1f7056cee82
author: Simon Tatham <anakin@pobox.com>
date: Fri Apr 12 13:11:49 EDT 2013

Add 'const' to the game_params arguments in validate_desc and
new_desc. Oddities in the 'make test' output brought to my attention
that a few puzzles have been modifying their input game_params for
various reasons; they shouldn't do that, because that's the
game_params held permanently by the midend and it will affect
subsequent game generations if they modify it. So now those arguments
are const, and all the games which previously modified their
game_params now take a copy and modify that instead.

[originally from svn r9830]