2023-09-04 00:57:54 +00:00
|
|
|
#ifndef GUARD_CONSTANTS_GLOBAL_INC
|
|
|
|
#define GUARD_CONSTANTS_GLOBAL_INC
|
|
|
|
|
2015-10-16 19:33:20 +00:00
|
|
|
.set TRUE, 1
|
|
|
|
.set FALSE, 0
|
|
|
|
|
2015-10-14 10:12:21 +00:00
|
|
|
.set NULL, 0
|
|
|
|
|
2015-11-21 09:39:40 +00:00
|
|
|
.set SPRITE_SIZE_8x8, (OAM_SIZE_0 >> 28) | (OAM_SQUARE >> 14)
|
|
|
|
.set SPRITE_SIZE_16x16, (OAM_SIZE_1 >> 28) | (OAM_SQUARE >> 14)
|
|
|
|
.set SPRITE_SIZE_32x32, (OAM_SIZE_2 >> 28) | (OAM_SQUARE >> 14)
|
|
|
|
.set SPRITE_SIZE_64x64, (OAM_SIZE_3 >> 28) | (OAM_SQUARE >> 14)
|
|
|
|
|
|
|
|
.set SPRITE_SIZE_16x8, (OAM_SIZE_0 >> 28) | (OAM_H_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_32x8, (OAM_SIZE_1 >> 28) | (OAM_H_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_32x16, (OAM_SIZE_2 >> 28) | (OAM_H_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_64x32, (OAM_SIZE_3 >> 28) | (OAM_H_RECTANGLE >> 14)
|
|
|
|
|
|
|
|
.set SPRITE_SIZE_8x16, (OAM_SIZE_0 >> 28) | (OAM_V_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_8x32, (OAM_SIZE_1 >> 28) | (OAM_V_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_16x32, (OAM_SIZE_2 >> 28) | (OAM_V_RECTANGLE >> 14)
|
|
|
|
.set SPRITE_SIZE_32x64, (OAM_SIZE_3 >> 28) | (OAM_V_RECTANGLE >> 14)
|
|
|
|
|
|
|
|
.set OBJ_IMAGE_ANIM_H_FLIP, 1 << 6
|
|
|
|
.set OBJ_IMAGE_ANIM_V_FLIP, 1 << 7
|
2023-09-04 00:57:54 +00:00
|
|
|
|
|
|
|
#endif @ GUARD_CONSTANTS_GLOBAL_INC
|