equal
deleted
inserted
replaced
58 x("active_edgemaps", em); |
58 x("active_edgemaps", em); |
59 for(int i=0;i<EDGE_PROPERTY_NUM;i++) |
59 for(int i=0;i<EDGE_PROPERTY_NUM;i++) |
60 { |
60 { |
61 mapstorage->changeActiveMap(true, i, em[i]); |
61 mapstorage->changeActiveMap(true, i, em[i]); |
62 } |
62 } |
|
63 |
|
64 double attraction; |
|
65 double propulsation; |
|
66 int iteration; |
|
67 |
|
68 x("redesign-attraction", attraction); |
|
69 x("redesign-propulsation", propulsation); |
|
70 x("redesign-iteration", iteration); |
|
71 |
|
72 mapstorage->set_attraction(attraction); |
|
73 mapstorage->set_propulsation(propulsation); |
|
74 mapstorage->set_iteration(iteration); |
|
75 |
|
76 mapstorage->redesign_data_changed(); |
63 } |
77 } |
64 |
78 |
65 GuiReader::GuiReader(LemonReader& reader, MapStorage* ms) : Parent(reader), mapstorage(ms) |
79 GuiReader::GuiReader(LemonReader& reader, MapStorage* ms) : Parent(reader), mapstorage(ms) |
66 { |
80 { |
67 } |
81 } |