mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-07 21:06:00 +00:00
CAP_POLY part 1
This commit is contained in:
@@ -214,8 +214,13 @@ void drawArrowTraps() {
|
||||
try {
|
||||
transmatrix& t0 = gmatrix.at(r[0]);
|
||||
transmatrix& t1 = gmatrix.at(r[4]);
|
||||
ignore(t0);
|
||||
ignore(t1);
|
||||
|
||||
#if CAP_QUEUE
|
||||
queueline(tC0(t0), tC0(t1), 0xFF0000FF, 4 + vid.linequality, PPR::ITEM);
|
||||
#endif
|
||||
#if CAP_POLY
|
||||
if((c->wparam & 7) == 3 && !shmup::on) {
|
||||
// queueline(t0 * randomPointIn(r[0]->type), t1 * randomPointIn(r[1]->type), 0xFFFFFFFF, 4, PPR::ITEM);
|
||||
int tt = int(fractick(64) * 401);
|
||||
@@ -228,6 +233,7 @@ void drawArrowTraps() {
|
||||
queuepoly(tpartial * ypush(.05), shTrapArrow, 0xFFFFFFFF);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
catch(out_of_range&) {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user