diff options
Diffstat (limited to 'src/post/goom/graphic.c')
-rw-r--r-- | src/post/goom/graphic.c | 32 |
1 files changed, 6 insertions, 26 deletions
diff --git a/src/post/goom/graphic.c b/src/post/goom/graphic.c index 8ff08ff14..2ee71a6dd 100644 --- a/src/post/goom/graphic.c +++ b/src/post/goom/graphic.c @@ -1,30 +1,10 @@ -#include "graphic.h" +#include "goom_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 RED = { 0xff, 0x05, 0x05 }; +const Color GREEN = { 0x05, 0xff, 0x05 }; +const Color BLUE = { 0x05, 0x05, 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; -} -*/ +const Color ORANGE = { 0xff, 0xcc, 0x05 }; +const Color VIOLET = { 0x55, 0x05, 0xff }; |