1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-01 14:32:59 +00:00

rogueviz/ads:: adjusted to changes

This commit is contained in:
Zeno Rogue
2023-01-31 16:40:09 +01:00
parent a84596a355
commit 8e17338585
4 changed files with 7 additions and 8 deletions

View File

@@ -486,7 +486,7 @@ void view_ds_game() {
bool hv = hyperbolic;
bool hvrel = among(pmodel, mdRelPerspective, mdRelOrthogonal);
sphereflip = hv ? Id : sphereflipped() ? MirrorZ : Id;
sphereflip = hv ? Id : sphere_flipped ? MirrorZ : Id;
copyright_shown = "";
if(!hv) draw_textures();
@@ -569,7 +569,7 @@ void view_ds_game() {
for(auto p: rock.pts) curvepoint(p.h);
curvepoint_first();
color_t col = rock.col; part(col, 0) /= 2;
queuecurve(shiftless(sphereflip), ghost_color, 0, obj_prio[rock.type]).flags |= POLY_NO_FOG;
queuecurve(shiftless(sphereflip), ghost_color, 0, obj_prio[rock.type]).flags |= POLY_NO_FOG | POLY_FORCEWIDE;
}
if(view_proper_times && rock.type != oParticle) {
@@ -624,7 +624,7 @@ void view_ds_game() {
if(pmodel == mdPerspective) {
for(auto pt: pts) curvepoint(pt);
curvepoint_first();
queuecurve(shiftless(sphereflip), ghost_color, 0, PPR::MONSTER_FOOT).flags |= POLY_NO_FOG;
queuecurve(shiftless(sphereflip), ghost_color, 0, PPR::MONSTER_FOOT).flags |= POLY_NO_FOG | POLY_FORCEWIDE;
}
if(view_proper_times) {
@@ -646,7 +646,7 @@ void view_ds_game() {
curvepoint(ds_cross0(at1).h);
}
curvepoint_first();
queuecurve(shiftless(sphereflip * spin(ang*degree)), ghost_color, 0, PPR::MONSTER_HAIR).flags |= POLY_NO_FOG;
queuecurve(shiftless(sphereflip * spin(ang*degree)), ghost_color, 0, PPR::MONSTER_HAIR).flags |= POLY_NO_FOG | POLY_FORCEWIDE;
}
else {
queuepolyat(shiftless(sphereflip * spin(ang*degree)), make_shape(), shipcolor, PPR::MONSTER_HAIR);