(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.

This commit is contained in:
rubidium
2008-09-03 07:51:07 +00:00
parent 5c6a23f8fa
commit 882d39a081
7 changed files with 39 additions and 18 deletions

View File

@@ -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