Descent3/lib/psrand.h

25 lines
439 B
C
Raw Normal View History

2024-04-16 03:43:29 +00:00
/*
2024-04-16 18:56:40 +00:00
* $Logfile: /DescentIII/Main/lib/psrand.h $
* $Revision: 2 $
* $Date: 4/21/99 11:05a $
* $Author: Kevin $
*
* Outrage random number generator code
*
* $Log: /DescentIII/Main/lib/psrand.h $
*
2024-04-16 03:43:29 +00:00
* 2 4/21/99 11:05a Kevin
* new ps_rand and ps_srand to replace rand & srand
2024-04-16 18:56:40 +00:00
*
2024-04-16 03:43:29 +00:00
* 1 4/21/99 10:16a Kevin
2024-04-16 18:56:40 +00:00
*
* $NoKeywords: $
*/
2024-04-16 03:43:29 +00:00
#undef RAND_MAX
2024-04-16 18:56:40 +00:00
#define RAND_MAX 0x7fff
2024-04-16 03:43:29 +00:00
void ps_srand(unsigned int seed);
int ps_rand(void);