HyperRogue  11.3d
game/visualization engine based on non-Euclidean geometry
Namespaces | Macros | Functions | Variables
patterns.cpp File Reference

tables that the complex patterns (Emerald, Palace, Field Pattern) are based on More...

#include "hyper.h"

Namespaces

 hr
 

Macros

#define RULE(t1, s1, d, t2, s2)   if(parent == t1*8+s1 && dir == d) return t2*8+s2;
 
#define RULE50(a, b, c, d, e, f, g, h)   {b,c,d,e,f,g,h},
 

Functions

EX int hr::emerald_heptagon (int parent, int dir)
 
EX int hr::emerald_hexagon (int a, int b, int c)
 
EX int hr::firstfiftyval (int d)
 
EX int hr::nextfiftyval (int par, int gpar, int d)
 
EX int hr::land50 (int x)
 
EX bool hr::polara50 (int x)
 
EX bool hr::polarb50 (int x)
 
EX int hr::cdist50 (int x)
 
EX int hr::zebra_heptagon (int parent, int dir)
 
EX int hr::fifty_38 (int f, int d)
 

Variables

int hr::fiftytable [480][7]
 
int hr::zebratable [12][7]
 
EX int hr::zebratable6 [28][3]
 

Detailed Description

tables that the complex patterns (Emerald, Palace, Field Pattern) are based on