mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	better mission screen in the peace/tutorial/autocheat mode
This commit is contained in:
		
							
								
								
									
										12
									
								
								quit.cpp
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								quit.cpp
									
									
									
									
									
								
							| @@ -313,7 +313,10 @@ void showMission() { | |||||||
|     XLAT("GAME OVER"),  |     XLAT("GAME OVER"),  | ||||||
|     0xC00000, 200, 100 |     0xC00000, 200, 100 | ||||||
|     ); |     ); | ||||||
|  |  | ||||||
|  |   if(!peace::on) | ||||||
|     dialog::addInfo(XLAT("Your score: %1", its(gold()))); |     dialog::addInfo(XLAT("Your score: %1", its(gold()))); | ||||||
|  |   if(!peace::on) | ||||||
|     dialog::addInfo(XLAT("Enemies killed: %1", its(tkills()))); |     dialog::addInfo(XLAT("Enemies killed: %1", its(tkills()))); | ||||||
|  |  | ||||||
| #if CAP_TOUR | #if CAP_TOUR | ||||||
| @@ -324,7 +327,9 @@ void showMission() { | |||||||
|     dialog::addInfo(XLAT("CONGRATULATIONS!"), iinf[itOrbYendor].color); |     dialog::addInfo(XLAT("CONGRATULATIONS!"), iinf[itOrbYendor].color); | ||||||
|     } |     } | ||||||
|   else { |   else { | ||||||
|     if(princess::challenge)  |     if(tour::on) | ||||||
|  |       ; | ||||||
|  |     else if(princess::challenge)  | ||||||
|       dialog::addInfo(XLAT("Follow the Mouse and escape with %the1!", moPrincess)); |       dialog::addInfo(XLAT("Follow the Mouse and escape with %the1!", moPrincess)); | ||||||
|     else if(gold() < R30) |     else if(gold() < R30) | ||||||
|       dialog::addInfo(XLAT("Collect %1 $$$ to access more worlds", its(R30))); |       dialog::addInfo(XLAT("Collect %1 $$$ to access more worlds", its(R30))); | ||||||
| @@ -351,6 +356,7 @@ void showMission() { | |||||||
| #if CAP_TOUR | #if CAP_TOUR | ||||||
|   else if(tour::on) ; |   else if(tour::on) ; | ||||||
| #endif | #endif | ||||||
|  |   else if(peace::on) ; | ||||||
|   else if(tkills() < R100) |   else if(tkills() < R100) | ||||||
|     dialog::addInfo(XLAT("Defeat %1 enemies to access the Graveyard", its(R100))); |     dialog::addInfo(XLAT("Defeat %1 enemies to access the Graveyard", its(R100))); | ||||||
|   else if(kills[moVizier] == 0 && (items[itFernFlower] < U5 || items[itGold] < U5)) |   else if(kills[moVizier] == 0 && (items[itFernFlower] < U5 || items[itGold] < U5)) | ||||||
| @@ -372,10 +378,10 @@ void showMission() { | |||||||
|       dialog::addInfo(XLAT("Hyperstone Quest completed!"), iinf[itHyperstone].color); |       dialog::addInfo(XLAT("Hyperstone Quest completed!"), iinf[itHyperstone].color); | ||||||
|     } |     } | ||||||
|   else dialog::addInfo(XLAT("Some lands unlock at specific treasures or kills")); |   else dialog::addInfo(XLAT("Some lands unlock at specific treasures or kills")); | ||||||
|   if(cheater) { |   if(cheater && !autocheat) { | ||||||
|     dialog::addInfo(XLAT("you have cheated %1 times", its(cheater)), 0xFF2020); |     dialog::addInfo(XLAT("you have cheated %1 times", its(cheater)), 0xFF2020); | ||||||
|     } |     } | ||||||
|   if(!cheater) { |   else { | ||||||
|     dialog::addInfo(timeline(), 0xC0C0C0); |     dialog::addInfo(timeline(), 0xC0C0C0); | ||||||
|     } |     } | ||||||
|    |    | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue