Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#include <iostream>
#include <random>
#include <vector>
#include <time.h>
using namespace std;
/* copy of the name generator for the character (thx oli) */
string name_creation()
{
/** array of length 42 created with 42 different names in there **/
string names[42] = {"Angel Slayer","Whitewash","Cyclone","Oblique","Red Saint","Vex","Discord","Inferno","Safari","Recluse","Moors Stalker","Ditch","Nashville Psycho","Optic Nerve","Blink","Shivers","Blackout","Patch Galactic","Buttons","Killer Criminal","Static","Rundown","Limerick","Drift","Dust","Snake","Mockingbird","Aberration","Frenzy","Whistler","Voodoo","Mutilator","Tempus","West End Bandit","Rampage","Venom","Genesis","Bedlam","Omega","Crimson","Felon","Glitch"};
/** sets the random seed to be based on the current time **/
srand (time(NULL));
/** rndm is equal to a random number between this need chagnes probs i assume its shoulkd be 41 but idk **/
int rndm = rand() % 41;
/** returns a random name from the array **/
return names[rndm];
}