|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/items/all.qh>#include <common/mutators/mutator/powerups/powerups.qh>#include <common/constants.qh>#include <server/items/items.qh>Go to the source code of this file.
Classes | |
| class | ShieldItem |
| class | ShieldStatusEffect |
Functions | |
| MODEL (Shield_ITEM, Item_Model("g_invincible.md3")) | |
| void | powerup_shield_init (Pickup def, entity item) |
| REGISTER_ITEM (Shield, NEW(ShieldItem)) | |
| REGISTER_STATUSEFFECT (Shield, NEW(ShieldStatusEffect)) | |
| SOUND (Shield, Item_Sound("powerup_shield")) | |
Variables | |
| float | autocvar_g_balance_powerup_invincible_takedamage |
| float | autocvar_g_balance_powerup_invincible_takeforce |
| float | autocvar_g_balance_powerup_invincible_time |
| bool | autocvar_g_powerups_shield |
| MODEL | ( | Shield_ITEM | , |
| Item_Model("g_invincible.md3") | ) |
Definition at line 21 of file shield.qh.
References autocvar_g_balance_powerup_invincible_time, autocvar_g_powerups, autocvar_g_powerups_shield, entity(), and ITEM_FLAG_MUTATORBLOCKED.
Referenced by ShieldItem::void().
| REGISTER_ITEM | ( | Shield | , |
| NEW(ShieldItem) | ) |
References NEW, REGISTER_ITEM, and SPAWNFUNC_ITEM.
| REGISTER_STATUSEFFECT | ( | Shield | , |
| NEW(ShieldStatusEffect) | ) |
References NEW, and REGISTER_STATUSEFFECT.
| SOUND | ( | Shield | , |
| Item_Sound("powerup_shield") | ) |
| float autocvar_g_balance_powerup_invincible_takedamage |
Definition at line 18 of file shield.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_balance_powerup_invincible_takeforce |
Definition at line 19 of file shield.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_balance_powerup_invincible_time |
Definition at line 20 of file shield.qh.
Referenced by powerup_shield_init(), powerups_DropItem(), and spawnfunc().
| bool autocvar_g_powerups_shield |
Definition at line 17 of file shield.qh.
Referenced by powerup_shield_init().