diff options
author | darkvater <darkvater@openttd.org> | 2004-12-22 17:37:21 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-12-22 17:37:21 +0000 |
commit | 5b701e585d88a647a9f716c75820d335545252e7 (patch) | |
tree | 290fdb71f975b684f56bde327d7e01109b379932 /window.h | |
parent | 13eba00152fda7a1458b7820e0787b001c4e772a (diff) | |
download | openttd-5b701e585d88a647a9f716c75820d335545252e7.tar.xz |
(svn r1225) -Feature: SHIFT+DEL now deletes all non-vital windows (only status bar and main bar remain)
-Fix: For everyone who tried to crash the game by opening a huge amount of windows and stickying all of them; bad luck. It's fixed now (thanks Tron for the helpful criticism). First all normal windows are a candidate for replacement, then if none are found, sticky windows. Then..well that should not happen :)
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -459,6 +459,7 @@ void HandleButtonClick(Window *w, byte widget); Window *GetCallbackWnd(); void DeleteNonVitalWindows(); +void DeleteAllNonVitalWindows(void); /* window.c */ VARDEF Window _windows[25]; |