summaryrefslogtreecommitdiff
path: root/src/post/goom/graphic.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-25 04:59:14 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-25 04:59:14 +0000
commit7232ac8416bc30a093500a3bdf5d908be3273d76 (patch)
treeb54669a95f05fd80ac5886d1560c7e2fd2b3f590 /src/post/goom/graphic.c
parent024d463a3cfed56ab3db964488a8dd9dbf7bf1d4 (diff)
downloadxine-lib-7232ac8416bc30a093500a3bdf5d908be3273d76.tar.gz
xine-lib-7232ac8416bc30a093500a3bdf5d908be3273d76.tar.bz2
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
Diffstat (limited to 'src/post/goom/graphic.c')
-rw-r--r--src/post/goom/graphic.c17
1 files changed, 17 insertions, 0 deletions
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 ;