mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-31 19:29:18 +00:00
auto-increase texture step in 2D ideal
This commit is contained in:
parent
2c79a6aeff
commit
e7a4c645b8
@ -912,6 +912,8 @@ EX void switch_always3() {
|
||||
if(pmodel == mdDisk) pmodel = mdPerspective;
|
||||
swapmatrix(View);
|
||||
callhooks(hooks_swapdim);
|
||||
if(cgflags & qIDEAL && vid.texture_step < 32)
|
||||
vid.texture_step = 32;
|
||||
#if CAP_RACING
|
||||
racing::player_relative = true;
|
||||
#endif
|
||||
|
@ -1290,6 +1290,7 @@ EX void set_geometry(eGeometry target) {
|
||||
variation = eVariation::pure;
|
||||
if(was_default) pmodel = default_model();
|
||||
if(nonisotropic && old_DIM == 2 && vid.texture_step < 4) vid.texture_step = 4;
|
||||
if(WDIM == 2 && (cgflags & qIDEAL) && vid.always3 && vid.texture_step < 32) vid.texture_step = 32;
|
||||
if(prod) { pmodel = mdPerspective; if(vid.texture_step < 4) vid.texture_step = 4; }
|
||||
if(WDIM == 3 && (cgflags & qIDEAL) && vid.texture_step < 4) vid.texture_step = 4;
|
||||
if(sl2) nisot::geodesic_movement = true;
|
||||
|
Loading…
Reference in New Issue
Block a user