2003-11-07 12:47:01 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2002-02-01 19:28:30 +00:00
|
|
|
#include "graphic.h"
|
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
const Color BLACK = { 0, 0, 0 };
|
|
|
|
const Color WHITE = { 0xff, 0xff, 0xff };
|
|
|
|
const Color RED = { 0xff, 0, 0 };
|
|
|
|
const Color GREEN = { 0, 0xff, 0 };
|
|
|
|
const Color BLUE = { 0, 0, 0xff };
|
|
|
|
const Color YELLOW = { 0xff, 0xff, 0x33 };
|
|
|
|
const Color ORANGE = { 0xff, 0xcc, 0x00 };
|
|
|
|
const Color VIOLET = { 0x55, 0x00, 0xff };
|
2002-02-01 19:28:30 +00:00
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
unsigned int SIZE;
|
|
|
|
unsigned int HEIGHT;
|
|
|
|
unsigned int WIDTH;
|
2002-02-01 19:28:30 +00:00
|
|
|
|
2004-03-14 22:34:33 +00:00
|
|
|
int *rand_tab = 0;
|
|
|
|
unsigned short int rand_pos = 0;
|