version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: random_map.h,v 1.13 2005/04/14 06:57:02 mwedel Exp $"; | | * "$Id: random_map.h,v 1.14 2005/07/20 08:38:11 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
from 0 to x, centered at x/2 */ | | from 0 to x, centered at x/2 */ |
#define BC_RANDOM(x) ((int) ((RANDOM() % (x)+RANDOM()%(x)+RANDOM()%(x))/3.)) | | #define BC_RANDOM(x) ((int) ((RANDOM() % (x)+RANDOM()%(x)+RANDOM()%(x))/3.)) |
| | |
| | int set_random_map_variable(RMParms *rp,char *buf); |
| | |
#endif | | #endif |