mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	args:: creaturescale and character selection
This commit is contained in:
		| @@ -2291,6 +2291,15 @@ EX int read_config_args() { | ||||
|   else if(argis("-tstep")) { | ||||
|     PHASEFROM(2); shift(); vid.texture_step = argi(); | ||||
|     } | ||||
|   else if(argis("-csc")) { | ||||
|     PHASEFROM(2); shift_arg_formula(vid.creature_scale); | ||||
|     } | ||||
|   else if(argis("-char")) { | ||||
|     auto& cs = vid.cs; | ||||
|     shift(); cs.charid = argi(); | ||||
|     cs.lefthanded = cs.charid >= 10; | ||||
|     cs.charid %= 10; | ||||
|     } | ||||
|   else return 1; | ||||
|   return 0; | ||||
|   } | ||||
|   | ||||
| @@ -2687,7 +2687,14 @@ int read_pattern_args() { | ||||
|       if(c == 't') ct = &nestcolors; | ||||
|       else if(c == 'd') ct = &distcolors; | ||||
|       else if(c == 'm') ct = &minecolors; | ||||
|       else if(c == 'E') { shift(); int d = argi(); shift(); expcolors[d] = arghex(); } | ||||
|       else if(c == 'E') { shift(); int d = argi(); shift(); expcolors[d] = arghex(); return 0; }       | ||||
|       else if(c == 'P') {  | ||||
|         shift(); int d = argi(); shift(); | ||||
|         color_t h = arghex(); | ||||
|         if(d >= 0 && d < 7) | ||||
|           ((color_t*)(&vid.cs.skincolor)) [d] = h; | ||||
|         return 0; | ||||
|         } | ||||
|       else ct = &(colortables[patterns::whichCanvas]); | ||||
|       shift(); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue