author | andyq <andyq> | 2002-12-09 20:30:46 (UTC) |
---|---|---|
committer | andyq <andyq> | 2002-12-09 20:30:46 (UTC) |
commit | b9a448e0687558c1cb79f801161966e15d589132 (patch) (unidiff) | |
tree | 4f485b85b8bc03546008dd2003c75bf60f7acd9b /noncore/games/sfcave/random.h | |
parent | accc4e231dc34744e75d32af77eeb98f46006c27 (diff) | |
download | opie-b9a448e0687558c1cb79f801161966e15d589132.zip opie-b9a448e0687558c1cb79f801161966e15d589132.tar.gz opie-b9a448e0687558c1cb79f801161966e15d589132.tar.bz2 |
Added replay function and included own random method for replay functionality
Diffstat (limited to 'noncore/games/sfcave/random.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/sfcave/random.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/games/sfcave/random.h b/noncore/games/sfcave/random.h new file mode 100644 index 0000000..4bc7c06 --- a/dev/null +++ b/noncore/games/sfcave/random.h | |||
@@ -0,0 +1,19 @@ | |||
1 | /* ----------------------------------------------------------------------- | ||
2 | * Name : rngs.h (header file for the library file rngs.c) | ||
3 | * Author : Steve Park & Dave Geyer | ||
4 | * Language : ANSI C | ||
5 | * Latest Revision : 09-22-98 | ||
6 | * ----------------------------------------------------------------------- | ||
7 | */ | ||
8 | |||
9 | #if !defined( _RNGS_ ) | ||
10 | #define _RNGS_ | ||
11 | |||
12 | double Random(void); | ||
13 | void PlantSeeds(long x); | ||
14 | void GetSeed(long *x); | ||
15 | void PutSeed(long x); | ||
16 | void SelectStream(int index); | ||
17 | void TestRandom(void); | ||
18 | |||
19 | #endif | ||