diff options
author | rubidium <rubidium@openttd.org> | 2011-12-10 15:16:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-10 15:16:58 +0000 |
commit | 2bf0fc3c5c4be7fa497db0924296ef43d2f3b95e (patch) | |
tree | 693ef021b01bb1997dedae1760426f25d21dadc6 /src/error.h | |
parent | 420d358fef4d88942a5df168ab5c78d68060fe35 (diff) | |
download | openttd-2bf0fc3c5c4be7fa497db0924296ef43d2f3b95e.tar.xz |
(svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors
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 366bcd3ad..206bb67fb 100644 --- a/src/error.h +++ b/src/error.h @@ -24,5 +24,7 @@ enum WarningLevel { void ShowErrorMessage(StringID summary_msg, StringID detailed_msg, WarningLevel wl, int x = 0, int y = 0, uint textref_stack_size = 0, const uint32 *textref_stack = NULL); void ClearErrorMessages(); +void ShowFirstError(); +void UnshowCriticalError(); #endif /* ERROR_H */ |