Files
Twilight_II/source/twilight/link/random.about
2020-06-08 22:51:00 +02:00

9 lines
218 B
Plaintext

Prototypes for random:
extern int random(void);
extern void set_random_seed(void);
random returns an integer between 0 and 0xFFFF.
set_random_seed sets the random seed for you, based on GetTick and VERTCNT.