mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-29 13:07:40 +00:00 
			
		
		
		
	gp:: added -gph (better -gp)
This commit is contained in:
		| @@ -1252,6 +1252,12 @@ int read_geom_args() { | ||||
|     shift(); gp::param.second = argi(); | ||||
|     set_variation(eVariation::goldberg); | ||||
|     } | ||||
|   else if(argis("-gph")) { | ||||
|     PHASEFROM(2); | ||||
|     shift(); int x = argi(); | ||||
|     shift(); int y = argi(); | ||||
|     gp::whirl_set({x, y}); | ||||
|     } | ||||
|   else if(argis("-unrectified")) { | ||||
|     PHASEFROM(2); | ||||
|     set_variation(eVariation::unrectified); | ||||
|   | ||||
| @@ -761,7 +761,7 @@ EX namespace gp { | ||||
|     return eVariation::goldberg; | ||||
|     } | ||||
|    | ||||
|   void whirl_set(loc xy) { | ||||
|   EX void whirl_set(loc xy) { | ||||
|     xy = internal_representation(xy); | ||||
|     if(xy.second && xy.second != xy.first && nonorientable) { | ||||
|       addMessage(XLAT("This does not work in non-orientable geometries")); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue