S
Salvatore Di Fazio
Hi,
I've an array in an include that is used everywhere in the project.
So to avoid the problem of declaration I made the following solution:
ifndef __UNWALKABLETILES__
#define __UNWALKABLETILES__
#define UNWALKABLETILES 16 /*!< Number of elements in UnwalkableTiles
array. */
/** List of unwalkable tiles. */
char rgUnwalkableTiles[] =
{
18, 19, 20, 21, 22, 23, 24, 25, 55, 56, 57, 60, 61, 62, 63, 64
};
#endif
But it doesn't works.
Why?
Tnx
I've an array in an include that is used everywhere in the project.
So to avoid the problem of declaration I made the following solution:
ifndef __UNWALKABLETILES__
#define __UNWALKABLETILES__
#define UNWALKABLETILES 16 /*!< Number of elements in UnwalkableTiles
array. */
/** List of unwalkable tiles. */
char rgUnwalkableTiles[] =
{
18, 19, 20, 21, 22, 23, 24, 25, 55, 56, 57, 60, 61, 62, 63, 64
};
#endif
But it doesn't works.
Why?
Tnx