summaryrefslogtreecommitdiff
path: root/src/post/goom/graphic.c
blob: 8ff08ff1461941c2e516eb41a9e9903ab1b09202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#include "graphic.h"

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 };

unsigned int SIZE;
unsigned int HEIGHT;
unsigned int WIDTH;

int    *rand_tab = 0;
//unsigned short int rand_pos = 0;
/*
inline unsigned int RAND(void)
{
    rand_pos++;
    return rand_tab[rand_pos];
}

inline unsigned int iRAND(int i)
{
    rand_pos++;
    return (rand_tab[rand_pos])%i;
}
*/