summaryrefslogtreecommitdiff
path: root/src/window_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-03-13 21:32:13 +0000
committerfrosch <frosch@openttd.org>2011-03-13 21:32:13 +0000
commit51ddbbb13d3c6277dcd04289623efe6e00e4f1b3 (patch)
treec540d777fce11f28bb4aa4fbb4411800d730a755 /src/window_func.h
parentec9540a12a9170f8b88e1d715c9321edaeeebfd4 (diff)
downloadopenttd-51ddbbb13d3c6277dcd04289623efe6e00e4f1b3.tar.xz
(svn r22242) -Codechange: Let OnInvalidateData() decide itself what to do immediately in command scope, and what to do asynchronously in GUI-scope.
Diffstat (limited to 'src/window_func.h')
-rw-r--r--src/window_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_func.h b/src/window_func.h
index 43f50111d..604cb1d98 100644
--- a/src/window_func.h
+++ b/src/window_func.h
@@ -34,8 +34,8 @@ void ResetWindowSystem();
void SetupColoursAndInitialWindow();
void InputLoop();
-void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0, bool immediately = false);
-void InvalidateWindowClassesData(WindowClass cls, int data = 0, bool immediately = false);
+void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0, bool gui_scope = false);
+void InvalidateWindowClassesData(WindowClass cls, int data = 0, bool gui_scope = false);
void DeleteNonVitalWindows();
void DeleteAllNonVitalWindows();