1
Fork 0
mirror of https://github.com/Steffo99/iiiiil-gioco.git synced 2024-11-24 00:44:19 +00:00

\n invece che endl

This commit is contained in:
Steffo 2016-01-21 21:02:17 +01:00
parent 7ae1a2852c
commit 941ffbf313

View file

@ -733,17 +733,17 @@ int main()
srand (time(NULL));
int titolo=0, cursorpos=1;
string splash[10]{"Ora con ben 2 colori!", "E' come skyrim, ma con una bella grafica!", "Quasi senza bug", "Potrebbe contenere canditi", "Ora in grado di generare fame", "I colori hanno ben 1 sfumatura", "I SEE YOU", "WOLOLO", "AUTOMAAAAAH", "Stai davvero giocando a sta roba? WOW!"};
cout << " "<<endl;
cout << " 000000" << endl;
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000"<< endl;
cout << " 00 000 00 000000 000000 000000"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << '\n';
cout << " 000000\n";
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000\n";
cout << " 00 000 00 000000 000000 000000\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
titolo= rand()%10;
cout << "\n\n Citazione all'avvio: "<< splash[titolo] << endl;
cout << "\n\n\n\n Premi INVIO per entrare nel menu!" << endl;
cout << "\n\n Citazione all'avvio: "<< splash[titolo] << '\n';
cout << "\n\n\n\n Premi INVIO per entrare nel menu!" << '\n';
getch();
while(true)
{
@ -751,29 +751,29 @@ int main()
system("cls");
if(cursorpos==1)
{
cout << " " << endl;
cout << " 000000" << endl;
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000"<< endl;
cout << " 00 000 00 000000 000000 000000"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << "\n\n > NUOVA PARTITA <"<<endl;
cout << "\n OPZIONI"<<endl;
cout << '\n';
cout << " 000000\n";
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000\n";
cout << " 00 000 00 000000 000000 000000\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
cout << "\n\n > NUOVA PARTITA <\n";
cout << "\n OPZIONI\n";
}
else if(cursorpos==2)
{
cout << " "<<endl;
cout << " 000000" << endl;
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000"<< endl;
cout << " 00 000 00 000000 000000 000000"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000"<< endl;
cout << "\n\n NUOVA PARTITA " << endl;
cout << "\n > OPZIONI <" << endl;
cout << " 000000 0000 0000 0000 0000 0000 000 000000 0000 000000 000000 000000\n";
cout << " 00 000 00 000000 000000 000000\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 00 0000 0000 0000 0000 0000 000 00 00 0000 00 00 000 00 00\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
cout << " 000000 0000 0000 0000 0000 0000 000000 000000 0000 000000 000000 000000\n";
cout << "\n\n NUOVA PARTITA \n";
cout << "\n > OPZIONI <\n";
}
selection = getch();
if(selection==72)