|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | PROJECTILE_MAKETRIGGER(e) |
| #define | PROJECTILE_TOUCH(e, t) |
Functions | |
| void | adaptor_think2use_hittype_splash (entity this) |
| STATIC_INIT (g_projectiles) | |
| float | W_CheckProjectileDamage (entity inflictor, entity projowner, int deathtype, float exception) |
| bool | W_DualWielding (entity player) |
| void | W_GiveWeapon (entity e, float wep) |
| void | W_PlayStrengthSound (entity player) |
| void | W_PrepareExplosionByDamage (entity this, entity attacker, void(entity this) explode) |
| bool | WarpZone_Projectile_Touch_ImpactFilter_Callback (entity this, entity toucher) |
Variables | |
| int | autocvar_g_projectiles_damage |
| int | autocvar_g_projectiles_interact |
| bool | autocvar_g_projectiles_keep_owner |
| float | autocvar_sv_strengthsound_antispam_refire_threshold |
| float | autocvar_sv_strengthsound_antispam_time |
| float | fade_rate |
| float | fade_time |
| IntrusiveList | g_projectiles |
| const int | MIF_ARC = BIT(2) |
| const int | MIF_GUIDED_AI = BIT(7) |
| const int | MIF_GUIDED_ALL = MIF_GUIDED_MANUAL | MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
| const int | MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI |
| const int | MIF_GUIDED_HEAT = BIT(5) |
| const int | MIF_GUIDED_LASER = BIT(6) |
| const int | MIF_GUIDED_MANUAL = BIT(4) |
| const int | MIF_GUIDED_TAG = BIT(7) |
| const int | MIF_GUIDED_TRACKING = MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
| const int | MIF_PROXY = BIT(3) |
| const int | MIF_SPLASH = BIT(1) |
| float | misc_bulletcounter |
| int | missile_flags |
| int | projectiledeathtype |
| entity | realowner |
| #define PROJECTILE_MAKETRIGGER | ( | e | ) |
Definition at line 34 of file common.qh.
Referenced by FireGrapplingHook(), M_Golem_Attack_Lightning(), M_Spider_Attack_Web(), nade_napalm_ball(), raptor_bomb_burst(), raptor_bombdrop(), toss_nade(), turret_projectile(), UnsetMovetypeFollow(), vehicles_projectile(), W_Arc_Attack_Bolt(), W_Blaster_Attack(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Devastator_Attack(), W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), W_Electro_Orb_Follow_Think(), W_Electro_Orb_Stick(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_HLAC_Attack(), W_HLAC_Attack2(), W_Hook_Attack2(), W_MineLayer_Attack(), W_MineLayer_Stick(), W_Mortar_Attack(), W_Mortar_Attack2(), W_Nexball_Attack2(), W_OverkillRocketPropelledChainsaw_Attack(), W_Porto_Attack(), and W_RocketMinsta_Attack().
| #define PROJECTILE_TOUCH | ( | e, | |
| t ) |
Definition at line 28 of file common.qh.
Referenced by GrapplingHookTouch(), M_Golem_Attack_Lightning_Touch(), M_Mage_Attack_Spike_Touch(), M_Spider_Attack_Web_Touch(), M_Wyvern_Attack_Fireball_Touch(), nade_touch(), raptor_bomblet_touch(), turret_projectile_touch(), vehicles_projectile_explode(), W_Arc_Bolt_Touch(), W_Blaster_Touch(), W_Crylink_Touch(), W_Electro_Orb_Touch(), W_Electro_TouchExplode(), W_Fireball_Firemine_Touch(), W_Fireball_TouchExplode(), W_Hagar_Touch(), W_Hagar_Touch2(), W_HLAC_Touch(), W_Hook_Touch2(), W_MineLayer_Touch(), W_Mortar_Grenade_Touch1(), W_Mortar_Grenade_Touch2(), W_Nexball_Touch(), W_RocketMinsta_Laser_Touch(), W_Seeker_Missile_Touch(), and W_Seeker_Tag_Touch().
Definition at line 106 of file common.qc.
References entity(), HITTYPE_SPLASH, IS_ONGROUND, and projectiledeathtype.
Referenced by M_Spider_Attack_Web(), W_Arc_Attack_Bolt(), W_Electro_Attack_Orb(), W_Electro_Orb_Follow_Think(), W_Electro_Orb_Stick(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_Hook_Attack2(), W_Mortar_Attack2(), W_RocketMinsta_Attack(), and W_Seeker_Fire_Flac().
| STATIC_INIT | ( | g_projectiles | ) |
| float W_CheckProjectileDamage | ( | entity | inflictor, |
| entity | projowner, | ||
| int | deathtype, | ||
| float | exception ) |
Definition at line 45 of file common.qc.
References autocvar_g_projectiles_damage, and entity().
Referenced by GrapplingHook_Damage(), M_Golem_Attack_Lightning_Damage(), W_Arc_Bolt_Damage(), W_Devastator_Damage(), W_Electro_Orb_Damage(), W_Fireball_Damage(), W_Hagar_Damage(), W_Hook_Damage(), W_MineLayer_Damage(), W_Mortar_Grenade_Damage(), W_OverkillRocketPropelledChainsaw_Damage(), and W_Seeker_Missile_Damage().
Definition at line 20 of file common.qc.
References entity(), MAX_WEAPONSLOTS, and weaponentities.
Referenced by IMPULSE(), PlayerThink(), W_Devastator_Think(), W_ResetGunAlign(), W_SetupShot_Dir_ProjectileSize_Range(), and weapon_prepareattack_do().
Definition at line 40 of file common.qc.
References entity(), MUTATOR_CALLHOOK, and W_PlayStrengthSound().
Referenced by MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), W_PlayStrengthSound(), W_SetupShot_Dir_ProjectileSize_Range(), and W_Shotgun_Melee_Think().
Definition at line 87 of file common.qc.
References autocvar_g_projectiles_keep_owner, DAMAGE_NO, entity(), func_null(), IS_CLIENT, MUTATOR_CALLHOOK, nextthink, owner, realowner, setthink, takedamage, and time.
Referenced by M_Golem_Attack_Lightning_Damage(), nade_damage(), nade_translocate_DestroyDamage(), turret_projectile_damage(), W_Arc_Bolt_Damage(), W_Devastator_Damage(), W_Fireball_Damage(), W_Hagar_Damage(), W_Hook_Damage(), W_MineLayer_Damage(), W_Mortar_Grenade_Damage(), W_OverkillRocketPropelledChainsaw_Damage(), W_Seeker_Missile_Damage(), and walker_rocket_damage().
Definition at line 151 of file common.qc.
| int autocvar_g_projectiles_damage |
Definition at line 3 of file common.qh.
Referenced by W_CheckProjectileDamage().
| int autocvar_g_projectiles_interact |
Definition at line 4 of file common.qh.
Referenced by W_Blaster_Touch(), and WarpZone_Projectile_Touch_ImpactFilter_Callback().
| bool autocvar_g_projectiles_keep_owner |
Definition at line 5 of file common.qh.
Referenced by W_PrepareExplosionByDamage().
| float autocvar_sv_strengthsound_antispam_refire_threshold |
Definition at line 6 of file common.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_sv_strengthsound_antispam_time |
Definition at line 7 of file common.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float fade_time |
Definition at line 23 of file common.qh.
Referenced by CopyBody(), CSQCProjectile_SendEntity(), HUD_HealthArmor(), HUD_Notify(), modeleffect_SendEntity(), NET_HANDLE(), Portal_Think(), Projectile_Draw(), PutObserverInServer(), PutPlayerInServer(), spiderbot_headfade(), target_music_sendto(), trigger_music_SendEntity(), W_Crylink_Touch(), WaypointSprite_Reset(), WaypointSprite_SendEntity(), and WaypointSprite_Think().
| IntrusiveList g_projectiles |
Definition at line 58 of file common.qh.
Referenced by antilag_restore_all(), antilag_takeback_all(), EndFrame(), FireGrapplingHook(), func_breakable_behave_destroyed(), M_Golem_Attack_Lightning(), M_Mage_Attack_Spike(), M_Spider_Attack_Web(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_boom(), nade_napalm_ball(), nade_napalm_boom(), nade_touch(), raptor_flare_think(), raptor_frame(), spiderbot_exit(), spiderbot_guide_release(), StartFrame(), STATIC_INIT(), toss_nade(), turret_projectile(), vehicles_projectile(), W_Arc_Attack_Bolt(), W_Blaster_Attack(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Devastator_Attack(), W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), W_Electro_Orb_Stick(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_HLAC_Attack(), W_HLAC_Attack2(), W_Hook_Attack2(), W_MineLayer_Attack(), W_MineLayer_Stick(), W_Mortar_Attack(), W_Mortar_Attack2(), W_Nexball_Attack2(), W_OverkillRocketPropelledChainsaw_Attack(), W_Porto_Attack(), W_RocketMinsta_Attack(), W_Seeker_Fire_Flac(), W_Seeker_Fire_Missile(), W_Seeker_Fire_Tag(), walker_fire_rocket(), and WarpZone_StartFrame().
Definition at line 47 of file common.qh.
Referenced by M_Golem_Attack_Lightning(), M_Spider_Attack_Web(), nade_napalm_ball(), toss_nade(), W_Electro_Attack_Orb(), W_Fireball_Attack2(), W_Hook_Attack2(), W_MineLayer_Attack(), W_Mortar_Attack(), and W_Mortar_Attack2().
| const int MIF_GUIDED_ALL = MIF_GUIDED_MANUAL | MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
| const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI |
Definition at line 50 of file common.qh.
Referenced by walker_fire_rocket().
Definition at line 53 of file common.qh.
Referenced by W_Seeker_Fire_Missile().
| const int MIF_GUIDED_TRACKING = MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
Definition at line 48 of file common.qh.
Referenced by nade_napalm_ball(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_MineLayer_Attack(), and walker_fire_rocket().
Definition at line 46 of file common.qh.
Referenced by M_Golem_Attack_Lightning(), M_Spider_Attack_Web(), nade_napalm_ball(), toss_nade(), W_Arc_Attack_Bolt(), W_Blaster_Attack(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Devastator_Attack(), W_Electro_Attack_Bolt(), W_Electro_Attack_Orb(), W_Fireball_Attack1(), W_Fireball_Attack2(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_HLAC_Attack2(), W_Hook_Attack2(), W_MineLayer_Attack(), W_Mortar_Attack(), W_Mortar_Attack2(), W_RocketMinsta_Attack(), W_Seeker_Fire_Flac(), W_Seeker_Fire_Missile(), and walker_fire_rocket().
| float misc_bulletcounter |
Definition at line 19 of file common.qh.
Referenced by vehicles_spawn(), W_Arc_Attack_Bolt(), W_HLAC_Attack(), W_HLAC_Attack_Frame(), W_MachineGun_Attack_Auto(), W_MachineGun_Attack_Burst(), W_MachineGun_Attack_Frame(), W_OverkillHeavyMachineGun_Attack_Auto(), and W_OverkillMachineGun_Attack_Auto().
| int projectiledeathtype |
Definition at line 21 of file common.qh.
Referenced by adaptor_think2use_hittype_splash(), Damage_DamageInfo_SendEntity(), M_Golem_Attack_Lightning_Explode(), M_Mage_Attack_Spike_Think(), M_Spider_Attack_Web_Explode(), M_Wyvern_Attack_Fireball_Explode(), nade_normal_boom(), napalm_damage(), vehicles_projectile_explode(), W_Arc_Bolt_Explode(), W_Arc_Bolt_Touch(), W_Blaster_Touch(), W_Crylink_Touch(), W_Devastator_DoRemoteExplode(), W_Devastator_Explode(), W_Devastator_Think(), W_Electro_Explode(), W_Electro_ExplodeComboThink(), W_Electro_Orb_Stick(), W_Electro_Orb_Touch(), W_Fireball_Explode(), W_Fireball_Firemine_Touch(), W_Fireball_LaserPlay(), W_Fireball_Think(), W_Hagar_Damage(), W_Hagar_Explode(), W_Hagar_Explode2(), W_Hagar_Touch2(), W_HLAC_Touch(), W_Hook_ExplodeThink(), W_MineLayer_DoRemoteExplode(), W_MineLayer_Explode(), W_MineLayer_Stick(), W_MineLayer_Think(), W_Mortar_Grenade_Explode(), W_Mortar_Grenade_Explode2(), W_Mortar_Grenade_Think1(), W_Mortar_Grenade_Touch1(), W_Mortar_Grenade_Touch2(), W_OverkillRocketPropelledChainsaw_Explode(), W_OverkillRocketPropelledChainsaw_Think(), W_RocketMinsta_Laser_Damage(), W_Seeker_Flac_Explode(), W_Seeker_Missile_Explode(), and W_Seeker_Missile_Think().