summaryrefslogtreecommitdiff
path: root/src/newgrf_config.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-09-03 07:51:07 +0000
committerrubidium <rubidium@openttd.org>2008-09-03 07:51:07 +0000
commita4cd12274ca31df58c63b5532bbbb22e155b6a76 (patch)
tree182c569b77749f62a11b272d146ebd2639ad0c24 /src/newgrf_config.h
parentc620d5e5f066e62cf23197d16e40a07c41e2d9f8 (diff)
downloadopenttd-a4cd12274ca31df58c63b5532bbbb22e155b6a76.tar.xz
(svn r14233) -Feature/Fix [FS#2172]: save the palette of the loaded NewGRFs in the savegame, so joining with a server using Windows palette will make a client with the DOS palette do palette conversion and (thus) not cause a desync due to the different palettes disabling different NewGRFs.
Diffstat (limited to 'src/newgrf_config.h')
-rw-r--r--src/newgrf_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf_config.h b/src/newgrf_config.h
index e7d5b11cb..fcd97f0a2 100644
--- a/src/newgrf_config.h
+++ b/src/newgrf_config.h
@@ -68,6 +68,7 @@ struct GRFConfig : public GRFIdentifier {
uint32 grf_bugs; ///< NOSAVE: bugs in this GRF in this run, @see enum GRFBugs
uint32 param[0x80]; ///< GRF parameters
uint8 num_params; ///< Number of used parameters
+ bool windows_paletted; ///< Whether the NewGRF is Windows paletted or not
struct GRFConfig *next; ///< NOSAVE: Next item in the linked list