summaryrefslogtreecommitdiff
path: root/src/table/sprites.h
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-02-21 23:18:08 +0000
committermaedhros <maedhros@openttd.org>2007-02-21 23:18:08 +0000
commitf2d63dcecf5975b1817858e044e9044f21a4cc41 (patch)
treed603c0685ec921601a4cde5803bfbc4c046c69a3 /src/table/sprites.h
parentfd4a0dafc2b59930fd313a281f2851d8e4c75aba (diff)
downloadopenttd-f2d63dcecf5975b1817858e044e9044f21a4cc41.tar.xz
(svn r8838) -Feature: Show newgrf error messages loaded in Action B in the newgrf gui
window. GRFs with an error have a warning symbol shown before the name.
Diffstat (limited to 'src/table/sprites.h')
-rw-r--r--src/table/sprites.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/table/sprites.h b/src/table/sprites.h
index 157272c8d..014d03130 100644
--- a/src/table/sprites.h
+++ b/src/table/sprites.h
@@ -48,7 +48,7 @@ enum Sprites {
SPR_ASCII_SPACE_BIG = 450,
/* Extra graphic spritenumbers */
- OPENTTD_SPRITES_COUNT = 116, // number of gfx-sprites in openttd.grf
+ OPENTTD_SPRITES_COUNT = 117, // number of gfx-sprites in openttd.grf
SPR_SIGNALS_BASE = 4896,
SPR_CANALS_BASE = SPR_SIGNALS_BASE + 486,
SPR_SLOPES_BASE = SPR_CANALS_BASE + 70,
@@ -95,6 +95,8 @@ enum Sprites {
SPR_SHARED_ORDERS_ICON = SPR_OPENTTD_BASE + 115,
+ SPR_WARNING_SIGN = SPR_OPENTTD_BASE + 116, // warning sign (shown if there are any newgrf errors)
+
/* Network GUI sprites */
SPR_SQUARE = SPR_OPENTTD_BASE + 20, // colored square (used for newgrf compatibility)
SPR_LOCK = SPR_OPENTTD_BASE + 19, // lock icon (for password protected servers)