gui_writer.cc
changeset 192 9d7489e8921e
parent 174 95872af46fc4
child 194 6b2b718420eb
equal deleted inserted replaced
4:0749d9b7634b 5:c7a2a2d786b6
    49   for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    49   for(int i=0;i<EDGE_PROPERTY_NUM;i++)
    50     {
    50     {
    51       em[i]=mapstorage->active_edgemaps[i];
    51       em[i]=mapstorage->active_edgemaps[i];
    52     }
    52     }
    53   x("active_edgemaps", em);
    53   x("active_edgemaps", em);
       
    54 
       
    55   double attraction;
       
    56   double propulsation;
       
    57   int iteration;
       
    58 
       
    59   mapstorage->get_design_data(attraction, propulsation, iteration);
       
    60 
       
    61   x("redesign-attraction", attraction);
       
    62   x("redesign-propulsation", propulsation);
       
    63   x("redesign-iteration", iteration);
    54 }
    64 }
    55 
    65 
    56 GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms)
    66 GuiWriter::GuiWriter(LemonWriter& writer, MapStorage* ms) : Parent(writer), mapstorage(ms)
    57 {
    67 {
    58 }
    68 }