1
0
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:
Zeno Rogue
2019-03-09 18:14:38 +01:00
parent 10223d33b9
commit c57679c79f
2 changed files with 31 additions and 4 deletions

View File

@@ -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);