Add changelog

This commit is contained in:
Henri Chain 2016-05-23 17:24:00 +02:00
parent ffff989211
commit 922b237d9e
2 changed files with 12 additions and 8 deletions

View File

@ -15,6 +15,8 @@
* 23/1/14 * 23/1/14
* - put the reader globals into a struct so we can have many active * - put the reader globals into a struct so we can have many active
* readers * readers
* 23/5/16
* - Add buffer save functions
*/ */
/* /*
@ -1458,10 +1460,10 @@ scanline_write_buf( COLR *scanline, int width, WriteBuf *wbuf )
} }
/* An RLE scanline. Write magic header. /* An RLE scanline. Write magic header.
*/ */
PUTC_BUF( 2 ); PUTC( 2 );
PUTC_BUF( 2 ); PUTC( 2 );
PUTC_BUF( width >> 8 ); PUTC( width >> 8 );
PUTC_BUF( width & 255 ); PUTC( width & 255 );
for( i = 0; i < 4; i++ ) { for( i = 0; i < 4; i++ ) {
for( j = 0; j < width; ) { for( j = 0; j < width; ) {
@ -1495,17 +1497,17 @@ scanline_write_buf( COLR *scanline, int width, WriteBuf *wbuf )
int k; int k;
PUTC_BUF( len ); PUTC( len );
for( k = 0; k < len; k++ ) for( k = 0; k < len; k++ )
PUTC_BUF( p[k][i] ); PUTC( p[k][i] );
j += len; j += len;
} }
/* Code the run we found, if any /* Code the run we found, if any
*/ */
if( cnt >= MINRUN ) { if( cnt >= MINRUN ) {
PUTC_BUF( 128 + cnt ); PUTC( 128 + cnt );
PUTC_BUF( scanline[j][i] ); PUTC( scanline[j][i] );
j += cnt; j += cnt;
} }
} }

View File

@ -2,6 +2,8 @@
* *
* 2/12/11 * 2/12/11
* - wrap a class around the rad writer * - wrap a class around the rad writer
* 23/5/16
* - split into file and buffer save classes
*/ */
/* /*