mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 00:41:24 +00:00
- 'common' update.
This commit is contained in:
parent
4d44682603
commit
4b8444b64d
7 changed files with 100 additions and 163 deletions
|
@ -48,6 +48,11 @@ public:
|
|||
FRandom (const char *name);
|
||||
~FRandom ();
|
||||
|
||||
int Seed() const
|
||||
{
|
||||
return sfmt.u[0] + idx;
|
||||
}
|
||||
|
||||
// Returns a random number in the range [0,255]
|
||||
int operator()()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue