| 33 | |
| 34 | |
| 35 | cBiomeCache::cBiomeCache(void) : |
| 36 | m_Source(NULL), |
| 37 | m_BaseX(-100000), |
| 38 | m_BaseZ(-100000), |
| 39 | m_Available(NULL), |
| 40 | m_IsTerminatingThreads(false) |
| 41 | { |
| 42 | int NumThreads = GetNumCores(); |
| 43 | NumThreads--; // One core should be left for the system to run on ;) |
| 44 | for (int i = NumThreads; i > 0; i--) |
| 45 | { |
| 46 | cThread * Thread = new cThread(*this); |
| 47 | m_Threads.push_back(Thread); |
| 48 | Thread->Start(); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | |
| 53 |
nothing calls this directly
no test coverage detected