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

@ -971,6 +971,7 @@ void geometry_information::make_3d_models() {
make_paw_3d(shFrogFrontFoot, shFrogFrontLeg);
make_paw_3d(shFrogRearFoot, shFrogRearLeg);
make_paw_3d(shFrogJumpFoot, shFrogJumpLeg);
make_paw_3d(shTrylobiteFrontClaw, shTrylobiteFrontLeg);
make_paw_3d(shTrylobiteRearClaw, shTrylobiteRearLeg);
@ -1045,6 +1046,7 @@ void geometry_information::make_3d_models() {
disable(shFrogFrontLeg);
disable(shFrogRearLeg);
disable(shFrogRearLeg2);
disable(shFrogJumpLeg);
make_revolution_cut(shDragonSegment, 60, g);
make_revolution_cut(shDragonHead, 60, g);

View File

@ -251,7 +251,7 @@ hpcshape
shDodeca;
hpcshape shFrogRearFoot, shFrogFrontFoot, shFrogRearLeg, shFrogFrontLeg, shFrogRearLeg2, shFrogBody, shFrogEye, shFrogStripe, shFrogJumping;
hpcshape shFrogRearFoot, shFrogFrontFoot, shFrogRearLeg, shFrogFrontLeg, shFrogRearLeg2, shFrogBody, shFrogEye, shFrogStripe, shFrogJumpFoot, shFrogJumpLeg;
hpcshape_animated
shAnimatedEagle, shAnimatedTinyEagle, shAnimatedGadfly, shAnimatedHawk, shAnimatedButterfly,

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));

View File

@ -1449,7 +1449,8 @@ void geometry_information::prepare_shapes() {
bshape(shFrogBody, PPR::MONSTER_BODY, scalefactor, 398);
bshape(shFrogEye, PPR::MONSTER_EYE0, scalefactor, 399);
bshape(shFrogStripe, PPR::MONSTER_BODY, scalefactor, 400);
bshape(shFrogJumping, PPR::MONSTER_FOOT, scalefactor, 401);
bshape(shFrogJumpFoot, PPR::MONSTER_FOOT, scalefactor, 401);
bshape(shFrogJumpLeg, PPR::MONSTER_FOOT, scalefactor, 404);
bshape(shPBody, PPR::MONSTER_BODY, scalefactor, 85);
bshape(shYeti, PPR::MONSTER_BODY, scalefactor, 86);
@ -2421,13 +2422,15 @@ NEWSHAPE, 398, 1, 2, 0.235269, -0.0219059, 0.2179, -0.0439611, 0.184616, -0.05
NEWSHAPE, 399, 1, 1, 0.177618, -0.0331534, 0.168996, -0.0523637, 0.152309, -0.0606822, 0.132728, -0.0499149, 0.149854, -0.0479865, 0.163994, -0.0441294,
// FrogStripe
NEWSHAPE, 400, 1, 1, 0.112683, 0.00559909, 0.11402, -0.0120863, 0.0547058, -0.000867709, -0.0150383, -0.00750922, -0.0719331, -0.0160414, -0.116638, -0.0101638, -0.150076, 0.00444075, -0.103649, -0.00207948, -0.0672217, -0.0029079, -0.0157604, 0.0115838, 0.0556112, 0.0155224,
// FrogJump
NEWSHAPE, 401, 1, 1, -0.115189, -0.0126931, -0.0904924, -0.0376147, -0.0799303, -0.0595469, -0.0782363, -0.0830113, -0.124375, -0.101375, -0.223649, -0.148568, -0.336201, -0.0960414, -0.40962, -0.111762, -0.373842, -0.0766156, -0.42371, -0.0630189, -0.364367, -0.0456951, -0.404889, 0.00247159, -0.337346, -0.0402599, -0.23663, -0.0900897, -0.182658, -0.0242999, -0.155726, -0.00841261,
// FrogJumpFoot
NEWSHAPE, 401, 1, 1, -0.316715, 0.0186766, -0.337136, 0.0210977, -0.435618, 0.0294705, -0.474167, 0.0449562, -0.584903, 0.0422745, -0.54076, 0.0695507, -0.586094, 0.102555, -0.515377, 0.0868447, -0.509446, 0.0911336, -0.520893, 0.121425, -0.489691, 0.105285, -0.433545, 0.0592058, -0.326078, 0.0619885, -0.310272, 0.0559535, -0.304012, 0.0418404, -0.3055, 0.0305225,
// PikeBody
NEWSHAPE, 402, 1, 2, 0.350118, -0.00051488, 0.337085, 0.0154155, 0.321993, 0.0271746, 0.305376, 0.0317141, 0.284117, 0.0397866, 0.246749, 0.0421402, 0.213985, 0.0419876, 0.190278, 0.0434056, 0.142804, 0.0487746, 0.135815, 0.0764588, 0.122182, 0.0874884, 0.108588, 0.100545, 0.0798656, 0.110004, 0.0907803, 0.0646998, 0.0892314, 0.0496287, 0.054068, 0.0460579, 0.00800464, 0.0475276, -0.0190107, 0.0435245, -0.0325538, 0.0746232, -0.0496332, 0.0912448, -0.0682478, 0.0998626, -0.0702617, 0.100374, -0.062138, 0.0711581, -0.0590898, 0.0510777, -0.0721162, 0.0355573, -0.119958, 0.0316207, -0.191758, 0.0242221, -0.237792, 0.0197737, -0.3075, 0.0281406, -0.316055, 0.0215143, -0.250835, 0.0121863, -0.316053, 0.0210019, -0.318716, 0.0112729, -0.260266, 0.00508332, -0.318716, 0.0112729, -0.320322, 0.00512516,
// PikeEye
NEWSHAPE, 403, 1, 1, 0.26453, 0.0305227, 0.274541, 0.0290331, 0.280348, 0.0265056, 0.271875, 0.0213835,
NEWSHAPE
// FrogJumpLeg
NEWSHAPE, 404, 1, 1, -0.157104, 0.037552, -0.119742, 0.0232719, -0.0800179, 0.03, -0.0600636, 0.0582003, -0.0695215, 0.0851648, -0.0941826, 0.112117, -0.124214, 0.117626, -0.162927, 0.123278, -0.20065, 0.122779, -0.220489, 0.12271, -0.294104, 0.0895822, -0.341594, 0.0607798, -0.344169, 0.0476839, -0.336604, 0.0182726, -0.31669, 0.0111505, -0.296371, 0.0199419, -0.257868, 0.0376895, -0.219528, 0.0568778, -0.198186, 0.0609263,
NEWSHAPE, NEWSHAPE
};
}