diff options
author | peter1138 <peter1138@openttd.org> | 2006-12-12 19:38:41 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-12-12 19:38:41 +0000 |
commit | be3e653db3f7a636f9e6602d71bae80f97b20c70 (patch) | |
tree | 574ad9deeac872fb0cbc50fb59447de01f6ff72c /newgrf_gui.c | |
parent | 208b4661813a01ec19c3592a5c16cd901e341294 (diff) | |
download | openttd-be3e653db3f7a636f9e6602d71bae80f97b20c70.tar.xz |
(svn r7490) -Feature: Load a list of NewGRFs from the config (in the [newgrf-static] section) that should always be loaded. These will also be active during the intro screen, and in multiplayer games. Only "network-safe" NewGRFs are permitted, such as fonts and sprite replacement sets.
Diffstat (limited to 'newgrf_gui.c')
-rw-r--r-- | newgrf_gui.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newgrf_gui.c b/newgrf_gui.c index c2e76a021..b31c0b177 100644 --- a/newgrf_gui.c +++ b/newgrf_gui.c @@ -274,6 +274,8 @@ static void NewGRFWndProc(Window *w, WindowEvent *e) /* Pick a colour */ if (HASBIT(c->flags, GCF_NOT_FOUND) || HASBIT(c->flags, GCF_DISABLED)) { pal = PALETTE_TO_RED; + } else if (HASBIT(c->flags, GCF_STATIC)) { + pal = PALETTE_TO_YELLOW; } else if (HASBIT(c->flags, GCF_ACTIVATED)) { pal = PALETTE_TO_GREEN; } else { |