1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-08-29 08:52:19 +00:00

fixed the player Ratlings not having tails

This commit is contained in:
Zeno Rogue 2025-08-18 10:06:14 +02:00
parent 6278851df5
commit 50c01c2857
3 changed files with 5 additions and 1 deletions

View File

@ -3661,7 +3661,7 @@ EX void showCustomizeChar() {
if(id != pshRogue) dialog::addColorItem(XLAT("dress color"), cs.dresscolor, 'd');
else dialog::addBreak(100);
if(cs.charid == 3) dialog::addColorItem(XLAT("dress color II"), cs.dresscolor2, 'f');
if(cs.charid == 3 || id == pshRatling) dialog::addColorItem(XLAT("dress color II"), cs.dresscolor2, 'f');
else dialog::addBreak(100);
dialog::addColorItem(XLAT("movement color"), cs.uicolor, 'u');

View File

@ -525,6 +525,7 @@ EX bool drawMonsterType(eMonster m, cell *where, const shiftmatrix& V1, color_t
queuepoly(VHEAD, cgi.shSkullEyes, darkena(0x202020, 0, 0xFF));
}
else queuepoly(VHEAD, cgi.shPFace, facecolor);
if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, darkena(col, 0, 0xFF));
humanoid_eyes(V, evil ? 0x0000C0FF : 0x00C000FF, facecolor);
return true;
}

View File

@ -421,6 +421,8 @@ EX void drawPlayer_humanoid(eMonster m, cell *where, const shiftmatrix& V, color
queuepoly(VBODY * VBS, body, fc(0, cs.skincolor, 0));
if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, fc(100, cs.dresscolor2, 5));
if(cs.charid&1)
queuepoly(VBODY1 * VBS, cgi.shFemaleDress, fc(500, cs.dresscolor, 4));
@ -693,6 +695,7 @@ EX void drawMimic(eMonster m, cell *where, const shiftmatrix& V, color_t col, do
queuepoly(VBODY2 * VBS, cgi.shPrinceDress, darkena(col, 1, 0XC0));
if(cs.charid == 3)
queuepoly(VBODY2 * VBS, cgi.shPrincessDress, darkena(col, 1, 0XC0));
if(id == pshRatling) queuepoly(VLEG, cgi.shRatTail, darkena(col, 1, 0xC0));
humanoid_eyes(V, 0xFF, darkena(col, 0, 0x40));
}