ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/rng.h
(Generate patch)

Comparing deliantra/server/include/rng.h (file contents):
Revision 1.10 by root, Thu May 17 02:20:45 2012 UTC vs.
Revision 1.11 by root, Mon Oct 1 01:43:39 2012 UTC

138// and likely of higher quality. 138// and likely of higher quality.
139typedef gfsr_rng<uint32_t, 250, 103> r250_rng; 139typedef gfsr_rng<uint32_t, 250, 103> r250_rng;
140typedef gfsr_rng<uint32_t, 521, 168> r521_rng; 140typedef gfsr_rng<uint32_t, 521, 168> r521_rng;
141 141
142// freeciv uses this one, so it's good enough for us :) 142// freeciv uses this one, so it's good enough for us :)
143// (also known as mitchell moore generator 143// (also known as mitchell moore generator)
144typedef gfsr_rng<uint32_t, 55, 24> freeciv_rng; 144typedef gfsr_rng<uint32_t, 55, 24> freeciv_rng;
145 145
146// this one should be high quality, but is slightly slower than tausworthe 146// this one should be high quality, but is slightly slower than tausworthe
147struct r250521_rng 147struct r250521_rng
148{ 148{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines