1
0
Fork 0
forked from len0rd/rockbox

Accept FS#7218 by Dave Hooper: Bitmap version of the sliding puzzle game.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16168 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2008-01-26 00:16:06 +00:00
parent 5991478628
commit 02f1839bfe
14 changed files with 417 additions and 190 deletions

View file

@ -24,6 +24,7 @@
#include "lcd.h"
#include "system.h"
#ifdef HAVE_LCD_COLOR
#define LE16(x) (htole16(x))&0xff, ((htole16(x))>>8)&0xff
#define LE32(x) (htole32(x))&0xff, ((htole32(x))>>8)&0xff, ((htole32(x))>>16)&0xff, ((htole32(x))>>24)&0xff
/**
@ -82,6 +83,7 @@ int save_bmp_file( char* filename, struct bitmap *bm, struct plugin_api* rb )
rb->close( fh );
return 1;
}
#endif
/**
Very simple image scale from src to dst (nearest neighbour).