svdrand.h

mux2.0/src/svdrand.h · 950 B

From the archive mux-2.0.13.280.win32.src.zip

Download the archive   « Back to the archive contents

// svdrand.h -- Random Numbers
//
// $Id: svdrand.h,v 1.3 2000/04/25 18:32:28 sdennis Exp $
//
// Random Numbers based on algorithms presented in "Numerical Recipes in C",
// Cambridge Press, 1992.
// 
// RandomLong() was derived from existing game server code.
//
// MUX 2.0
// Copyright (C) 1998 through 2000 Solid Vertical Domains, Ltd. All
// rights not explicitly given are reserved. Permission is given to
// use this code for building and hosting text-based game servers.
// Permission is given to use this code for other non-commercial
// purposes. To use this code for commercial purposes other than
// building/hosting text-based game servers, contact the author at
// Stephen Dennis <sdennis@svdltd.com> for another license.
//
#ifndef SVDRAND_H
#define SVDRAND_H

void SeedRandomNumberGenerator(void);
double RandomFloat(double flLow, double flHigh);
long RandomLong(long lLow, long lHigh);

#endif // SVDRAND_H

Site Stats

Snippets: 1791
Codebases: 571