#include "texture.h" // textures address 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) {x%=8;y%=8;return ((1<<(7-x)) & (FE_textures[num][y]));}