normalize weights removed

removed duplicate functions
some bugs fixed, some bugs added
some other changes, can't remember them all ;)
This commit is contained in:
zueuk
2005-09-29 14:11:29 +00:00
parent 17e6f74a65
commit a058009ad0
14 changed files with 578 additions and 461 deletions

View File

@ -333,14 +333,16 @@ begin
begin
MaxSat := 100;
end;
{
if Registry.ValueExists('FixedReference') then
begin
FixedReference := Registry.ReadBool('FixedReference');
end
else
begin
FixedReference := False;
end;
else FixedReference := False;
}
if Registry.ValueExists('ReferenceMode') then
ReferenceMode := Registry.ReadInteger('ReferenceMode')
else ReferenceMode := 0;
if Registry.ValueExists('MaxLum') then
begin
MaxLum := Registry.ReadInteger('MaxLum');
@ -506,7 +508,7 @@ begin
end
else
begin
FixedReference := false;
ReferenceMode := 0;
EditPrevQual := 1;
MutatePrevQual := 1;
AdjustPrevQual := 1;
@ -871,7 +873,7 @@ begin
Registry.WriteInteger('SymmetryType', SymmetryType);
Registry.WriteInteger('SymmetryOrder', SymmetryOrder);
Registry.WriteInteger('VariationOptions', VariationOptions);
Registry.WriteBool('FixedReference', FixedReference);
Registry.WriteInteger('ReferenceMode', ReferenceMode);
Registry.WriteInteger('MinNodes', MinNodes);
Registry.WriteInteger('MinHue', MinHue);
Registry.WriteInteger('MinSat', MinSat);