diff options
author | frosch <frosch@openttd.org> | 2012-05-14 21:04:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-14 21:04:49 +0000 |
commit | c6ed8c01b3d729b546af8de5b37cac1814074a0c (patch) | |
tree | a10a8954331585441161553efca25e639aa23317 /src/error.h | |
parent | 1ba36d07cf16c8501883f205e1ffb6a094a604c7 (diff) | |
download | openttd-c6ed8c01b3d729b546af8de5b37cac1814074a0c.tar.xz |
(svn r24250) -Fix [FS#5154]: Do not immediately display error messages from parsing the cfg file, but schedule them for displaying after the GUI is prepared for it.
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.h b/src/error.h index ec083f1c6..eeb90557d 100644 --- a/src/error.h +++ b/src/error.h @@ -42,6 +42,9 @@ public: ~ErrorMessageData(); ErrorMessageData(StringID summary_msg, StringID detailed_msg, uint duration = 0, int x = 0, int y = 0, uint textref_stack_size = 0, const uint32 *textref_stack = NULL); + void SetDParam(uint n, uint64 v); + void SetDParamStr(uint n, const char *str); + void CopyOutDParams(); }; |