2019-07-24 17:15:09 +02:00
|
|
|
#include "texture.h"
|
|
|
|
|
|
|
|
// textures address
|
2019-07-27 17:01:35 +02:00
|
|
|
unsigned char const FE_textures[3][8]=
|
2019-07-24 17:15:09 +02:00
|
|
|
{
|
2019-07-25 09:38:25 +02:00
|
|
|
{0,0,0,0,0,0,0,0}, // full white
|
|
|
|
{255,255,255,255,255,255,255,255}, // full black
|
2019-07-27 17:01:35 +02:00
|
|
|
{255,193,161,145,137,133,131,255} // borders and diagonal
|
2019-07-25 09:38:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
bool FE_get_pixel(int num,int x, int y)
|
2019-07-27 17:01:35 +02:00
|
|
|
{x%=8;y%=8;return ((1<<(7-x)) & (FE_textures[num][y]));}
|