ManaPlus
Functions
mrand.h File Reference

(986a3bf)

#include "localconsts.h"

Go to the source code of this file.

Functions

void initRand ()
 
int mrand ()
 

Function Documentation

◆ initRand()

void initRand ( )

Definition at line 35 of file mrand.cpp.

36 {
37  for (int f = 0; f < randNumbers; f ++)
38  mRand[f] = std::rand();
39 }
int mRand[randNumbers]
Definition: mrand.cpp:32

References anonymous_namespace{mrand.cpp}::mRand, and anonymous_namespace{mrand.cpp}::randNumbers.

Referenced by Client::gameInit().

◆ mrand()

int mrand ( )