diff options
author | rubidium <rubidium@openttd.org> | 2011-12-10 13:54:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-10 13:54:10 +0000 |
commit | 58423b26d1d9daa996e151fb3dc3e30dad49b722 (patch) | |
tree | 5367a286f073cbaec260306fc36ef6365149d5c7 /src/gui.h | |
parent | 8315b00b32aa838769e016d46d84048e152941d2 (diff) | |
download | openttd-58423b26d1d9daa996e151fb3dc3e30dad49b722.tar.xz |
(svn r23474) -Codechange: move the declaration error related functions to error.h
Diffstat (limited to 'src/gui.h')
-rw-r--r-- | src/gui.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -55,16 +55,6 @@ void ShowSubsidiesList(); void ShowEstimatedCostOrIncome(Money cost, int x, int y); -/** Message severity/type */ -enum WarningLevel { - WL_INFO, ///< Used for DoCommand-like (and some nonfatal AI GUI) errors/information - WL_WARNING, ///< Other information - WL_ERROR, ///< Errors (eg. saving/loading failed) - WL_CRITICAL, ///< Critical errors, the MessageBox is shown in all cases -}; - -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 ShowExtraViewPortWindow(TileIndex tile = INVALID_TILE); void ShowExtraViewPortWindowForTileUnderCursor(); |