From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLMISC_1_1CRandom.html | 295 +++++++++++++++++++++++++++ 1 file changed, 295 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CRandom.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CRandom.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CRandom.html b/docs/doxygen/nel/classNLMISC_1_1CRandom.html new file mode 100644 index 00000000..ef569fa2 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CRandom.html @@ -0,0 +1,295 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CRandom Class Reference

A simple, os-independant random generator. +More... +

+#include <random.h> +

+List of all members. + + + + + + + + + +

Public Types

enum  { RandMax = 0x7fff + }

Public Methods

 CRandom ()
sint32 rand ()
void srand (sint32 seed)
float frand (float mod)

Private Attributes

sint32 _Seed
+


Detailed Description

+A simple, os-independant random generator. +

+

+Author:
+Nicolas Vizerie , Nevrax France
+Date:
+2002
+

+ +

+Definition at line 38 of file random.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
anonymous enum +
+
+ + + + + +
+   + + +

+

+Enumeration values:
+ + +
RandMax  +
+
+ +

+Definition at line 42 of file random.h.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLMISC::CRandom::CRandom  
+
+ + + + + +
+   + + +

+ +

+Definition at line 32 of file random.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
float NLMISC::CRandom::frand float   mod
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file random.cpp. +

+References r, rand, and RandMax.

+

+ + + + +
+ + + + + + + + + +
sint32 NLMISC::CRandom::rand  
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file random.cpp. +

+References _Seed, and RandMax. +

+Referenced by frand.

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CRandom::srand sint32   seed
+
+ + + + + +
+   + + +

+ +

+Definition at line 44 of file random.cpp. +

+References _Seed.

+


Member Data Documentation

+

+ + + + +
+ + +
sint32 NLMISC::CRandom::_Seed [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 53 of file random.h. +

+Referenced by rand, and srand.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1