(svn r19706) -Add: support for the (NewGRF) debug box

This commit is contained in:
rubidium
2010-04-24 13:27:22 +00:00
parent fef77ca53e
commit e75e2648fc
5 changed files with 72 additions and 1 deletions

View File

@@ -346,6 +346,10 @@ static void DispatchLeftClickEvent(Window *w, int x, int y, int click_count)
nw->SetDirty(w);
return;
case WWT_DEBUGBOX:
w->ShowNewGRFInspectWindow();
break;
case WWT_SHADEBOX:
nw->SetDirty(w);
w->SetShaded(!w->IsShaded());