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

Method OnClearLightmaps

editor/LightingDialog.cpp:1967–1975  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1965#include "object_lighting.h"
1966
1967void CLightingDialog::OnClearLightmaps() {
1968 if (OutrageMessageBox(
1969 MBOX_YESNO,
1970 "Are you sure you want to clear the lightmaps? If you say yes, your level will have no lighting.") != IDYES)
1971 return;
1972
1973 ClearAllRoomLightmaps(0);
1974 ClearAllObjectLightmaps(0);
1975}
1976
1977int CopyFaceLightMultipleRoom(room *rp, int tmap, float multiple) {
1978 int n_changed = 0;

Callers

nothing calls this directly

Calls 3

OutrageMessageBoxFunction · 0.85
ClearAllRoomLightmapsFunction · 0.85
ClearAllObjectLightmapsFunction · 0.85

Tested by

no test coverage detected