xine-lib 1.2.11
|
Go to the source code of this file.
Data Structures | |
struct | _GOOM_RANDOM |
Macros | |
#define | GOOM_NB_RAND 0x10000 |
Typedefs | |
typedef struct _GOOM_RANDOM | GoomRandom |
Functions | |
GoomRandom * | goom_random_init (int i) |
void | goom_random_free (GoomRandom *grandom) |
static int | goom_random (GoomRandom *grandom) |
static int | goom_irand (GoomRandom *grandom, int i) |
void | goom_random_update_array (GoomRandom *grandom, int numberOfValuesToChange) |
#define GOOM_NB_RAND 0x10000 |
Random number generator wrapper for faster random number.
typedef struct _GOOM_RANDOM GoomRandom |
|
inlinestatic |
References _GOOM_RANDOM::array, and _GOOM_RANDOM::pos.
Referenced by addABomb(), choose_a_goom_line(), convolve_apply(), fs_apply(), fs_sound_event_occured(), generateTheWaterFXHorizontalDirectionBuffer(), goom_lines_move(), goom_update(), pretty_move(), and tentacle_update().
|
inlinestatic |
References _GOOM_RANDOM::array, and _GOOM_RANDOM::pos.
void goom_random_free | ( | GoomRandom * | grandom | ) |
Referenced by goom_close().
GoomRandom * goom_random_init | ( | int | i | ) |
References GOOM_NB_RAND, goom_random_update_array(), and _GOOM_RANDOM::pos.
Referenced by goom_init().
void goom_random_update_array | ( | GoomRandom * | grandom, |
int | numberOfValuesToChange | ||
) |
References _GOOM_RANDOM::array, and _GOOM_RANDOM::pos.
Referenced by goom_random_init().