mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
noGUI taken into account in more places
This commit is contained in:
parent
68e3d98f88
commit
e6be9231c9
@ -834,7 +834,7 @@ void geometry_information::make_shadow(hpcshape& sh) {
|
||||
}
|
||||
|
||||
void geometry_information::make_3d_models() {
|
||||
if(GDIM == 2) return;
|
||||
if(GDIM == 2 || noGUI) return;
|
||||
eyepos = WDIM == 2 ? 0.875 : 0.925;
|
||||
DEBBI(DF_POLY, ("make_3d_models"));
|
||||
shcenter = C0;
|
||||
|
@ -1069,6 +1069,7 @@ void geometry_information::make_floor_textures_here() {
|
||||
}
|
||||
|
||||
EX void make_floor_textures() {
|
||||
if(noGUI || !vid.usingGL) return;
|
||||
DEBBI(DF_POLY, ("make_floor_textures"));
|
||||
dynamicval<eGeometry> g(geometry, gEuclidSquare);
|
||||
dynamicval<eModel> gm(pmodel, mdDisk);
|
||||
|
@ -59,6 +59,8 @@ eGeometry last_geometry;
|
||||
|
||||
/** is the raycaster available? */
|
||||
EX bool available() {
|
||||
if(noGUI) return false;
|
||||
if(!vid.usingGL) return false;
|
||||
if(WDIM == 2) return false;
|
||||
if(hyperbolic && pmodel == mdPerspective && !penrose)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user