

.macro DefineCmp_Entity _cmp_type, _x, _y, _vx, _vy, _w, _h, _pspr
	
	.db _cmp_type
	.db _x, _y
	.db _vx, _vy
	.db _w, _h
	.dw _pspr

	.dw 0xCCCC

.endm

e_cmp_type	= 0
e_x			= 1
e_y			= 2
e_vx		= 3
e_vy		= 4
e_w			= 5
e_h			= 6
e_pspr_l	= 7
e_pspr_h	= 8
e_lastVP_l	= 9
e_lastVP_h	= 10
sizeof_e	= 11


.macro DefineCmp_Entity_default
	DefineCmp_Entity e_cmp_Invalid, 0, 0, 0, 0, 1, 1, 0x0000
.endm

e_cmp_Invalid=0x00
e_cmp_E=0x02
e_cmp_Physics=0x04
e_cmp_Dead=0xB0

e_cmp_Enemy= (e_cmp_Physics | e_cmp_E)
