| 251 | // cHeightMapFactory: |
| 252 | |
| 253 | cHeightMapFactory::~cHeightMapFactory() |
| 254 | { |
| 255 | // Force all threads to save their last regions: |
| 256 | for (cCallbacks::iterator itr = m_Callbacks.begin(), end = m_Callbacks.end(); itr != end; ++itr) |
| 257 | { |
| 258 | ((cHeightMap *)(*itr))->Finish(); |
| 259 | } |
| 260 | // TODO: Join all the files into one giant image file |
| 261 | } |
| 262 | |
| 263 | |
| 264 |