mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 23:50:27 +00:00
fixed some shapes in 3D (like Mine Mark)
This commit is contained in:
parent
a63fdc993f
commit
7b547a6a77
24
polygons.cpp
24
polygons.cpp
@ -353,44 +353,44 @@ void geometry_information::procedural_shapes() {
|
|||||||
// todo not shexf
|
// todo not shexf
|
||||||
|
|
||||||
bshape(shBigCarpet1, PPR::GFLOORa);
|
bshape(shBigCarpet1, PPR::GFLOORa);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*12, -zhexf*2.1) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12, -zhexf*2.1) * C0);
|
||||||
|
|
||||||
bshape(shBigCarpet2, PPR::GFLOORb);
|
bshape(shBigCarpet2, PPR::GFLOORb);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*12, -zhexf*1.9) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12, -zhexf*1.9) * C0);
|
||||||
|
|
||||||
bshape(shBigCarpet3, PPR::GFLOORc);
|
bshape(shBigCarpet3, PPR::GFLOORc);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*12*3, -zhexf*1.7) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12*3, -zhexf*1.7) * C0);
|
||||||
|
|
||||||
bshape(shBFloor[0], PPR::BFLOOR);
|
bshape(shBFloor[0], PPR::BFLOOR);
|
||||||
for(int t=0; t<=S6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.1) * C0);
|
for(int t=0; t<=SD6; t++) hpcpush(ddi(SD7 + t*S14, floorrad0*.1) * C0);
|
||||||
|
|
||||||
bshape(shBFloor[1], PPR::BFLOOR);
|
bshape(shBFloor[1], PPR::BFLOOR);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S12, floorrad1*.1) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12, floorrad1*.1) * C0);
|
||||||
|
|
||||||
bshape(shMineMark[0], PPR::MINEMARK);
|
bshape(shMineMark[0], PPR::MINEMARK);
|
||||||
for(int t=0; t<=S6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.1) * C0);
|
for(int t=0; t<=SD6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.1) * C0);
|
||||||
|
|
||||||
bshape(shMineMark[1], PPR::MINEMARK);
|
bshape(shMineMark[1], PPR::MINEMARK);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S12, floorrad1*.1) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12, floorrad1*.1) * C0);
|
||||||
|
|
||||||
bshape(shBigMineMark[0], PPR::MINEMARK);
|
bshape(shBigMineMark[0], PPR::MINEMARK);
|
||||||
for(int t=0; t<=S6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.15) * C0);
|
for(int t=0; t<=SD6; t++) hpcpush(ddi(S7 + t*S14, floorrad0*.15) * C0);
|
||||||
|
|
||||||
bshape(shBigMineMark[1], PPR::MINEMARK);
|
bshape(shBigMineMark[1], PPR::MINEMARK);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S12, floorrad1*.15) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S12, floorrad1*.15) * C0);
|
||||||
|
|
||||||
for(int d=0; d<2; d++) {
|
for(int d=0; d<2; d++) {
|
||||||
bshape(shSemiBFloor[d], PPR::BFLOOR);
|
bshape(shSemiBFloor[d], PPR::BFLOOR);
|
||||||
for(int t=0; t<=4; t++) hpcpush(ddi(S7 + (3+3*d+t%4)*S14, floorrad0*.1) * C0);
|
for(int t=0; t<=4; t++) hpcpush(ddi(SD7 + (3+3*d+t%4)*S14, floorrad0*.1) * C0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// walls etc
|
// walls etc
|
||||||
|
|
||||||
bshape(shGiantStar[1], PPR::GFLOORa);
|
bshape(shGiantStar[1], PPR::GFLOORa);
|
||||||
for(int t=0; t<=S7; t++) hpcpush(ddi(t*S36, -zhexf*2.4) * C0);
|
for(int t=0; t<=SD7; t++) hpcpush(ddi(t*S36, -zhexf*2.4) * C0);
|
||||||
|
|
||||||
bshape(shGiantStar[0], PPR::GFLOORa);
|
bshape(shGiantStar[0], PPR::GFLOORa);
|
||||||
for(int t=0; t<=S6; t++) {
|
for(int t=0; t<=SD6; t++) {
|
||||||
hpcpush(ddi(t*S14, -zhexf*2.4) * C0);
|
hpcpush(ddi(t*S14, -zhexf*2.4) * C0);
|
||||||
hpcpush(ddi(t*S14+S7, zhexf*1.5) * C0);
|
hpcpush(ddi(t*S14+S7, zhexf*1.5) * C0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user