diff --git a/source/core/namedef_custom.h b/source/core/namedef_custom.h index ec5fece57b..73d5b54952 100644 --- a/source/core/namedef_custom.h +++ b/source/core/namedef_custom.h @@ -79,3 +79,24 @@ xx(Special) xx(CloseAttack) xx(Attack) xx(Dive) +xx(Sword) +xx(Punch) +xx(HeadHurl) +xx(HangFall) + +xx(Speeds) +xx(TicAdjust) +xx(MaxWeapons) +xx(AmbientSound) +xx(AlertSound) +xx(AttackSound) +xx(PainSound) +xx(DieSound) +xx(ExtraSound1) +xx(ExtraSound2) +xx(ExtraSound3) +xx(ExtraSound4) +xx(ExtraSound5) +xx(ExtraSound6) +xx(CloseAttackPercent) +xx(AttackPercent) diff --git a/wadsrc/static/zscript/games/sw/swactor.zs b/wadsrc/static/zscript/games/sw/swactor.zs index 5b6970061d..d7807ec311 100644 --- a/wadsrc/static/zscript/games/sw/swactor.zs +++ b/wadsrc/static/zscript/games/sw/swactor.zs @@ -1,5 +1,27 @@ class SWActor : CoreActor native { + const MAX_SPEED = 4; + const MAX_ACTOR_CLOSE_ATTACK = 2; + const MAX_ACTOR_ATTACK = 6; + + meta int16 CloseAttackPercent[MAX_ACTOR_CLOSE_ATTACK]; + meta int16 AttackPercent[MAX_ACTOR_ATTACK]; + + meta int16 Speeds[MAX_SPEED]; + meta int8 TicAdjust[MAX_SPEED]; + meta int8 MaxWeapons; + meta Sound AmbientSound; + meta Sound AlertSound; + meta Sound AttackSound; + meta Sound PainSound; + meta Sound DieSound; + meta Sound ExtraSound1; + meta Sound ExtraSound2; + meta Sound ExtraSound3; + meta Sound ExtraSound4; + meta Sound ExtraSound5; + meta Sound ExtraSound6; + // all ANIMATORs. native int DoBunnyMove(); native int DoBunnyGrowUp();