| 405 | |
| 406 | |
| 407 | void cDistortedHeightmap::PrepareState(int a_ChunkX, int a_ChunkZ) |
| 408 | { |
| 409 | if ((m_CurChunkX == a_ChunkX) && (m_CurChunkZ == a_ChunkZ)) |
| 410 | { |
| 411 | return; |
| 412 | } |
| 413 | m_CurChunkX = a_ChunkX; |
| 414 | m_CurChunkZ = a_ChunkZ; |
| 415 | |
| 416 | |
| 417 | m_HeightGen.GenHeightMap(a_ChunkX, a_ChunkZ, m_CurChunkHeights); |
| 418 | UpdateDistortAmps(); |
| 419 | GenerateHeightArray(); |
| 420 | } |
| 421 | |
| 422 | |
| 423 |
nothing calls this directly
no test coverage detected