(svn r20251) -Add: [NewGRF] allow grfs to specify the number of valid parameters
This commit is contained in:
@@ -99,6 +99,7 @@ struct GRFConfig : ZeroedMemoryAllocator {
|
||||
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
|
||||
uint8 num_valid_params; ///< Number of valid parameters (action 0x14)
|
||||
bool windows_paletted; ///< Whether the NewGRF is Windows paletted or not
|
||||
|
||||
struct GRFConfig *next; ///< NOSAVE: Next item in the linked list
|
||||
|
Reference in New Issue
Block a user