summaryrefslogtreecommitdiff
path: root/src/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui.h')
-rw-r--r--src/gui.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gui.h b/src/gui.h
index 823423575..4859fe79e 100644
--- a/src/gui.h
+++ b/src/gui.h
@@ -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();