From 9b70d40e54265ee8e4519d64382f38b3900e7fd6 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sun, 14 Sep 2003 15:45:55 +0000 Subject: newer goom version. CVS patchset: 5378 CVS date: 2003/09/14 15:45:55 --- src/post/goom/graphic.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/post/goom/graphic.c') 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; +} +*/ -- cgit v1.2.3