| 158 | // cBiomeMapFactory: |
| 159 | |
| 160 | cBiomeMapFactory::~cBiomeMapFactory() |
| 161 | { |
| 162 | // Force all threads to save their last regions: |
| 163 | for (cCallbacks::iterator itr = m_Callbacks.begin(), end = m_Callbacks.end(); itr != end; ++itr) |
| 164 | { |
| 165 | ((cBiomeMap *)(*itr))->Finish(); |
| 166 | } |
| 167 | // TODO: Join all the files into one giant image file |
| 168 | } |
| 169 | |
| 170 | |
| 171 |