Dr. Mario 64 Password Tool Version 1.1
A command-line tool written in C++ that allows to generate and decode the passwords of Dr. Mario 64.
Loading...
Searching...
No Matches
Random.h
Go to the documentation of this file.
1// Dr. Mario 64 Password Tool
2// Copyright (C) 2020-present WaluigiBSOD (waluigibsod.github.io)
3//
4// This file is part of Dr. Mario 64 Password Tool.
5//
6// Dr. Mario 64 Password Tool is free software: you can redistribute it and/or modify
7// it under the terms of the GNU General Public License as published by
8// the Free Software Foundation, either version 3 of the License, or
9// (at your option) any later version.
10//
11// Dr. Mario 64 Password Tool is distributed in the hope that it will be useful,
12// but WITHOUT ANY WARRANTY; without even the implied warranty of
13// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14// GNU General Public License for more details.
15//
16// You should have received a copy of the GNU General Public License
17// along with this program. If not, see <https://www.gnu.org/licenses/>.
18
25
26#pragma once
27
28#include <random>
29
30using namespace std;
31
32extern mt19937 MersenneTwister;
33
34extern uniform_int_distribution<> Modulo10;
35extern uniform_int_distribution<> Modulo60;
36extern uniform_int_distribution<> Modulo100;
37
38extern uniform_int_distribution<> RandomPlayerNameInternalCharacter;
39
40extern uniform_int_distribution<> GameModePRNG;
41extern uniform_int_distribution<> GameLevelPRNG;
42extern uniform_int_distribution<> SpeedPRNG;
43extern uniform_int_distribution<> VirusLevelPRNG;
44extern uniform_int_distribution<> ScorePRNG;
45extern uniform_int_distribution<> TimePRNG;
46extern uniform_int_distribution<> FrameCountPRNG;