mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
Add orb bodies for Orb of Slashing & Orb of the Frog.
This commit is contained in:
parent
b71b34e734
commit
1f842704ec
@ -276,7 +276,7 @@ hpcshape
|
|||||||
shWolf1, shWolf2, shWolf3,
|
shWolf1, shWolf2, shWolf3,
|
||||||
shRatEye1, shRatEye2, shRatEye3,
|
shRatEye1, shRatEye2, shRatEye3,
|
||||||
shDogStripes,
|
shDogStripes,
|
||||||
shPBody, shSmallPBody, shPSword, shPKnife,
|
shPBody, shSmallPBody, shPSword, shSmallPSword, shPKnife,
|
||||||
shFerocityM, shFerocityF,
|
shFerocityM, shFerocityF,
|
||||||
shHumanFoot, shHumanLeg, shHumanGroin, shHumanNeck, shSkeletalFoot, shYetiFoot,
|
shHumanFoot, shHumanLeg, shHumanGroin, shHumanNeck, shSkeletalFoot, shYetiFoot,
|
||||||
shMagicSword, shMagicShovel, shSeaTentacle, shKrakenHead, shKrakenEye, shKrakenEye2,
|
shMagicSword, shMagicShovel, shSeaTentacle, shKrakenHead, shKrakenEye, shKrakenEye2,
|
||||||
@ -339,7 +339,7 @@ hpcshape
|
|||||||
|
|
||||||
shDodeca;
|
shDodeca;
|
||||||
|
|
||||||
hpcshape shFrogRearFoot, shFrogFrontFoot, shFrogRearLeg, shFrogFrontLeg, shFrogRearLeg2, shFrogBody, shFrogEye, shFrogStripe, shFrogJumpFoot, shFrogJumpLeg;
|
hpcshape shFrogRearFoot, shFrogFrontFoot, shFrogRearLeg, shFrogFrontLeg, shFrogRearLeg2, shFrogBody, shFrogEye, shFrogStripe, shFrogJumpFoot, shFrogJumpLeg, shSmallFrogRearFoot, shSmallFrogFrontFoot, shSmallFrogRearLeg, shSmallFrogFrontLeg, shSmallFrogRearLeg2, shSmallFrogBody;
|
||||||
|
|
||||||
hpcshape_animated
|
hpcshape_animated
|
||||||
shAnimatedEagle, shAnimatedTinyEagle, shAnimatedGadfly, shAnimatedHawk, shAnimatedButterfly,
|
shAnimatedEagle, shAnimatedTinyEagle, shAnimatedGadfly, shAnimatedHawk, shAnimatedButterfly,
|
||||||
|
16
graph.cpp
16
graph.cpp
@ -1061,10 +1061,26 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int
|
|||||||
if (i>=5 && i<=7)
|
if (i>=5 && i<=7)
|
||||||
queuepolyat(Vit*Mirror, cgi.shTortoise[i][2], dark, prio);
|
queuepolyat(Vit*Mirror, cgi.shTortoise[i][2], dark, prio);
|
||||||
}
|
}
|
||||||
|
else if (it == itOrbFrog) {
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogBody, dark, prio);
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogRearFoot, dark, prio);
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogRearLeg, dark, prio);
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogRearLeg2, dark, prio);
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogFrontFoot, dark, prio);
|
||||||
|
queuepolyat(Vit, cgi.shSmallFrogFrontLeg, dark, prio);
|
||||||
|
queuepolyat(Vit*Mirror, cgi.shSmallFrogRearFoot, dark, prio);
|
||||||
|
queuepolyat(Vit*Mirror, cgi.shSmallFrogRearLeg, dark, prio);
|
||||||
|
queuepolyat(Vit*Mirror, cgi.shSmallFrogRearLeg2, dark, prio);
|
||||||
|
queuepolyat(Vit*Mirror, cgi.shSmallFrogFrontFoot, dark, prio);
|
||||||
|
queuepolyat(Vit*Mirror, cgi.shSmallFrogFrontLeg, dark, prio);
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
auto shape = (it == itOrbFriend) ? cgi.shTinyBird :
|
auto shape = (it == itOrbFriend) ? cgi.shTinyBird :
|
||||||
|
(it == itOrbSide1) ? cgi.shSmallPSword :
|
||||||
cgi.shDisk;
|
cgi.shDisk;
|
||||||
queuepolyat(Vit, shape, dark, prio);
|
queuepolyat(Vit, shape, dark, prio);
|
||||||
|
if (it == itOrbSide1)
|
||||||
|
queuepolyat(Vit*Mirror, shape, dark, prio);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1348,6 +1348,12 @@ void geometry_information::prepare_shapes() {
|
|||||||
bshape(shFrogFrontLeg, PPR::MONSTER_LEG, scalefactor, 396);
|
bshape(shFrogFrontLeg, PPR::MONSTER_LEG, scalefactor, 396);
|
||||||
bshape(shFrogRearLeg2, PPR::MONSTER_LEG, scalefactor, 397);
|
bshape(shFrogRearLeg2, PPR::MONSTER_LEG, scalefactor, 397);
|
||||||
bshape(shFrogBody, PPR::MONSTER_BODY, scalefactor, 398);
|
bshape(shFrogBody, PPR::MONSTER_BODY, scalefactor, 398);
|
||||||
|
bshape(shSmallFrogRearFoot, PPR::MONSTER_FOOT, scalefactor/2, 393);
|
||||||
|
bshape(shSmallFrogFrontFoot, PPR::MONSTER_FOOT, scalefactor/2, 394);
|
||||||
|
bshape(shSmallFrogRearLeg, PPR::MONSTER_LEG, scalefactor/2, 395);
|
||||||
|
bshape(shSmallFrogFrontLeg, PPR::MONSTER_LEG, scalefactor/2, 396);
|
||||||
|
bshape(shSmallFrogRearLeg2, PPR::MONSTER_LEG, scalefactor/2, 397);
|
||||||
|
bshape(shSmallFrogBody, PPR::MONSTER_BODY, scalefactor/2, 398);
|
||||||
bshape(shFrogEye, PPR::MONSTER_EYE0, scalefactor, 399);
|
bshape(shFrogEye, PPR::MONSTER_EYE0, scalefactor, 399);
|
||||||
bshape(shFrogStripe, PPR::MONSTER_BODY, scalefactor, 400);
|
bshape(shFrogStripe, PPR::MONSTER_BODY, scalefactor, 400);
|
||||||
bshape(shFrogJumpFoot, PPR::MONSTER_FOOT, scalefactor, 401);
|
bshape(shFrogJumpFoot, PPR::MONSTER_FOOT, scalefactor, 401);
|
||||||
@ -1357,6 +1363,7 @@ void geometry_information::prepare_shapes() {
|
|||||||
bshape(shSmallPBody, PPR::MONSTER_BODY, scalefactor/2, 85);
|
bshape(shSmallPBody, PPR::MONSTER_BODY, scalefactor/2, 85);
|
||||||
bshape(shYeti, PPR::MONSTER_BODY, scalefactor, 86);
|
bshape(shYeti, PPR::MONSTER_BODY, scalefactor, 86);
|
||||||
bshape(shPSword, PPR::MONSTER_WPN, scalefactor, 90);
|
bshape(shPSword, PPR::MONSTER_WPN, scalefactor, 90);
|
||||||
|
bshape(shSmallPSword, PPR::MONSTER_WPN, scalefactor/2, 90);
|
||||||
bshape(shFerocityM, PPR::MONSTER_WPN, scalefactor, 361);
|
bshape(shFerocityM, PPR::MONSTER_WPN, scalefactor, 361);
|
||||||
bshape(shFerocityF, PPR::MONSTER_WPN, scalefactor, 362);
|
bshape(shFerocityF, PPR::MONSTER_WPN, scalefactor, 362);
|
||||||
bshape(shPKnife, PPR::MONSTER_WPN, scalefactor, 91);
|
bshape(shPKnife, PPR::MONSTER_WPN, scalefactor, 91);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user