restored formatting

This commit is contained in:
Christian Kroll 2011-09-04 22:26:13 +00:00
parent 56973fe40a
commit bf75e61371
2 changed files with 168 additions and 166 deletions

View File

@ -6,7 +6,7 @@
#include "amphibian.h"
static const uint8_t aBitmap [2][38][6] PROGMEM =
static uint8_t const aBitmap [2][38][6] PROGMEM =
{{{0x00, 0x00, 0x24, 0x00, 0x00, 0x00}, // bit plane 0
{0x00, 0x20, 0x3C, 0x00, 0x00, 0x00},
{0x07, 0x30, 0x47, 0x00, 0x00, 0x00},
@ -85,7 +85,7 @@
{0x00, 0x00, 0x60, 0x00, 0x00, 0x00},
{0x00, 0x00, 0x80, 0x00, 0x00, 0x00}}};
static const uint8_t aEye[2][16][3] PROGMEM =
static uint8_t const aEye[2][16][3] PROGMEM =
{{{0x07, 0xF0, 0x67}, // frame 1 (bit plane 0)
{0x03, 0xC0, 0xC3},
{0x04, 0x19, 0xA7},

View File

@ -5,7 +5,7 @@
#include "bitmapscroller.h"
#include "laborlogo.h"
static const uint8_t aBitmap[48][6] PROGMEM =
static uint8_t const aBitmap[48][6] PROGMEM =
{{0xFF, 0xFF, 0xE0, 0x07, 0xFF, 0xFF},
{0xFF, 0xFF, 0x00, 0xF8, 0xFF, 0xFF},
{0xFF, 0xF8, 0x00, 0xFF, 0x1F, 0xFF},
@ -55,6 +55,7 @@ static const uint8_t aBitmap[48][6] PROGMEM =
{0xFF, 0xFF, 0x00, 0xF8, 0xFF, 0xFF},
{0xFF, 0xFF, 0xE0, 0x07, 0xFF, 0xFF}};
static uint8_t laborlogo_getChunk(unsigned char const nBitPlane,
unsigned char const nChunkX,
unsigned char const nChunkY,
@ -66,6 +67,7 @@ static uint8_t laborlogo_getChunk(unsigned char const nBitPlane,
return pgm_read_byte(&aBitmap[nChunkY][nChunkX]);
}
void laborlogo()
{
bitmap_scroll(48, 48, 2, 400, 75, laborlogo_getChunk);