#ifndef TEXTURES_H_INCLUDED
#define TEXTURES_H_INCLUDED
#include <stdint.h>
//palette
const uint16_t default36[] = {
2016,1024,63488,32768,31,16,65504,46208,64352,45600,52224,31461,33808,25388,0,65535,
};
//paddles
const uint8_t paddlegreen[] =
{
6,20,
255,255,255,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
17,17,17,
};
const uint8_t paddlered[] =
{
6,20,
255,255,255,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
51,51,51,
};
//Balls
const uint8_t ballgreen[] =
{
6,6,
255,255,255,
16,0,15,
16,0,15,
16,0,15,
16,0,15,
17,17,17,
};
const uint8_t ballred[] =
{
6,6,
255,255,255,
242,34,35,
242,34,35,
242,34,35,
242,34,35,
51,51,51,
};
const uint8_t ballorange[] =
{
6,6,
255,255,255,
248,136,137,
248,136,137,
248,136,137,
248,136,137,
153,153,153,
};
const uint8_t ballyellow[] =
{
6,6,
255,255,255,
246,102,103,
246,102,103,
246,102,103,
246,102,103,
119,119,119,
};
const uint8_t ballblue[] =
{
6,6,
255,255,255,
244,68,69,
244,68,69,
244,68,69,
244,68,69,
85,85,85,
};
const uint8_t ballgray[] =
{
6,6,
255,255,255,
252,204,205,
252,204,205,
252,204,205,
252,204,205,
221,221,221,
};
//Other
const uint8_t title[] =
{
110,20,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,238,15,255,255,238,238,224,255,255,254,238,224,254,238,238,238,239,238,238,224,255,255,255,254,238,238,238,238,238,238,238,255,255,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,225,0,0,0,254,238,0,0,0,15,238,224,15,238,238,238,224,254,238,0,0,0,0,15,238,238,238,238,238,238,238,16,15,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,16,238,238,15,238,225,14,238,224,254,238,16,15,238,238,238,15,238,225,14,238,238,238,238,238,238,238,238,238,238,238,16,15,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,16,238,238,15,238,225,14,238,224,254,238,16,16,254,238,238,15,238,225,14,238,238,238,238,238,238,238,238,238,238,238,16,15,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,225,14,238,224,14,238,16,238,238,0,238,225,14,16,254,238,224,14,238,16,238,238,238,238,238,238,238,238,238,238,238,238,16,15,238,238,238,238,239,255,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,225,14,238,224,14,238,16,238,238,0,238,225,14,225,254,238,224,14,238,16,238,238,238,238,238,238,238,238,238,238,238,238,16,15,238,238,238,238,239,35,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,16,0,0,0,238,225,14,238,224,14,238,16,238,225,254,238,0,238,225,14,238,0,15,238,238,238,238,238,238,238,238,238,16,15,238,238,238,238,227,51,238,238,238,255,255,238,238,238,238,238,238,238,
238,238,238,16,0,0,14,238,225,14,238,224,14,238,16,238,225,254,238,0,238,225,14,238,17,16,254,238,238,238,238,238,238,238,238,17,17,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,238,225,14,238,238,238,238,16,238,238,0,238,225,14,238,225,254,224,14,238,16,238,238,238,15,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,238,225,14,238,238,238,238,16,238,238,0,238,225,14,238,225,15,224,14,238,16,238,238,238,0,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,238,16,238,238,238,238,225,14,238,224,14,238,16,238,238,225,15,0,238,225,14,238,238,224,14,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,238,16,238,238,238,238,225,14,238,224,14,238,16,238,238,238,16,0,238,225,14,238,238,224,14,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,225,14,238,238,238,238,16,0,0,0,238,225,14,238,238,238,16,14,238,17,0,0,0,0,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,242,35,238,238,238,238,238,238,238,
238,238,30,238,238,238,238,225,17,17,30,238,238,30,238,238,238,225,30,238,225,17,17,17,30,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,51,51,238,238,238,238,238,238,238,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,
};
const uint8_t btna[] =
{
10,10,
238,239,255,254,238,
239,254,238,239,254,
239,238,255,238,254,
254,239,238,254,239,
254,239,238,254,239,
254,239,255,254,239,
254,239,238,254,239,
239,238,238,238,254,
239,254,238,239,254,
238,239,255,254,238,
};
const uint8_t backarrow[] =
{
20,10,
238,238,238,238,238,238,239,255,254,238,
238,238,254,238,238,239,254,238,239,254,
238,239,254,238,238,239,239,255,238,254,
238,255,255,255,254,254,239,238,254,239,
239,255,255,255,254,254,239,255,238,239,
239,255,255,255,254,254,239,238,254,239,
238,255,255,255,254,254,239,238,254,239,
238,239,254,238,238,239,239,255,238,254,
238,238,254,238,238,239,254,238,239,254,
238,238,238,238,238,238,239,255,254,238,
};
#endif // TEXTURES_H_INCLUDED
I had explained it wrong, “textures.h” is part of my pong. The codes(main.cpp,textures.h) in the two sim versions are the same.