| 1486 | } |
| 1487 | |
| 1488 | void CWorldTexturesDialog::TextureListDown(int rows) { |
| 1489 | int old = m_TexStart; |
| 1490 | int done = 0, count = 0; |
| 1491 | |
| 1492 | while ((count < (TEXTURES_PER_ROW * rows)) && !done) { |
| 1493 | m_TexStart = GetNextTexture(m_TexStart); |
| 1494 | if (old >= m_TexStart) { |
| 1495 | m_TexStart = old; |
| 1496 | done = 1; |
| 1497 | } else |
| 1498 | count++; |
| 1499 | } |
| 1500 | |
| 1501 | m_RedrawListbox = 1; |
| 1502 | UpdateDialog(); |
| 1503 | } |
| 1504 | |
| 1505 | void CWorldTexturesDialog::OnTextureCurrent() { |
| 1506 |
nothing calls this directly
no test coverage detected