1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-24 06:03:23 +00:00

3d:: parrots and seeps now ignore depth testing

This commit is contained in:
Zeno Rogue 2019-03-04 17:59:20 +01:00
parent a94aa81edd
commit d3f17858e9
2 changed files with 5 additions and 2 deletions

View File

@ -1323,7 +1323,10 @@ bool drawMonsterType(eMonster m, cell *where, const transmatrix& V, color_t col,
m == moTameBomberbird || m == moWindCrow || m == moTameBomberbirdMoved ||
m == moSandBird || m == moAcidBird) {
ShadowV(V, shEagle);
queuepoly(VBIRD, shEagle, darkena(col, 0, 0xFF));
if(m == moParrot && DIM == 3)
queuepolyat(VBIRD, shEagle, darkena(col, 0, 0xFF), PPR::SUPERLINE);
else
queuepoly(VBIRD, shEagle, darkena(col, 0, 0xFF));
}
else if(among(m, moSparrowhawk, moWestHawk)) {
ShadowV(V, shHawk);

View File

@ -2658,7 +2658,7 @@ void buildpolys() {
bshape(shKrakenEye2, PPR::ONTENTACLE_EYES2, ksc, 249);
// monsters
bshape(shGhost, PPR::MONSTER_BODY, scalefactor, 69);
bshape(shGhost, DIM == 3 ? PPR::SUPERLINE : PPR::MONSTER_BODY, scalefactor, 69);
bshape(shMiniGhost, PPR::MONSTER_BODY, scalefactor/3, 69);
bshape(shGargoyleWings, PPR::MONSTER_CLOAK, scalefactor, 70);
bshape(shGargoyleBody, PPR::MONSTER_BODY, scalefactor, 71);