From: Michael Georgoulopoulos Date: Thu, 8 Sep 2016 20:46:53 +0000 (+0300) Subject: Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=dosdemo;a=commitdiff_plain;h=1ed528b5660366b1e78ceace8b63293bde7485b4 Merge branch 'master' of mutantstargoat.com:/home/nuclear/git/dosdemo --- 1ed528b5660366b1e78ceace8b63293bde7485b4 diff --cc src/grise.c index 210b0cf,fcee596..55d4929 --- a/src/grise.c +++ b/src/grise.c @@@ -263,17 -246,3 +263,17 @@@ static void updateScrollTables(float dt scrollTableRounded[i] = (int)(scrollTable[i] + 0.5f) % scrollModTable[i]; } } + +static void rleEncode(unsigned char *pixels, unsigned int w, unsigned int h) { + int scanline; + int i; + int skipping = 1; + + for (scanline = 0; scanline < h; scanline++) { + for (i = 0; i < w; i++) { + if (*pixels++) { + + } + } + } - } ++}