Permalink
Cannot retrieve contributors at this time
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?
f5OSG_Project_Witch_Hunt/miles.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
123 lines (107 sloc)
3.46 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "miles.h" | |
using namespace std; | |
void Miles::CLS() { | |
system("clear"); | |
} | |
void Miles::pausing(){ | |
// Use this when nothing else will be printed | |
cout << "\nPress ENTER to continue..."; | |
cin.ignore(); | |
} | |
void Miles::interlude() { | |
cout << "\nAhem..!" << endl; | |
sleep(2); | |
Miles::CLS(); | |
cout << "Once upon a time, th-" << endl; | |
sleep(3); | |
Miles::CLS(); | |
cout << "Huh... What's that..?" << endl; | |
sleep(3); | |
Miles::CLS(); | |
cout << "That's not how this story goes..?" << endl; | |
sleep(2); | |
cout << "But I thou-" << endl; | |
sleep(3); | |
Miles::CLS(); | |
cout << "Fine! Always sucking the joy out of everything!" << endl; | |
sleep(2); | |
Miles::CLS(); | |
cout << "\n Square Enix Presents" << endl; | |
sleep(2); | |
cout << " Distribution by Sony Interactive Entertainment" << endl; | |
sleep(2); | |
cout << " An F5 Game" << endl; | |
sleep(2); | |
Miles::CLS(); | |
cout << " Second Braves" << endl; | |
cout << " - Chapter 1: When the War Bell Tolls -" << endl; | |
} | |
void Miles::pressAnyKey(void) { | |
// Use this when something else will be printed | |
cout << "\nPress ENTER to continue..."; | |
cin.get(); | |
cin.ignore(); | |
Miles::CLS(); | |
} | |
int Miles::story1(string Player) { | |
Miles::CLS(); | |
cout << " dong..." << endl; | |
sleep(2); | |
cout << " Dong!" << endl; | |
sleep(2); | |
cout << " DONG!!!" << endl; | |
sleep(1); | |
cout << Player << ": Arghhhhh.... just a f-few more minutes... zzz" << endl; | |
sleep(2); | |
cout << "Hmm, it seems you're unaware of what those bells mean." << endl; | |
pressAnyKey(); | |
cout << " dong..." << endl; | |
sleep(2); | |
cout << " Dong!" << endl; | |
sleep(2); | |
cout << " DONG!!!" << endl; | |
sleep(1); | |
cout << Player << ": Huh!?" << endl; | |
sleep(2); | |
cout << "You've woken from your slumber, yet to realize what is going on!" << endl; | |
pressAnyKey(); | |
cout << Player << ": T-Those are the war bells!!" << endl; | |
sleep(2); | |
cout << "You quickly rush out of bed to the window of your room and see nothing but chaos..." << endl; | |
sleep(2); | |
cout << "The fire consumes the nearby houses, all the vegetation became dust," << endl; | |
sleep(2); | |
cout << "Your neighbours are screaming and pleading for mercy, but the creatures don't seem to understand," << endl; | |
sleep(2); | |
cout << "What used to be a town of peace, is now a town of massacre." << endl; | |
sleep(1); | |
// cout << "I wonder how you even managed to //sleep through all that." << endl; | |
sleep(2); | |
cout << Player << ": I've got to help them..!" << endl; | |
sleep(1); | |
pressAnyKey(); | |
cout << "You put on a light armour and run downstairs to the door..." << endl; | |
sleep(2); | |
cout << "HEY!! Where are you going? It's dangerous to go alone, why don't you arm yourself first?" << endl; | |
sleep(2); | |
} | |
int Miles::story2(string Player) { | |
Miles::CLS(); | |
cout << "Now you're ready for action!" << endl; | |
sleep(2); | |
cout << "You open the door an-" << endl; | |
sleep(2); | |
cout << "*slash and groans*" << endl; | |
sleep(1); | |
cout << "HOLLY HELL! Someone has just been murdered on your door." << endl; | |
sleep(2); | |
cout << "Luckily, it's just Gilbert, he stole from you last week, remember?" << endl; | |
sleep(2); | |
cout << "Still, the creature in front of you stares endlessly with blood-lusting eyes..." << endl; | |
sleep(2); | |
cout << "Hope you can fight..!" << endl; | |
sleep(2); | |
cout << Player << ": Ohh, I'll make it regret." << endl; | |
sleep(2); | |
cout << "That's the spirit! Get ready for a battle!!" << endl; | |
} |