1v13d/src/FxEngine/texture.c

12 lines
265 B
C
Raw Normal View History

2019-07-24 17:15:09 +02:00
#include "texture.h"
// textures address
2019-07-25 09:42:01 +02:00
unsigned char const FE_textures[2][8]=
2019-07-24 17:15:09 +02:00
{
{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)
2019-07-25 09:42:01 +02:00
{return ((1<<(7-x)) & (FE_textures[num][y]));}