1v13d/src/FxEngine/texture.c

12 lines
265 B
C

#include "texture.h"
// textures address
unsigned char const FE_textures[2][8]=
{
{0,0,0,0,0,0,0,0}, // full white
{255,255,255,255,255,255,255,255}, // full black
};
bool FE_get_pixel(int num,int x, int y)
{return ((1<<(7-x)) & (FE_textures[num][y]));}