mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-06-25 06:33:19 +00:00
no darkening in rotated hyperboles
This commit is contained in:
parent
459619ff35
commit
fd9d6208f2
|
@ -1432,6 +1432,13 @@ void drawqueue() {
|
||||||
spherespecial = sphereflipped() ? 1 : -1;
|
spherespecial = sphereflipped() ? 1 : -1;
|
||||||
current_display->set_projection(0, true);
|
current_display->set_projection(0, true);
|
||||||
|
|
||||||
|
if(pmodel == mdRotatedHyperboles) {
|
||||||
|
for(auto& ptd: ptds)
|
||||||
|
if(!among(ptd->prio, PPR::MOBILE_ARROW, PPR::OUTCIRCLE, PPR::CIRCLE))
|
||||||
|
ptd->draw();
|
||||||
|
glflush();
|
||||||
|
}
|
||||||
|
else {
|
||||||
reverse_side_priorities();
|
reverse_side_priorities();
|
||||||
for(int i=ptds.size()-1; i>=0; i--)
|
for(int i=ptds.size()-1; i>=0; i--)
|
||||||
if(!among(ptds[i]->prio, PPR::MOBILE_ARROW, PPR::OUTCIRCLE, PPR::CIRCLE))
|
if(!among(ptds[i]->prio, PPR::MOBILE_ARROW, PPR::OUTCIRCLE, PPR::CIRCLE))
|
||||||
|
@ -1439,6 +1446,8 @@ void drawqueue() {
|
||||||
|
|
||||||
glflush();
|
glflush();
|
||||||
reverse_side_priorities();
|
reverse_side_priorities();
|
||||||
|
}
|
||||||
|
|
||||||
spherespecial *= -1;
|
spherespecial *= -1;
|
||||||
spherephase = 1;
|
spherephase = 1;
|
||||||
current_display->set_projection(0, true);
|
current_display->set_projection(0, true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user