diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-06-27 11:58:47 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-06-27 11:58:47 +0000 |
commit | 90f730ca714fb53f47ee16be46fcb06bd98d53ed (patch) | |
tree | c028f9afa30ec4137501fdada9c6ef1130daf2fb /src/post/goom/graphic.c | |
parent | 29f04d913513a470bc91aff3e6c0fca699e460f8 (diff) | |
download | xine-lib-90f730ca714fb53f47ee16be46fcb06bd98d53ed.tar.gz xine-lib-90f730ca714fb53f47ee16be46fcb06bd98d53ed.tar.bz2 |
include the new goom version 2k4-dev15
everybody: test, test, test
CVS patchset: 6756
CVS date: 2004/06/27 11:58:47
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 }; |