(svn r24249) -Codechange: Split the extraction of current DParams from the ErrorMessageData constructor into a separate function.

This commit is contained in:
frosch
2012-05-14 21:01:54 +00:00
parent fd6f92a4e8
commit 1ba36d07cf
2 changed files with 30 additions and 9 deletions

View File

@@ -41,6 +41,8 @@ public:
ErrorMessageData(const ErrorMessageData &data);
~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 CopyOutDParams();
};
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);