mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-04 07:43:02 +00:00 
			
		
		
		
	commandline options -smart and -smartlimit
This commit is contained in:
		@@ -560,6 +560,15 @@ int read_cheat_args() {
 | 
				
			|||||||
    PHASEFROM(2); cheat();
 | 
					    PHASEFROM(2); cheat();
 | 
				
			||||||
    shift(); sightrange_bonus = genrange_bonus = gamerange_bonus = argi();
 | 
					    shift(); sightrange_bonus = genrange_bonus = gamerange_bonus = argi();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					  else if(argis("-smart")) {
 | 
				
			||||||
 | 
					    PHASEFROM(2); cheat();
 | 
				
			||||||
 | 
					    vid.use_smart_range = 2;
 | 
				
			||||||
 | 
					    shift(); vid.smart_range_detail = argf();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  else if(argis("-smartlimit")) {
 | 
				
			||||||
 | 
					    PHASEFROM(2); 
 | 
				
			||||||
 | 
					    shift(); vid.cells_drawn_limit = argi();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  else if(argis("-quantum")) {
 | 
					  else if(argis("-quantum")) {
 | 
				
			||||||
    cheat();
 | 
					    cheat();
 | 
				
			||||||
    quantum = true;
 | 
					    quantum = true;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user