1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-25 01:44:48 +00:00

colored Frog Jump Legs

This commit is contained in:
Zeno Rogue
2020-02-29 00:05:06 +01:00
parent 7121742d7c
commit 45bc731a5b
4 changed files with 14 additions and 7 deletions

View File

@@ -1434,8 +1434,10 @@ EX bool drawMonsterType(eMonster m, cell *where, const transmatrix& V1, color_t
color_t xcolor = darkena(0xFF0000, 1, 0xFF);
int alpha = (m == moPhaser ? 0xC0 : 0xFF);
if(footphase) {
queuepoly(VALEGS, cgi.shFrogJumping, darkena(col, 0, alpha));
queuepoly(VALEGS * Mirror, cgi.shFrogJumping, darkena(col, 0, alpha));
queuepoly(VL, cgi.shFrogJumpFoot, darkena(col, 0, alpha));
queuepoly(VL * Mirror, cgi.shFrogJumpFoot, darkena(col, 0, alpha));
queuepoly(VALEGS, cgi.shFrogJumpLeg, xcolor);
queuepoly(VALEGS * Mirror, cgi.shFrogJumpLeg, xcolor);
}
else {
queuepoly(VL, cgi.shFrogRearFoot, darkena(col, 0, alpha));