![]() |
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) |
![]() | |
bool | listed (cell *c) |
bool | add (cell *c) |
Public Attributes | |
vector< int > | dists |
![]() | |
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