Add 'sprite2' field to states
Backwards compatible:
- If
state->sprite2
is0
, engine usesstate->frame & FF_FRAMEMASK
.
Backwards incompatible:
- Do not use
FF_SPR2SUPER
when settingactor->sprite2
orspr2defaults[]
. UseSPR2F_SUPER
orP_GetSuperSprite2(sprite2)
instead.
New:
- Use
P_GetStateSprite2
as a wrapper to get a state'ssprite2
. - Use
P_GetSprite2StateFrame
as a wrapper to get a state's starting animation frame index. - Use
P_IsStateSprite2Super
as a wrapper to check forSPR2F_SUPER
orFF_SPR2SUPER
. - Use
P_GetSuperSprite2
as a wrapper for(sprite2 & SPR2F_MASK) | SPR2F_SUPER
. - Limit raised from 68 to 964 (I think)
Edited by Lactozilla