ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/utils.C
(Generate patch)

Comparing deliantra/server/common/utils.C (file contents):
Revision 1.76 by root, Mon Apr 21 23:35:24 2008 UTC vs.
Revision 1.77 by root, Sun May 4 14:12:37 2008 UTC

37 37
38#include <glib.h> 38#include <glib.h>
39 39
40refcnt_base::refcnt_t refcnt_dummy; 40refcnt_base::refcnt_t refcnt_dummy;
41ssize_t slice_alloc; 41ssize_t slice_alloc;
42rand_gen rndm; 42rand_gen rndm, rmg_rndm;
43 43
44void 44void
45tausworthe_random_generator::seed (uint32_t seed) 45tausworthe_random_generator::seed (uint32_t seed)
46{ 46{
47 state [0] = seed * 69069U; if (state [0] < 2U) state [0] += 2U; 47 state [0] = seed * 69069U; if (state [0] < 2U) state [0] += 2U;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines