ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/util.pl
(Generate patch)

Comparing kgsueme/kgsueme/util.pl (file contents):
Revision 1.9 by pcg, Thu Jun 5 20:06:03 2003 UTC vs.
Revision 1.10 by pcg, Fri Jun 6 05:14:02 2003 UTC

17$state->{version} = $stateversion; 17$state->{version} = $stateversion;
18 18
19$::config = $state->{config} ||= {}; 19$::config = $state->{config} ||= {};
20 20
21$::config->{speed} = 0; #d# optimize for speed or memory? (0,1) 21$::config->{speed} = 0; #d# optimize for speed or memory? (0,1)
22$::config->{conserve_memory} = 1; # try to conserve memory at the expense of speed (0,1,2) 22$::config->{conserve_memory} = 0; # try to conserve memory at the expense of speed (0,1,2)
23$::config->{randomize} = 0; # randomize placement of stones (BROKEN) 23$::config->{randomize} = 0; # randomize placement of stones (BROKEN)
24 24
25sub save_config { 25sub save_config {
26 &gtk::save_state; 26 &gtk::save_state;
27 Storable::nstore($state, $staterc); 27 Storable::nstore($state, $staterc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines