1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 10:27:45 +00:00

ads-game:: duality modes for AdS

This commit is contained in:
Zeno Rogue
2022-10-15 14:23:53 +02:00
parent 9121eb7d72
commit 0ddc6c722f
3 changed files with 26 additions and 4 deletions

View File

@@ -23,6 +23,8 @@ void switch_pause() {
bool hv_klein = false;
int use_duality = 2;
transmatrix Duality;
void switch_underlying() {
@@ -69,8 +71,8 @@ void switch_underlying() {
nomap = false;
nonisotropic_weird_transforms = true;
NLP = Id;
/* Duality = Id;
for(int a=0; a<4; a++) for(int b=0; b<4; b++) Duality[a][b] = (a^2) == b; */
Duality = Id;
for(int a=0; a<4; a++) for(int b=0; b<4; b++) Duality[a][b] = (a^2) == b;
}
else if(hybri) {