gui_reader.cc
changeset 177 40f3006fba2e
parent 176 9fc3d5170b24
child 194 6b2b718420eb
     1.1 --- a/gui_reader.cc	Mon Oct 30 13:08:04 2006 +0000
     1.2 +++ b/gui_reader.cc	Mon Oct 30 14:57:48 2006 +0000
     1.3 @@ -60,6 +60,20 @@
     1.4      {
     1.5        mapstorage->changeActiveMap(true, i, em[i]);
     1.6      }
     1.7 +
     1.8 +  double attraction;
     1.9 +  double propulsation;
    1.10 +  int iteration;
    1.11 +
    1.12 +  x("redesign-attraction", attraction);
    1.13 +  x("redesign-propulsation", propulsation);
    1.14 +  x("redesign-iteration", iteration);
    1.15 +
    1.16 +  mapstorage->set_attraction(attraction);
    1.17 +  mapstorage->set_propulsation(propulsation);
    1.18 +  mapstorage->set_iteration(iteration);
    1.19 +
    1.20 +  mapstorage->redesign_data_changed();
    1.21  }
    1.22  
    1.23  GuiReader::GuiReader(LemonReader& reader, MapStorage* ms) : Parent(reader), mapstorage(ms)