| 2261 | } |
| 2262 | |
| 2263 | void CWorldTexturesDialog::OnGenerateOmni() { |
| 2264 | int n = D3EditState.texdlg_texture; |
| 2265 | |
| 2266 | if (GameTextures[n].bumpmap == -1) { |
| 2267 | OutrageMessageBox("You first need to import a source bumpmap!"); |
| 2268 | return; |
| 2269 | } |
| 2270 | |
| 2271 | BuildTextureBumpmaps(n); |
| 2272 | |
| 2273 | OutrageMessageBox("Bumpmaps built!"); |
| 2274 | } |
| 2275 | |
| 2276 | void CWorldTexturesDialog::OnSrcBump() { |
| 2277 | m_bumpmap = 0; |
nothing calls this directly
no test coverage detected