Skip to content

Commit

Permalink
Add: action 5, type 18
Browse files Browse the repository at this point in the history
  • Loading branch information
rubidium42 committed Sep 21, 2014
1 parent e807637 commit 302e0e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion src/data.cpp
Expand Up @@ -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,
Expand All @@ -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
};
Expand Down

0 comments on commit 302e0e0

Please sign in to comment.