mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
rogueviz/ads:: adjusted to changes
This commit is contained in:
parent
a84596a355
commit
8e17338585
@ -2,7 +2,7 @@
|
||||
/* Compile with mymake -O3 rogueviz/ads/ads-game */
|
||||
/* Best run with -ads-menu; more detailed options are available too */
|
||||
|
||||
#define VER_RH "0.1"
|
||||
#define VER_RH "0.2"
|
||||
|
||||
#ifdef RELHELL
|
||||
|
||||
@ -20,7 +20,6 @@
|
||||
#define CAP_ARCM 0
|
||||
#define CAP_HISTORY 0
|
||||
#define CAP_STARTANIM 0
|
||||
#define CAP_VR 0
|
||||
#include "../hyper.cpp"
|
||||
|
||||
namespace rogueviz { std::vector<hr::reaction_t> cleanup; }
|
||||
|
@ -256,7 +256,7 @@ void view_footer() {
|
||||
void view_ads_game() {
|
||||
displayed.clear();
|
||||
|
||||
bool hv = hybri;
|
||||
bool hv = mhybrid;
|
||||
|
||||
hybrid::in_actual([&] {
|
||||
gen_budget = max_gen_per_frame;
|
||||
|
@ -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);
|
||||
|
@ -87,7 +87,7 @@ void switch_spacetime() {
|
||||
slr::range_z = 2;
|
||||
}
|
||||
|
||||
else if(hybri) {
|
||||
else if(mhybrid) {
|
||||
hybrid::switch_to_underlying();
|
||||
pmodel = mdDisk;
|
||||
pconf.scale = .95;
|
||||
|
Loading…
Reference in New Issue
Block a user