diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-09-14 15:45:55 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2003-09-14 15:45:55 +0000 |
commit | 9b70d40e54265ee8e4519d64382f38b3900e7fd6 (patch) | |
tree | ad3acc28e7db7f72a7dfc7ef8d3348e979581db3 /src/post/goom/graphic.c | |
parent | f3da42db0b3c3f01c2f65471c99f1678990c3063 (diff) | |
download | xine-lib-9b70d40e54265ee8e4519d64382f38b3900e7fd6.tar.gz xine-lib-9b70d40e54265ee8e4519d64382f38b3900e7fd6.tar.bz2 |
newer goom version.
CVS patchset: 5378
CVS date: 2003/09/14 15:45:55
Diffstat (limited to 'src/post/goom/graphic.c')
-rw-r--r-- | src/post/goom/graphic.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/post/goom/graphic.c b/src/post/goom/graphic.c index 10f3c7773..8ff08ff14 100644 --- a/src/post/goom/graphic.c +++ b/src/post/goom/graphic.c @@ -14,4 +14,17 @@ unsigned int HEIGHT; unsigned int WIDTH; int *rand_tab = 0; -unsigned short int rand_pos = 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; +} +*/ |