Pokitto Community Team / Pixonia

Dependencies:   PokittoLib

Fork of AnimationTest by Pokitto Community Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers night_palette.cpp Source File

night_palette.cpp

00001 
00002 
00003 /*
00004  * BMP image as 4bpp (16 colour index) data
00005  */
00006 
00007 #include <stdint.h>
00008 #include "Pixonia.h"
00009 
00010 // map colors correctly
00011 // 3 - 2
00012 // 8 - 5
00013 // 11- 4
00014 // 6 - 1
00015 // 0 - 3
00016 // 5 - 10
00017 // 9 = 9
00018 
00019 
00020 const uint16_t pokulous_pal[] = {
00021 22530,
00022 12922,
00023 10764,
00024 9284,
00025 
00026 13670, //4
00027 20137,
00028 0, // GOLD !!
00029 41728,
00030 
00031 33280, //8
00032 65535,
00033 46486,
00034 38066,
00035 
00036 29614, //12
00037 0,
00038 63488,
00039 63519
00040 };
00041 
00042 const uint16_t night_palette_orig[] = {
00043 18697,33104,18506,22830,27280,56830,2249,8517,552,2145,6371,2859,257,545,18952,0
00044 };
00045 
00046 const uint16_t night_palette[] = {
00047 18697, //0
00048 2249,  //33104, //1
00049 22830, //18506, //2
00050 18697, //22830, //3
00051 2859,  //27280, //4
00052 552,   //56830, //5
00053 65312, // GOLD!! 2249,  //6
00054 8517,  //7
00055 552,   //8
00056 65535, //2145,  //9
00057 27280, //56830, //6371,  //10 //too bright !
00058 2859,  //11
00059 257,   //12
00060 545,   //13
00061 63488, //14 Werewolf eyes
00062 0      //15
00063 };
00064 
00065