diff options
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; +} +*/ |