mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-03-20 03:49:43 +00:00
3d:: mimics (mirrors not generated correctly yet)
This commit is contained in:
16
complex.cpp
16
complex.cpp
@@ -1196,6 +1196,14 @@ namespace mirror {
|
||||
cw.mirrored = !cw.mirrored;
|
||||
cell *c = cw.at;
|
||||
|
||||
#if MAXMDIM >= 4
|
||||
if(DIM == 3 && !binarytiling && shmup::on) {
|
||||
for(int i=0; i<cw.at->type; i++)
|
||||
createMirror(cw + i + wstep - i, cpid);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if CAP_GP
|
||||
if(GOLDBERG) {
|
||||
for(int i=0; i<cw.at->type; i++) {
|
||||
@@ -1219,6 +1227,13 @@ namespace mirror {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#if MAXMDIM >= 4
|
||||
if(DIM == 3 && !binarytiling && shmup::on) {
|
||||
for(int i=0; i<cw.at->type; i++)
|
||||
createMirror(cw + i + wstep - i, cpid);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#if CAP_GP
|
||||
if(GOLDBERG && !(S7 & 1)) {
|
||||
for(int i=0; i<cw.at->type; i++) {
|
||||
@@ -1258,7 +1273,6 @@ namespace mirror {
|
||||
}
|
||||
|
||||
void createHere(cellwalker cw, int cpid) {
|
||||
if(DIM == 3) return;
|
||||
if(!cw.at) return;
|
||||
if(cw.at->wall == waCloud)
|
||||
createMirages(cw, cpid);
|
||||
|
||||
Reference in New Issue
Block a user