#include "texture.h" unsigned char const FE_textures[3][8]= { {0,0,0,0,0,0,0,0}, // full white {255,255,255,255,255,255,255,255}, // full black {255,193,161,145,137,133,131,255} // borders and diagonal }; bool FE_get_pixel(int num,int x, int y) { return ((1<<(7-x)) & (FE_textures[num][y])); }