Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
Random2Class Class Reference

#include <RANDOM.H>

Public Types

enum  { SIGNIFICANT_BITS =32 }
 

Public Member Functions

 Random2Class (unsigned seed=0)
 
 operator int (void)
 
int operator() (void)
 
int operator() (int minval, int maxval)
 

Protected Attributes

int Index1
 
int Index2
 
int Table [250]
 

Detailed Description

Definition at line 99 of file RANDOM.H.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SIGNIFICANT_BITS 

Definition at line 107 of file RANDOM.H.

Constructor & Destructor Documentation

◆ Random2Class()

Random2Class::Random2Class ( unsigned seed = 0)

Definition at line 166 of file random.cpp.

Member Function Documentation

◆ operator int()

Random2Class::operator int ( void )
inline

Definition at line 103 of file RANDOM.H.

◆ operator()() [1/2]

int Random2Class::operator() ( int minval,
int maxval )

Definition at line 225 of file random.cpp.

◆ operator()() [2/2]

int Random2Class::operator() ( void )

Definition at line 193 of file random.cpp.

Member Data Documentation

◆ Index1

int Random2Class::Index1
protected

Definition at line 112 of file RANDOM.H.

◆ Index2

int Random2Class::Index2
protected

Definition at line 113 of file RANDOM.H.

◆ Table

int Random2Class::Table[250]
protected

Definition at line 114 of file RANDOM.H.


The documentation for this class was generated from the following files: