mirror of https://github.com/bsnes-emu/bsnes.git
12 lines
184 B
C++
12 lines
184 B
C++
|
struct Random {
|
||
|
void seed(unsigned seed);
|
||
|
unsigned operator()(unsigned result = 0);
|
||
|
void serialize(serializer&);
|
||
|
Random();
|
||
|
|
||
|
private:
|
||
|
unsigned iter;
|
||
|
};
|
||
|
|
||
|
extern Random random;
|