added optional button to restart game (door, panel and touch variants)
[rocksndiamonds.git] / src / libgame / random.h
1 // ============================================================================
2 // Artsoft Retro-Game Library
3 // ----------------------------------------------------------------------------
4 // (c) 1995-2014 by Artsoft Entertainment
5 //                  Holger Schemel
6 //                  info@artsoft.org
7 //                  https://www.artsoft.org/
8 // ----------------------------------------------------------------------------
9 // random.h
10 // ============================================================================
11
12 #ifndef RANDOM_H
13 #define RANDOM_H
14
15 void srandom_linux_libc(int, unsigned int);
16 int random_linux_libc(int);
17
18
19 // ============================================================================
20
21 #include <stddef.h>
22
23 void prng_seed_time (void);
24 void prng_seed_bytes (const void *, size_t);
25 unsigned char prng_get_octet (void);
26 unsigned char prng_get_byte (void);
27 void prng_get_bytes (void *, size_t);
28 unsigned long prng_get_ulong (void);
29 long prng_get_long (void);
30 unsigned prng_get_uint (void);
31 int prng_get_int (void);
32 double prng_get_double (void);
33 double prng_get_double_normal (void);
34
35 #endif