|
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 | SpeedItem |
| class | SpeedStatusEffect |
Functions | |
| void | powerup_speed_init (Pickup def, entity item) |
| REGISTER_ITEM (Speed, NEW(SpeedItem)) | |
| REGISTER_STATUSEFFECT (Speed, NEW(SpeedStatusEffect)) | |
| SOUND (Speed, Item_Sound("powerup_shield")) | |
Definition at line 23 of file speed.qh.
References autocvar_g_balance_powerup_speed_time, autocvar_g_powerups, autocvar_g_powerups_speed, entity(), and ITEM_FLAG_MUTATORBLOCKED.
Referenced by SpeedItem::void().
References NEW, REGISTER_ITEM, and SPAWNFUNC_ITEM.
| REGISTER_STATUSEFFECT | ( | Speed | , |
| NEW(SpeedStatusEffect) | ) |
References NEW, and REGISTER_STATUSEFFECT.
| SOUND | ( | Speed | , |
| Item_Sound("powerup_shield") | ) |
| float autocvar_g_balance_powerup_speed_attack_time_multiplier |
Definition at line 20 of file speed.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_balance_powerup_speed_highspeed |
Definition at line 21 of file speed.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_balance_powerup_speed_time |
Definition at line 22 of file speed.qh.
Referenced by powerup_speed_init(), powerups_DropItem(), and spawnfunc().
| bool autocvar_g_powerups_speed |
Definition at line 19 of file speed.qh.
Referenced by powerup_speed_init().
| float speed_finished |
Definition at line 17 of file speed.qh.
Referenced by Item_Touch(), and spawnfunc().