From 882d39a08141aa819894efc6d5de81cd65a57a5e Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 3 Sep 2008 07:51:07 +0000 Subject: (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. --- src/newgrf_config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/newgrf_config.h') 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 -- cgit v1.2.3-54-g00ecf