--- deliantra/server/include/util.h 2008/05/03 11:14:50 1.73 +++ deliantra/server/include/util.h 2008/05/08 11:39:23 1.76 @@ -1,7 +1,7 @@ /* * This file is part of Deliantra, the Roguelike Realtime MMORPG. * - * Copyright (©) 2005,2006,2007 Marc Alexander Lehmann / Robin Redeker / the Deliantra team + * Copyright (©) 2005,2006,2007,2008 Marc Alexander Lehmann / Robin Redeker / the Deliantra team * * Deliantra is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -367,7 +367,7 @@ void seed (uint32_t seed); uint32_t next (); - // uniform distribution + // uniform distribution, 0 .. num - 1 uint32_t operator ()(uint32_t num) { return is_constant (num) @@ -395,7 +395,7 @@ typedef tausworthe_random_generator rand_gen; -extern rand_gen rndm; +extern rand_gen rndm, rmg_rndm; INTERFACE_CLASS (attachable) struct refcnt_base