|
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 | G_MAJOR(id) |
| #define | G_MINOR(id) |
Variables | |
| StatusEffect | g_statuseffects |
| int | SEFminorBitsArr [StatusEffects_groups_major] |
| StatusEffect | statuseffects |
| Entity statuseffects. | |
| const int | StatusEffects_groups_major = 4 |
| const int | StatusEffects_groups_minor = 8 |
| StatusEffect | statuseffects_store |
| Player statuseffects storage (holds previous state) | |
| #define G_MAJOR | ( | id | ) |
| #define G_MINOR | ( | id | ) |
Definition at line 37 of file status_effects.qh.
Referenced by StatusEffects_Write().
| NET_HANDLE | ( | ENT_CLIENT_STATUSEFFECTS | , |
| bool | isnew ) |
Definition at line 48 of file status_effects.qh.
References BIT, g_statuseffects, StatusEffect::m_id, make_pure, Readbits(), ReadByte(), ReadFloat, REGISTRY_GET, StatusEffects_entremove(), StatusEffects_groups_major, and StatusEffects_groups_minor.
Definition at line 173 of file status_effects.qh.
References entity(), statuseffects, and StatusEffects_delete().
Referenced by ClientDisconnect(), and CSQC_Ent_Update().
| REGISTER_MUTATOR | ( | status_effects | , |
| true | ) |
| STATIC_INIT | ( | StatusEffects | ) |
Definition at line 25 of file status_effects.qh.
References ceil(), error, floor(), REGISTRY_COUNT, StatusEffects_groups_major, and StatusEffects_groups_minor.
| bool StatusEffects_active | ( | StatusEffect | this, |
| entity | actor ) |
Definition at line 4 of file status_effects.qc.
References entity().
Referenced by ctf_Handle_Throw(), Damage(), Fire_AddDamage(), Fire_ApplyDamage(), GiveBuff(), GiveItems(), GiveStatusEffect(), GrapplingHookThink(), havocbot_ai(), M_Mage_Defend_Heal_Check(), Monster_Anim(), Monster_Damage(), Monster_Move(), Monster_Think(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), nade_ice_think(), nade_prime(), napalm_damage(), player_anim(), player_powerups(), PlayerDamage(), PlayerFrame(), PlayerUseKey(), vehicles_enter(), W_Fireball_LaserPlay(), W_OverkillHeavyMachineGun_Attack_Auto(), W_Porto_Attack(), WantEventchase(), weapon_prepareattack_do(), and weaponLocked().
| void StatusEffects_apply | ( | StatusEffect | this, |
| entity | actor, | ||
| float | eff_time, | ||
| int | eff_flags ) |
Definition at line 31 of file status_effects.qc.
References entity(), and time.
Referenced by buff_Disability_ApplyStunned(), buff_Touch(), Fire_AddDamage(), GiveBuff(), GiveItems(), GiveStatusEffect(), Item_GiveTo(), M_Mage_Defend_Shield(), Monster_Spawn(), nade_ice_freeze(), and PutPlayerInServer().
Definition at line 156 of file status_effects.qh.
References entity(), and FOREACH.
Referenced by Monster_Spawn(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| void StatusEffects_copy | ( | StatusEffect | this, |
| entity | store, | ||
| float | time_offset ) |
Definition at line 39 of file status_effects.qc.
References entity(), FOREACH, and time.
Referenced by CheatImpulse().
Definition at line 132 of file status_effects.qh.
References entity().
Referenced by StatusEffects_new().
Definition at line 150 of file status_effects.qh.
References entity(), and NULL.
Referenced by MUTATOR_HOOKFUNCTION(), and ONREMOVE().
Definition at line 42 of file status_effects.qh.
References entity(), g_statuseffects, and NULL.
Referenced by NET_HANDLE().
| float StatusEffects_gettime | ( | StatusEffect | this, |
| entity | actor ) |
Definition at line 17 of file status_effects.qc.
References entity(), m_id, and time.
Referenced by Fire_AddDamage(), Fire_ApplyDamage(), GiveBuff(), GiveStatusEffect(), havocbot_goalrating_enemyplayers(), Item_GiveTo(), MUTATOR_HOOKFUNCTION(), player_powerups(), powerups_DropItem(), and W_ThrowNewWeapon().
Definition at line 138 of file status_effects.qh.
References entity(), Net_LinkEntity(), NEW, setcefc, statuseffects, StatusEffects_customize(), StatusEffects_Send(), and statuseffects_store.
Referenced by StatusEffect::m_apply().
| void StatusEffects_remove | ( | StatusEffect | this, |
| entity | actor, | ||
| int | removal_type ) |
Definition at line 53 of file status_effects.qc.
References entity().
Referenced by Damage(), GiveBuff(), GiveStatusEffect(), invasion_SpawnChosenMonster(), player_powerups(), W_ThrowNewWeapon(), and weapon_prepareattack_do().
Definition at line 58 of file status_effects.qc.
References entity(), and FOREACH.
Referenced by ctf_Handle_Pickup(), ctf_RespawnFlag(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and MUTATOR_HOOKFUNCTION().
| bool StatusEffects_Send | ( | StatusEffect | this, |
| entity | to, | ||
| int | sf ) |
Definition at line 124 of file status_effects.qh.
References entity(), MSG_ENTITY, StatusEffects_Write(), TC, and WriteHeader.
Referenced by StatusEffects_new().
Definition at line 9 of file status_effects.qc.
References entity(), and FOREACH.
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 153 of file status_effects.qh.
References entity().
Referenced by CheatImpulse(), GiveItems(), StatusEffect::m_apply(), StatusEffect::m_remove(), Monster_Spawn(), MUTATOR_HOOKFUNCTION(), and W_ThrowNewWeapon().
| void StatusEffects_Write | ( | StatusEffect | data, |
| StatusEffect | store ) |
Definition at line 74 of file status_effects.qh.
References BIT, BITSET, entity(), FOREACH, G_MAJOR, G_MINOR, MSG_ENTITY, REGISTRY_GET, SEFminorBitsArr, StatusEffect::statuseffect_flags, StatusEffect::statuseffect_time, StatusEffects_groups_major, StatusEffects_groups_minor, TC, WriteByte(), and WriteShort().
Referenced by StatusEffects_Send().
Definition at line 169 of file status_effects.qh.
References entity(), and NULL.
Referenced by ClientState_detach().
| StatusEffect g_statuseffects |
Definition at line 41 of file status_effects.qh.
Referenced by StatusEffect::m_active(), MUTATOR_HOOKFUNCTION(), NET_HANDLE(), and StatusEffects_entremove().
| int SEFminorBitsArr[StatusEffects_groups_major] |
Definition at line 73 of file status_effects.qh.
Referenced by StatusEffects_Write().
| StatusEffect statuseffects |
Entity statuseffects.
Definition at line 13 of file status_effects.qh.
Referenced by CheatImpulse(), Monster_Spawn(), ONREMOVE(), and StatusEffects_new().
| const int StatusEffects_groups_major = 4 |
Definition at line 20 of file status_effects.qh.
Referenced by NET_HANDLE(), STATIC_INIT(), and StatusEffects_Write().
| const int StatusEffects_groups_minor = 8 |
Definition at line 19 of file status_effects.qh.
Referenced by NET_HANDLE(), STATIC_INIT(), and StatusEffects_Write().
| StatusEffect statuseffects_store |
Player statuseffects storage (holds previous state)
Definition at line 15 of file status_effects.qh.
Referenced by StatusEffects_new().