|
HyperRogue
11.3d
game/visualization engine based on non-Euclidean geometry
|
Public Member Functions | |
| void | add_at (cell *c, int d) |
| celllister (cell *orig, int maxdist, int maxcount, cell *breakon) | |
| int | getdist (cell *c) |
Public Member Functions inherited from hr::manual_celllister | |
| bool | listed (cell *c) |
| bool | add (cell *c) |
Public Attributes | |
| vector< int > | dists |
Public Attributes inherited from hr::manual_celllister | |
| vector< cell * > | lst |
| vector< int > | tmps |
automatically generate a list of nearby cells
automatically generate a list of nearby cells
| orig | where to start |
| maxdist | maximum distance to cover |
| maxcount | maximum number of cells to cover |
| breakon | we are actually looking for this cell, so stop when reaching it |
|
inline |
for a given cell c on the list, return its distance from orig
1.8.17