/* Keep these headers */ #include #include #include #include #include "rle.h" #include "screen8bpp.h" #include "splash.h" /* Your code here */ // All this can go in a global. Will do later. void dispBack1(uint8_t* ptr) { uint8_t back[]={82,29,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,178,29,242,242,242,242,194,29,242,242,242,242,162,45,18,45,242,242,242,242,162,29,242,242,242,242,194,29,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,50,29,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,146,129,130,129,240,32,242,226,241,177,16,251,43,16,242,210,241,161,16,59,217,59,16,242,194,49,135,129,103,16,43,105,20,41,20,89,43,16,242,194,247,167,16,27,41,20,121,32,89,27,16,18,32,242,146,247,167,16,27,153,16,38,16,25,20,41,27,32,38,16,242,130,55,140,135,108,16,27,153,16,54,16,57,27,16,54,16,242,130,252,92,32,60,16,27,105,20,41,16,70,64,70,16,242,130,252,76,16,38,16,44,16,27,153,16,198,16,242,130,60,138,140,16,38,64,27,57,20,73,16,230,16,242,114,250,90,16,70,16,27,121,20,16,54,29,16,86,29,16,38,16,242,114,250,106,32,38,16,27,25,20,105,16,54,32,54,16,22,32,38,16,242,114,58,133,138,69,48,27,137,16,22,40,150,40,16,242,114,245,165,16,27,89,20,41,16,22,40,22,16,38,16,38,16,22,40,16,242,114,245,165,16,43,25,20,105,16,54,112,38,16,242,130,53,131,133,83,32,59,137,16,166,16,242,50,29,82,243,131,16,22,32,187,160,242,34,29,50,29,50,243,115,16,54,240,48,22,16,242,194,51,130,131,50,16,38,16,18,16,38,16,98,16,38,16,18,16,38,16,242,50,29,82,29,242,146,48,34,48,114,48,50,48,242,242,242,242,242,242,34,29,50,29,242,242,242,242,162,29,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,226,29,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,98,29,242,242,242,242,178,29,18,29,242,242,242,242,178,29,242,242,242,242,178,0}; decompRLE(ptr,back,4,0,0,0,0,0); } void dispBack() { uint8_t* offscreen_ptr = getOffscreen(); dispBack1(offscreen_ptr); gc_drawZoomTile(offscreen_ptr,(SCR_WIDTH-SPLASH_WIDTH*SPLASH_ZOOM)/2,(SCR_HEIGHT-SPLASH_HEIGHT*SPLASH_ZOOM)/2,SPLASH_WIDTH,SPLASH_HEIGHT, SPLASH_ZOOM); }