38 lines
630 B
C
38 lines
630 B
C
/*** Layer Defs ***/
|
|
/******************/
|
|
|
|
#ifndef __LAYER_DEFS_HEADER__
|
|
#define __LAYER_DEFS_HEADER__
|
|
|
|
/*****************************************************************************/
|
|
|
|
// Max size is 8 * 6
|
|
|
|
enum LAYER_TYPE
|
|
{
|
|
LAYER_TYPE_TILE=0,
|
|
LAYER_TYPE_COLLISION,
|
|
LAYER_TYPE_MAX
|
|
};
|
|
|
|
enum LAYER_SUBTYPE
|
|
{
|
|
LAYER_SUBTYPE_NONE=-1,
|
|
|
|
LAYERTILE_BACK=0,
|
|
LAYERTILE_MID,
|
|
LAYERTILE_ACTION,
|
|
LAYERTILE_FORE,
|
|
|
|
};
|
|
|
|
enum TILE_FLAG
|
|
{
|
|
TILE_FLAG_MIRROR_X=1<<0,
|
|
TILE_FLAG_MIRROR_Y=1<<1,
|
|
TILE_FLAG_MIRROR_XY=TILE_FLAG_MIRROR_X|TILE_FLAG_MIRROR_Y,
|
|
};
|
|
|
|
|
|
/*****************************************************************************/
|
|
#endif |