saberInfo_t Struct Reference

#include <q_shared.h>


Data Fields

char name [64]
char fullName [64]
saberType_t type
char model [MAX_QPATH]
qhandle_t skin
int soundOn
int soundLoop
int soundOff
int numBlades
bladeInfo_t blade [MAX_BLADES]
int stylesLearned
int stylesForbidden
int maxChain
int forceRestrictions
int lockBonus
int parryBonus
int breakParryBonus
int breakParryBonus2
int disarmBonus
int disarmBonus2
saber_styles_t singleBladeStyle
int saberFlags
int saberFlags2
qhandle_t spinSound
qhandle_t swingSound [3]
float moveSpeedScale
float animSpeedScale
int kataMove
int lungeAtkMove
int jumpAtkUpMove
int jumpAtkFwdMove
int jumpAtkBackMove
int jumpAtkRightMove
int jumpAtkLeftMove
int readyAnim
int drawAnim
int putawayAnim
int tauntAnim
int bowAnim
int meditateAnim
int flourishAnim
int gloatAnim
int bladeStyle2Start
int trailStyle
int g2MarksShader
int g2WeaponMarkShader
qhandle_t hitSound [3]
qhandle_t blockSound [3]
qhandle_t bounceSound [3]
int blockEffect
int hitPersonEffect
int hitOtherEffect
int bladeEffect
float knockbackScale
float damageScale
float splashRadius
int splashDamage
float splashKnockback
int trailStyle2
int g2MarksShader2
int g2WeaponMarkShader2
qhandle_t hit2Sound [3]
qhandle_t block2Sound [3]
qhandle_t bounce2Sound [3]
int blockEffect2
int hitPersonEffect2
int hitOtherEffect2
int bladeEffect2
float knockbackScale2
float damageScale2
float splashRadius2
int splashDamage2
float splashKnockback2


Field Documentation

float saberInfo_t::animSpeedScale
 

Definition at line 771 of file q_shared.h.

Referenced by BG_SaberStartTransAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

bladeInfo_t saberInfo_t::blade[MAX_BLADES]
 

Definition at line 746 of file q_shared.h.

Referenced by BG_SI_Activate(), BG_SI_ActivateTrail(), BG_SI_Active(), BG_SI_BladeActivate(), BG_SI_Deactivate(), BG_SI_DeactivateTrail(), BG_SI_Length(), BG_SI_LengthMax(), BG_SI_SetDesiredLength(), BG_SI_SetLength(), BG_SI_SetLengthGradual(), CG_AddSaberBlade(), CG_NewClientInfo(), CG_Player(), CG_ResetPlayerEntity(), G_SPSaberDamageTraceLerped(), NPC_MaxDistSquaredForWeapon(), NPC_ParseParms(), WP_SaberBladeLength(), WP_SaberParseParms(), WP_SaberPositionUpdate(), WP_SaberSetColor(), WP_SaberSetDefaults(), and WP_SabersIntersect().

int saberInfo_t::bladeEffect
 

Definition at line 808 of file q_shared.h.

Referenced by CG_AddSaberBlade(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::bladeEffect2
 

Definition at line 830 of file q_shared.h.

Referenced by CG_AddSaberBlade(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::bladeStyle2Start
 

Definition at line 791 of file q_shared.h.

Referenced by Cmd_SaberAttackCycle_f(), WP_SaberBladeUseSecondBladeStyle(), WP_SaberCanTurnOffSomeBlades(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::block2Sound[3]
 

Definition at line 825 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberBounceSound(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::blockEffect
 

Definition at line 805 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::blockEffect2
 

Definition at line 827 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::blockSound[3]
 

Definition at line 803 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberBounceSound(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::bounce2Sound[3]
 

Definition at line 826 of file q_shared.h.

Referenced by WP_SaberBounceSound(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::bounceSound[3]
 

Definition at line 804 of file q_shared.h.

Referenced by WP_SaberBounceSound(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::bowAnim
 

Definition at line 785 of file q_shared.h.

Referenced by G_SetTauntAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::breakParryBonus
 

Definition at line 753 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::breakParryBonus2
 

Definition at line 754 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::damageScale
 

Definition at line 812 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::damageScale2
 

Definition at line 834 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::disarmBonus
 

Definition at line 755 of file q_shared.h.

Referenced by saberCheckKnockdown_BrokenParry(), saberCheckKnockdown_DuelLoss(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::disarmBonus2
 

Definition at line 756 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::drawAnim
 

Definition at line 782 of file q_shared.h.

Referenced by PM_SetSaberMove(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::flourishAnim
 

Definition at line 787 of file q_shared.h.

Referenced by G_SetTauntAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::forceRestrictions
 

Definition at line 750 of file q_shared.h.

Referenced by WP_ForcePowerUsable(), WP_SaberParseParms(), and WP_SaberSetDefaults().

char saberInfo_t::fullName[64]
 

Definition at line 738 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::g2MarksShader
 

Definition at line 798 of file q_shared.h.

Referenced by CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::g2MarksShader2
 

Definition at line 820 of file q_shared.h.

Referenced by CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::g2WeaponMarkShader
 

Definition at line 799 of file q_shared.h.

Referenced by CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::g2WeaponMarkShader2
 

Definition at line 821 of file q_shared.h.

Referenced by CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::gloatAnim
 

Definition at line 788 of file q_shared.h.

Referenced by G_SetTauntAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::hit2Sound[3]
 

Definition at line 824 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::hitOtherEffect
 

Definition at line 807 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::hitOtherEffect2
 

Definition at line 829 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::hitPersonEffect
 

Definition at line 806 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::hitPersonEffect2
 

Definition at line 828 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_SaberCompWork(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::hitSound[3]
 

Definition at line 802 of file q_shared.h.

Referenced by CG_EntityEvent(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::jumpAtkBackMove
 

Definition at line 778 of file q_shared.h.

Referenced by PM_SaberBackflipAttackMove(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::jumpAtkFwdMove
 

Definition at line 777 of file q_shared.h.

Referenced by PM_SaberFlipOverAttackMove(), PM_SaberJumpAttackMove(), PM_SaberJumpAttackMove2(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::jumpAtkLeftMove
 

Definition at line 780 of file q_shared.h.

Referenced by PM_SaberAttackForMovement(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::jumpAtkRightMove
 

Definition at line 779 of file q_shared.h.

Referenced by PM_SaberAttackForMovement(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::jumpAtkUpMove
 

Definition at line 776 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::kataMove
 

Definition at line 774 of file q_shared.h.

Referenced by PM_CanDoKata(), PM_WeaponLightsaber(), WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::knockbackScale
 

Definition at line 811 of file q_shared.h.

Referenced by G_Damage(), WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::knockbackScale2
 

Definition at line 833 of file q_shared.h.

Referenced by G_Damage(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::lockBonus
 

Definition at line 751 of file q_shared.h.

Referenced by ClientThink_real(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::lungeAtkMove
 

Definition at line 775 of file q_shared.h.

Referenced by PM_SaberLungeAttackMove(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::maxChain
 

Definition at line 749 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::meditateAnim
 

Definition at line 786 of file q_shared.h.

Referenced by G_SetTauntAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

char saberInfo_t::model[MAX_QPATH]
 

Definition at line 740 of file q_shared.h.

Referenced by BG_MySaber(), BG_PrecacheSabersForSiegeTeam(), CG_CopyG2WeaponInstance(), CG_G2AnimEntModelLoad(), CG_G2WeaponInstance(), CG_NewClientInfo(), CG_Player(), CG_PredictPlayerState(), ClientSpawn(), ClientThink_real(), Cmd_EngageDuel_f(), Cmd_SaberAttackCycle_f(), Cmd_ToggleSaber_f(), G_BreakArm(), G_SaberModelSetup(), G_SetSaber(), G_SetTauntAnim(), G_UpdateClientAnims(), Jedi_CheckFlipEvasions(), MakeDeadSaber(), player_die(), saberCheckKnockdown_BrokenParry(), saberCheckKnockdown_DuelLoss(), saberKnockDown(), saberKnockOutOfHand(), ThrowSaberToAttacker(), WP_DeactivateSaber(), WP_ForcePowerUsable(), WP_RemoveSaber(), WP_SaberParseParms(), WP_SaberPositionUpdate(), WP_SabersCheckLock(), WP_SaberSetDefaults(), WP_SaberStyleValidForSaber(), WP_SetSaber(), and WP_UseFirstValidSaberStyle().

float saberInfo_t::moveSpeedScale
 

Definition at line 770 of file q_shared.h.

Referenced by BG_AdjustClientSpeed(), WP_SaberParseParms(), and WP_SaberSetDefaults().

char saberInfo_t::name[64]
 

Definition at line 737 of file q_shared.h.

Referenced by BG_PrecacheSabersForSiegeTeam(), G_SetSaber(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::numBlades
 

Definition at line 745 of file q_shared.h.

Referenced by BG_SI_Activate(), BG_SI_ActivateTrail(), BG_SI_Active(), BG_SI_BladeActivate(), BG_SI_Deactivate(), BG_SI_DeactivateTrail(), BG_SI_Length(), BG_SI_LengthMax(), BG_SI_SetDesiredLength(), BG_SI_SetLength(), BG_SI_SetLengthGradual(), CG_AddSaberBlade(), CG_NewClientInfo(), CG_Player(), CG_PredictPlayerState(), CG_ResetPlayerEntity(), Cmd_SaberAttackCycle_f(), G_SaberModelSetup(), WP_SaberBladeLength(), WP_SaberCanTurnOffSomeBlades(), WP_SaberParseParms(), WP_SaberPositionUpdate(), WP_SaberSetDefaults(), WP_SabersIntersect(), WP_SaberStyleValidForSaber(), and WP_UseFirstValidSaberStyle().

int saberInfo_t::parryBonus
 

Definition at line 752 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::putawayAnim
 

Definition at line 783 of file q_shared.h.

Referenced by PM_SetSaberMove(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::readyAnim
 

Definition at line 781 of file q_shared.h.

Referenced by PM_GetSaberStance(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::saberFlags
 

Definition at line 762 of file q_shared.h.

Referenced by CG_Player(), ClientSpawn(), G_SaberModelSetup(), Jedi_CheckFlipEvasions(), NPC_ParseParms(), PM_CanDoRollStab(), PM_CheckAltKickAttack(), PM_CheckStabDown(), PM_SaberAttackForMovement(), saberBackToOwner(), saberKnockOutOfHand(), WP_ForcePowerUsable(), WP_SaberParseParms(), WP_SaberPositionUpdate(), WP_SabersCheckLock(), WP_SaberSetDefaults(), WP_SaberStartMissileBlockCheck(), and WP_SetSaber().

int saberInfo_t::saberFlags2
 

Definition at line 763 of file q_shared.h.

Referenced by CG_AddSaberBlade(), CG_EntityEvent(), Cmd_SaberAttackCycle_f(), WP_SaberBladeDoTransitionDamage(), WP_SaberCanTurnOffSomeBlades(), WP_SaberDoHit(), WP_SaberParseParms(), and WP_SaberSetDefaults().

saber_styles_t saberInfo_t::singleBladeStyle
 

Definition at line 757 of file q_shared.h.

Referenced by ClientThink_real(), Cmd_SaberAttackCycle_f(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::skin
 

Definition at line 741 of file q_shared.h.

Referenced by G_SaberModelSetup(), MakeDeadSaber(), saberKnockDown(), saberKnockOutOfHand(), ThrowSaberToAttacker(), WP_SaberParseParms(), WP_SaberPositionUpdate(), and WP_SaberSetDefaults().

int saberInfo_t::soundLoop
 

Definition at line 743 of file q_shared.h.

Referenced by CG_Player(), saberBackToOwner(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::soundOff
 

Definition at line 744 of file q_shared.h.

Referenced by CG_Player(), Cmd_EngageDuel_f(), Cmd_SaberAttackCycle_f(), Cmd_ToggleSaber_f(), G_BreakArm(), G_SetTauntAnim(), player_die(), saberBackToOwner(), saberFirstThrown(), saberKnockDown(), WP_DeactivateSaber(), WP_SaberParseParms(), WP_SaberPositionUpdate(), and WP_SaberSetDefaults().

int saberInfo_t::soundOn
 

Definition at line 742 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_Player(), ClientThink_real(), Cmd_SaberAttackCycle_f(), Cmd_ToggleSaber_f(), DownedSaberThink(), G_ForceSaberOn(), G_SetTauntAnim(), WP_ActivateSaber(), WP_SaberParseParms(), and WP_SaberSetDefaults().

qhandle_t saberInfo_t::spinSound
 

Definition at line 766 of file q_shared.h.

Referenced by WP_SaberParseParms(), WP_SaberPositionUpdate(), and WP_SaberSetDefaults().

int saberInfo_t::splashDamage
 

Definition at line 814 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::splashDamage2
 

Definition at line 836 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::splashKnockback
 

Definition at line 815 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::splashKnockback2
 

Definition at line 837 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::splashRadius
 

Definition at line 813 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

float saberInfo_t::splashRadius2
 

Definition at line 835 of file q_shared.h.

Referenced by WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::stylesForbidden
 

Definition at line 748 of file q_shared.h.

Referenced by Cmd_SaberAttackCycle_f(), WP_SaberParseParms(), WP_SaberSetDefaults(), WP_SaberStyleValidForSaber(), and WP_UseFirstValidSaberStyle().

int saberInfo_t::stylesLearned
 

Definition at line 747 of file q_shared.h.

Referenced by ClientThink_real(), WP_SaberParseParms(), WP_SaberSetDefaults(), and WP_SaberStyleValidForSaber().

qhandle_t saberInfo_t::swingSound[3]
 

Definition at line 767 of file q_shared.h.

Referenced by CG_EntityEvent(), CG_PlayerAnimEventDo(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::tauntAnim
 

Definition at line 784 of file q_shared.h.

Referenced by G_SetTauntAnim(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::trailStyle
 

Definition at line 797 of file q_shared.h.

Referenced by CG_AddSaberBlade(), WP_SaberParseParms(), and WP_SaberSetDefaults().

int saberInfo_t::trailStyle2
 

Definition at line 819 of file q_shared.h.

Referenced by CG_AddSaberBlade(), WP_SaberParseParms(), and WP_SaberSetDefaults().

saberType_t saberInfo_t::type
 

Definition at line 739 of file q_shared.h.

Referenced by WP_SaberParseParms(), WP_SaberSetDefaults(), and WP_SabersIntersect().


The documentation for this struct was generated from the following file: