diff --git a/changelog.txt b/changelog.txt index 2aa563ab..1758e373 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changes in 6.0.5 (unreleased) - NFORenum specific changes: - Data file updates - Callback 160 + - Action 5, type 0x18 (black recolour sprite) added - GRFcodec specific changes: - Fix checks for opening sprites causing sprites to be read from the wrong file - Change default height for sprite sheets to 16000 rows so it does not hit memory issues on 32 bits computers diff --git a/src/data.cpp b/src/data.cpp index f633459e..7fddf666 100644 --- a/src/data.cpp +++ b/src/data.cpp @@ -164,7 +164,7 @@ static const char _datB[]="\x01\x02" #define OFFSET 0x88 /* Allow replacing sprite ranges with offsets */ #define W(cnt) cnt & 0xFF, cnt >> 8 /* Construct word count */ static const unsigned char _dat5[]={ -NDF_HEADER(0x04, 16), +NDF_HEADER(0x04, 17), /*04*/ OFFSET, OPTIONS(3), 0x30, 0x70, 0xF0, /*05*/ OFFSET, OPTIONS(1), 0x30, /*06*/ OFFSET, OPTIONS(2), 0x4A, 0x5A, @@ -185,6 +185,7 @@ NDF_HEADER(0x04, 16), /*15*/ OFFSET, OPTIONS(1), 0xAF, /*16*/ OFFSET, OPTIONS(1), 0x09, /*17*/ OFFSET, OPTIONS(1), 0x10, +/*18*/ RECOLOUR, OPTIONS(1), 0x01, 00, NDF_END };