Builds an AFC Splash Map which considers a tile to be a far neighbor if it is outside of a 1 tile boundary of the target tile.
|
Defines |
#define | AFC_SPLASHMAP_1x1_VERSION 0 |
| The version assigned to this splash map.
|
#define | DECLARE_EXTERNAL |
| External symbols exported out of shareables need to be have a special declaration.
|
#define | x AFC_K_SPLASH_MAP_FAR |
| Short symbol to represent a tile considered to be a far neighbor.
|
#define | X AFC_K_SPLASH_MAP_NEAR |
| Short symbol to represent the target tile. The value of this symbol is the same as a 'near' neighbor. It is defined for visual presentation means only; i.e. it is easy to spot the target tile in the data definition.
|
#define | _ AFC_K_SPLASH_MAP_NEAR |
| Short symbol to represent a tile considered to be a near neighbot.
|
#define | MAP AFC_SPLASH_MAP_BLD |
| Short symbol to represent the AFC_SPLASH_MAP_BLD macro.
|
#define | XM0 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM0.
|
#define | XM1 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM1.
|
#define | XM2 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM2.
|
#define | XM3 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM3.
|
#define | XM4 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM4.
|
#define | XM5 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM5.
|
#define | XM6 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM6.
|
#define | XM7 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM7.
|
#define | XM8 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM8.
|
#define | XM9 |
| Internal only - 'near' and 'far' neighbors for ACD tile XM9.
|
#define | XP0 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP0.
|
#define | XP1 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP1.
|
#define | XP2 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP2.
|
#define | XP3 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP3.
|
#define | XP4 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP4.
|
#define | XP5 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP5.
|
#define | XP6 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP6.
|
#define | XP7 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP7.
|
#define | XP8 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP8.
|
#define | XP9 |
| Internal only - 'near' and 'far' neighbors for ACD tile XP9.
|
#define | YM0 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM0.
|
#define | YM1 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM1.
|
#define | YM2 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM2.
|
#define | YM3 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM3.
|
#define | YM4 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM4.
|
#define | YM5 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM5.
|
#define | YM6 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM6.
|
#define | YM7 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM7.
|
#define | YM8 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM8.
|
#define | YM9 |
| Internal only - 'near' and 'far' neighbors for ACD tile YM9.
|
#define | YP0 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP0.
|
#define | YP1 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP1.
|
#define | YP2 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP2.
|
#define | YP3 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP3.
|
#define | YP4 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP4.
|
#define | YP5 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP5.
|
#define | YP6 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP6.
|
#define | YP7 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP7.
|
#define | YP8 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP8.
|
#define | YP9 |
| Internal only - 'near' and 'far' neighbors for ACD tile YP9.
|
#define | T00 |
| Internal only - 'near' and 'far' neighbors for ACD tile T0.
|
#define | T01 |
| Internal only - 'near' and 'far' neighbors for ACD tile T01.
|
#define | T02 |
| Internal only - 'near' and 'far' neighbors for ACD tile T0.
|
#define | T03 |
| Internal only - 'near' and 'far' neighbors for ACD tile T0.
|
#define | T04 |
| Internal only - 'near' and 'far' neighbors for ACD tile T04.
|
#define | T05 |
| Internal only - 'near' and 'far' neighbors for ACD tile T05.
|
#define | T06 |
| Internal only - 'near' and 'far' neighbors for ACD tile T0.
|
#define | T07 |
| Internal only - 'near' and 'far' neighbors for ACD tile T07.
|
#define | T08 |
| Internal only - 'near' and 'far' neighbors for ACD tile T08.
|
#define | T09 |
| Internal only - 'near' and 'far' neighbors for ACD tile T09.
|
#define | T10 |
| Internal only - 'near' and 'far' neighbors for ACD tile T10.
|
#define | T11 |
| Internal only - 'near' and 'far' neighbors for ACD tile T11.
|
#define | T12 |
| Internal only - 'near' and 'far' neighbors for ACD tile T12.
|
#define | T13 |
| Internal only - 'near' and 'far' neighbors for ACD tile T13.
|
#define | T14 |
| Internal only - 'near' and 'far' neighbors for ACD tile T14.
|
#define | T15 |
| Internal only - 'near' and 'far' neighbors for ACD tile T15.
|
#define | T16 |
| Internal only - 'near' and 'far' neighbors for ACD tile T16.
|
#define | T17 |
| Internal only - 'near' and 'far' neighbors for ACD tile T17.
|
#define | T18 |
| Internal only - 'near' and 'far' neighbors for ACD tile T18.
|
#define | T19 |
| Internal only - 'near' and 'far' neighbors for ACD tile T19.
|
#define | T20 |
| Internal only - 'near' and 'far' neighbors for ACD tile T20.
|
#define | T21 |
| Internal only - 'near' and 'far' neighbors for ACD tile T21.
|
#define | T22 |
| Internal only - 'near' and 'far' neighbors for ACD tile T22.
|
#define | T23 |
| Internal only - 'near' and 'far' neighbors for ACD tile T23.
|
#define | T24 |
| Internal only - 'near' and 'far' neighbors for ACD tile T24.
|
Variables |
DECLARE_EXTERNAL struct
_AFC_splashMap | AFC_SplashMap1x1 |
| Data structure representing the SplashMap with only nearest neighbors considered to be 'near' tiles.
|
Builds an AFC Splash Map which considers a tile to be a far neighbor if it is outside of a 1 tile boundary of the target tile.
The data structure for each tile is represented by a symbolic #define using a macro to do the initialization. The macro is constructed such that the initialization not only produces the correct data but also a picture of the near and far tiles. For example, here is the initialization for tile XM 5.
#define XM5 MAP( \
x,x,x,x,x, \
x,x,x,x,x, \
\
x,x, x,x,x,x,x, x,x, \
x,x, x,x,x,x,x, x,x, \
x,x, x,x,x,x,x, x,x, \
_,_, x,x,x,x,x, x,x, \
X,_, x,x,x,x,x, x,x, \
\
_,x,x,x,x, \
_,x,x,x,x)
The 5x5 pattern in the center represents the top ACD tiles. It is flanked by the 2x5 representations of the side ACD tiles. The splash veto only considers tiles in the upper two rows of the side ACD tiles.