1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 01:47:39 +00:00

args:: creaturescale and character selection

This commit is contained in:
Zeno Rogue
2019-08-17 13:51:33 +02:00
parent 96bf478482
commit 9dd131d00a
2 changed files with 17 additions and 1 deletions

View File

@@ -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();
}