From 7232ac8416bc30a093500a3bdf5d908be3273d76 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 25 Dec 2002 04:59:14 +0000 Subject: What a GOOM! Michael, please review the xine_goom.c code. i'm not sure about some post plugin concepts like "rewiring"... note: that code is quite cpu intensive, so i hardcoded it to 10fps. CVS patchset: 3673 CVS date: 2002/12/25 04:59:14 --- src/post/goom/graphic.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/post/goom/graphic.c (limited to 'src/post/goom/graphic.c') diff --git a/src/post/goom/graphic.c b/src/post/goom/graphic.c new file mode 100644 index 000000000..4223c67bd --- /dev/null +++ b/src/post/goom/graphic.c @@ -0,0 +1,17 @@ +#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 ; -- cgit v1.2.3