src/lib/movementcache_1.cpp File Reference

#include "movementcache_1.h"
#include "voxel.h"

Include dependency graph for movementcache_1.cpp:


Defines

#define NUM_DIRECTIONS   4
#define NUM_CHECKS   3
#define NUM_VOXELTYPES   2

Variables

static const int dirs [NUM_DIRECTIONS][3]
static const int checks [NUM_DIRECTIONS][NUM_VOXELTYPES][NUM_CHECKS][3]

Define Documentation

#define NUM_CHECKS   3

#define NUM_DIRECTIONS   4

#define NUM_VOXELTYPES   2


Variable Documentation

const int checks[NUM_DIRECTIONS][NUM_VOXELTYPES][NUM_CHECKS][3] [static]

Initial value:

 {
  { 
    {  { 0,  0,  1}, {-10,  0,  0}  }, 
    {  { 0,  0,  1}, {-10,  0,  0}  }, 
  },
  { 
    {  { 1,  0,  0}, { 2,  0,  0}, {-10,  0,  0}  }, 
    {  { 1,  0,  0}, { 2,  0,  0}, {-10,  0,  0}  }, 
  },
  { 
    {  { 1,  0,  0}, { 1,  1,  0}, {-10,  0,  0}  }, 
    {  { 0,  1,  0}, { 1,  1,  0}, {-10,  0,  0}  }, 
  },
  { 
    {  {-1,  0,  0}, {-1,  1,  0}, {-10,  0,  0}  }, 
    {  { 0,  1,  0}, {-1,  1,  0}, {-10,  0,  0}  }, 
  }
}

Referenced by movementCache_1_c::moCalcValues().

const int dirs[NUM_DIRECTIONS][3] [static]

Initial value:

 {
  {  0,  0,  1 },
  {  2,  0,  0 },
  {  1,  1,  0 },
  { -1,  1,  0 },
}

Referenced by movementAnalysator_c::checkmovement(), movementCache_1_c::getDirection(), movementCache_1_c::moCalcValues(), and movementAnalysator_c::prepare().


Generated on Sun Oct 10 10:01:52 2010 for BurrTools by  doxygen 1.5.8