58 #define hit_mbTileDomainShape(newVarP, baseType, shape) \
59 hit_mbTileDomainShapeInternal(newVarP, sizeof(baseType), shape)
77 #define hit_mbTileAlloc(var) hit_mbTileAllocInternal(var, #var, __FILE__, __LINE__)
101 #define hit_mbTileDomainShapeAlloc(var, baseType, shape) \
102 hit_mbTileDomainShapeInternal(var, sizeof(baseType), shape); \
103 hit_mbTileAllocInternal(var, #var, __FILE__, __LINE__);
140 #define hit_mbTileElemAt(var, pos1, pos2) ((var).data[hit_bTileElemAtIndex(&(var),(pos1),(pos2))])
150 #define hit_mbTileGraphElemAt(var, pos1, pos2) ((var).data[hit_mbTileGraphElemAtIndex(&(var),(pos1),(pos2))])
159 #define hit_mbTileElemIteratorAt(var, iterX, iterY) \
160 ((var).data[(iterX)*(hit_bShapeCard(hit_tileShape(var),1))+(iterY)])
int hit_mbTileElemAtIndex(void *varP, int local1, int local2)
void hit_mbTileDomainShapeInternal(void *newVarP, size_t baseExtent, HitShape shape)
void hit_mbTileAllocInternal(void *newVarP, const char *name, const char *file, int numLine)
void hit_mbTileClear(void *tileP)
int hit_mbTileGraphElemAtIndex(void *varP, int pos1, int pos2)