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

Method OnGenerateOmni

editor/WorldTexturesDialog.cpp:2263–2274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2261}
2262
2263void 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
2276void CWorldTexturesDialog::OnSrcBump() {
2277 m_bumpmap = 0;

Callers

nothing calls this directly

Calls 2

OutrageMessageBoxFunction · 0.85
BuildTextureBumpmapsFunction · 0.85

Tested by

no test coverage detected