#include <movementcache_0.h>


Public Member Functions | |
| movementCache_0_c (const problem_c *puz) | |
Private Member Functions | |
| unsigned int * | moCalcValues (const voxel_c *sh1, const voxel_c *sh2, int dx, int dy, int dz) |
| when the entry is not inside the table, this function calculates the values for the movement info | |
| virtual unsigned int | numDirections (void) |
| return the number of different directions of movement that are possible within the space grid that that movement cache is for | |
| virtual void | getDirection (unsigned int dir, int *x, int *y, int *z) |
| return the movement vector of the given direction | |
| movementCache_0_c (const movementCache_0_c &) | |
| void | operator= (const movementCache_0_c &) |
| movementCache_0_c::movementCache_0_c | ( | const problem_c * | puz | ) |
| movementCache_0_c::movementCache_0_c | ( | const movementCache_0_c & | ) | [private] |
| void movementCache_0_c::getDirection | ( | unsigned int | dir, | |
| int * | x, | |||
| int * | y, | |||
| int * | z | |||
| ) | [private, virtual] |
| unsigned int * movementCache_0_c::moCalcValues | ( | const voxel_c * | sh1, | |
| const voxel_c * | sh2, | |||
| int | dx, | |||
| int | dy, | |||
| int | dz | |||
| ) | [private, virtual] |
when the entry is not inside the table, this function calculates the values for the movement info
Implements movementCache_c.
References voxel_c::boundX1(), voxel_c::boundX2(), voxel_c::boundY1(), voxel_c::boundY2(), voxel_c::boundZ1(), voxel_c::boundZ2(), voxel_c::getHx(), voxel_c::getHy(), voxel_c::getHz(), voxel_c::isFilled2(), max(), min(), and NUM_DIRECTIONS.
| unsigned int movementCache_0_c::numDirections | ( | void | ) | [private, virtual] |
return the number of different directions of movement that are possible within the space grid that that movement cache is for
Implements movementCache_c.
References NUM_DIRECTIONS.
| void movementCache_0_c::operator= | ( | const movementCache_0_c & | ) | [private] |
1.5.8