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.75 by root, Tue Apr 15 03:16:02 2008 UTC vs.
Revision 1.77 by root, Sun May 4 14:12:37 2008 UTC

31#include <sys/time.h> 31#include <sys/time.h>
32#include <time.h> 32#include <time.h>
33#include <signal.h> 33#include <signal.h>
34 34
35#include <global.h> 35#include <global.h>
36#include <funcpoint.h>
37#include <material.h> 36#include <material.h>
38 37
39#include <glib.h> 38#include <glib.h>
40 39
41refcnt_base::refcnt_t refcnt_dummy; 40refcnt_base::refcnt_t refcnt_dummy;
42ssize_t slice_alloc; 41ssize_t slice_alloc;
43rand_gen rndm; 42rand_gen rndm, rmg_rndm;
44 43
45void 44void
46tausworthe_random_generator::seed (uint32_t seed) 45tausworthe_random_generator::seed (uint32_t seed)
47{ 46{
48 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