1v13d/src/FxEngine/texture.c

15 lines
392 B
C

#include "texture.h"
static unsigned char const blanc[8]={0,0,0,0,0,0,0,0};
static unsigned char const noir[8]={255,255,255,255,255,255,255,255};
// textures address
unsigned char const * 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]);}