mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	CLI -prodlevel to specify an exact value
This commit is contained in:
		| @@ -3046,6 +3046,15 @@ EX namespace nisot { | |||||||
|       set_geometry(gProduct); |       set_geometry(gProduct); | ||||||
|       return 0; |       return 0; | ||||||
|       } |       } | ||||||
|  |     else if(argis("-prodlevel")) { | ||||||
|  |       /* specify an exact value for cgi.plevel */ | ||||||
|  |       stop_game(); | ||||||
|  |       vid.plevel_factor = 1; | ||||||
|  |       check_cgi(); cgi.prepare_basics(); | ||||||
|  |       shift(); vid.plevel_factor = argf() / cgi.plevel; | ||||||
|  |       check_cgi(); | ||||||
|  |       return 0; | ||||||
|  |       } | ||||||
|     else if(argis("-s2xe")) { |     else if(argis("-s2xe")) { | ||||||
|       PHASEFROM(2); |       PHASEFROM(2); | ||||||
|       shift(); s2xe::qrings = argi(); |       shift(); s2xe::qrings = argi(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue