mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-09-10 06:16:00 +00:00
3D graphics in 2D (first commit)
This commit is contained in:
@@ -359,7 +359,7 @@ void extendBarrier(cell *c) {
|
||||
}
|
||||
|
||||
if(c->barleft == NOWALLSEP) {
|
||||
if(DIM == 3) extend3D(c);
|
||||
if(WDIM == 3) extend3D(c);
|
||||
else extendNowall(c);
|
||||
return;
|
||||
}
|
||||
@@ -819,9 +819,9 @@ bool buildBarrierNowall(cell *c, eLand l2, int forced_dir) {
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
// 3D binary tilings create walls using their own methods
|
||||
if(DIM == 3 && binarytiling) return false;
|
||||
if(WDIM == 3 && binarytiling) return false;
|
||||
|
||||
if(DIM == 3 && hyperbolic) return buildBarrier3D(c, l2, forced_dir);
|
||||
if(WDIM == 3 && hyperbolic) return buildBarrier3D(c, l2, forced_dir);
|
||||
#endif
|
||||
|
||||
if(c->land == laNone) {
|
||||
|
Reference in New Issue
Block a user