1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-22 20:14:05 +00:00

improvements to patterns; codenumbers also display directions

This commit is contained in:
Zeno Rogue
2017-12-09 08:06:41 +01:00
parent 4fa764c175
commit 9933f373d2
10 changed files with 529 additions and 463 deletions

View File

@@ -7,7 +7,7 @@
// rules for the emeraldvalues of heptagons.
int emerald_heptagon(int parent, int dir) {
if(a46) return parent ^ (dir & 1) ^ 2;
if(a46) return parent ^ (dir & 1) ^ 2 ^ (((parent^dir) & 1) << 2);
if(S7 == 8 && dir > 3) dir--;