diff options
author | dP <dp@dpointer.org> | 2020-07-05 21:18:35 +0300 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2020-09-24 19:23:12 +0200 |
commit | 0110fa12daabecfaa5e6454ba6f93b8024db552e (patch) | |
tree | 6cd3e3cee85f9584060bc9a23951f8ab9d6151bd /src/error.h | |
parent | 8f3d1ec970520d5a7d775e173ca1df2dc6867686 (diff) | |
download | openttd-0110fa12daabecfaa5e6454ba6f93b8024db552e.tar.xz |
Feature: Make news and errors close hotkeys configurable
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index 78ee9c591..8aa8ac225 100644 --- a/src/error.h +++ b/src/error.h @@ -55,6 +55,8 @@ public: void ScheduleErrorMessage(const ErrorMessageData &data); void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel wl, int x = 0, int y = 0, const GRFFile *textref_stack_grffile = nullptr, uint textref_stack_size = 0, const uint32 *textref_stack = nullptr); +bool HideActiveErrorMessage(); + void ClearErrorMessages(); void ShowFirstError(); void UnshowCriticalError(); |