MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / TextureListDown

Method TextureListDown

editor/WorldTexturesDialog.cpp:1488–1503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1486}
1487
1488void 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
1505void CWorldTexturesDialog::OnTextureCurrent() {
1506

Callers

nothing calls this directly

Calls 1

GetNextTextureFunction · 0.85

Tested by

no test coverage detected