28 #include <libvisual/lvconfig.h>
29 #include <libvisual/lv_types.h>
30 #include <libvisual/lv_defines.h>
43 typedef uint32_t RandomSeed;
52 typedef RandomSeed Seed;
85 void set_seed (uint32_t seed);
102 uint32_t get_int (
unsigned int min,
unsigned int max);
109 double get_double ();
121 std::unique_ptr<Impl> m_impl;
132 typedef ::LV::RandomSeed VisRandomSeed;
135 struct _VisRandomContext;
137 typedef uint32_t VisRandomSeed;
145 LV_API
void visual_random_context_set_seed (
VisRandomContext *rcontext, VisRandomSeed seed);
147 LV_API uint32_t visual_random_context_int_range (
VisRandomContext *rcontext,
unsigned int min,
unsigned int max);