|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/models/all.qh>#include <common/sounds/all.qh>#include <common/sounds/all.inc>#include <common/stats.qh>#include <server/items/spawning.qh>#include <menu/draw.qh>Go to the source code of this file.
Classes | |
| class | GameItem |
Macros | |
| #define | ITEM_HANDLE(signal, ...) |
| #define | SPAWNFUNC_BODY(item) |
| #define | SPAWNFUNC_ITEM(name, item) |
Enumerations | |
| enum | { ITEM_FLAG_NORMAL = BIT(0) , ITEM_FLAG_MUTATORBLOCKED = BIT(1) , ITEM_FLAG_RESOURCE = BIT(2) } |
| #define ITEM_HANDLE | ( | signal, | |
| ... ) |
Definition at line 125 of file item.qh.
Referenced by ctf_FlagTouch(), Dump_Items(), and Item_Touch().
| #define SPAWNFUNC_BODY | ( | item | ) |
Definition at line 97 of file item.qh.
| #define SPAWNFUNC_ITEM | ( | name, | |
| item ) |
Definition at line 106 of file item.qh.
Referenced by REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), REGISTER_ITEM(), and REGISTER_ITEM().
| anonymous enum |
| Enumerator | |
|---|---|
| ITEM_FLAG_NORMAL | Item is usable during normal gameplay. |
| ITEM_FLAG_MUTATORBLOCKED | |
| ITEM_FLAG_RESOURCE | Item is is a resource, not a held item. |
Definition at line 118 of file item.qh.
| float buffs_finished |
Definition at line 95 of file item.qh.
Referenced by buff_Init(), buff_Touch(), and spawnfunc().
| float fade_end |
Definition at line 87 of file item.qh.
Referenced by g_clientmodel_genericsendentity(), ItemDraw(), ItemSend(), NET_HANDLE(), rainsnow_SendEntity(), and StartItem().
| float fade_start |
Definition at line 86 of file item.qh.
Referenced by g_clientmodel_genericsendentity(), HUD_Notify(), and ItemDraw().
| float invincible_finished |
Definition at line 94 of file item.qh.
Referenced by Item_Touch(), spawnfunc(), and StartItem().
Definition at line 55 of file item.qh.
Referenced by ItemSend(), NET_HANDLE(), and StartItem().
Definition at line 53 of file item.qh.
Referenced by ItemSend(), NET_HANDLE(), and StartItem().
Definition at line 54 of file item.qh.
Referenced by ItemSend(), and NET_HANDLE().
Definition at line 50 of file item.qh.
Referenced by ItemSend(), ItemUpdate(), and NET_HANDLE().
Definition at line 49 of file item.qh.
Referenced by Item_Touch(), NET_HANDLE(), and RemoveItem().
Definition at line 56 of file item.qh.
Referenced by ItemSend(), and NET_HANDLE().
Definition at line 51 of file item.qh.
Referenced by ItemSend(), and NET_HANDLE().
Definition at line 52 of file item.qh.
Referenced by Item_Show(), Item_Think(), ItemSend(), and NET_HANDLE().
| const float IT_DESPAWNFX_TIME = 1.5 |
Definition at line 72 of file item.qh.
Referenced by Item_Think(), and ItemDraw().
Definition at line 28 of file item.qh.
Referenced by Item_GiveTo().
Definition at line 26 of file item.qh.
Referenced by havocbot_movetogoal(), Item_GiveTo(), and navigation_routetogoal().
| const int IT_PICKUPMASK = IT_UNLIMITED_AMMO | IT_UNLIMITED_SUPERWEAPONS | IT_JETPACK | IT_FUEL_REGEN |
Definition at line 46 of file item.qh.
Referenced by Item_GiveTo().
Definition at line 30 of file item.qh.
Referenced by Item_Touch().
Definition at line 41 of file item.qh.
Referenced by player_powerups(), player_powerups_remove_all(), and spawnfunc().
Definition at line 23 of file item.qh.
Referenced by buff_Available(), CheckPlayerJump(), client_hasweapon(), GiveItems(), havocbot_chooseweapon_checkreload(), havocbot_goalrating_item_can_be_left_to_teammate(), havocbot_movetogoal(), HUD_Ammo(), instagib_ammocheck(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), NIX_GiveCurrentWeapon(), player_powerups_remove_all(), player_regen(), PM_jetpack(), readplayerstartcvars(), spawnfunc(), TEST(), W_Arc_Beam_Think(), W_DecreaseAmmo(), W_Devastator_DoRemoteExplode(), W_Devastator_Explode(), W_Hagar_Attack2_Load(), W_Hagar_Attack_Auto(), W_HLAC_Attack_Frame(), W_MachineGun_Attack_Auto(), W_MachineGun_Attack_Frame(), W_MineLayer_DoRemoteExplode(), W_MineLayer_Explode(), W_OverkillHeavyMachineGun_Attack_Auto(), W_OverkillMachineGun_Attack_Auto(), W_Reload(), W_ReloadedAndReady(), W_Seeker_Vollycontroller_Think(), W_Shotgun_Attack3_Frame1(), W_Shotgun_Attack3_Frame2(), weapon_prepareattack_checkammo(), and Weapons_Draw().
Definition at line 24 of file item.qh.
Referenced by GiveItems(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), player_powerups(), player_powerups_remove_all(), readplayerstartcvars(), spawnfunc(), W_OverkillHeavyMachineGun_Attack_Auto(), and W_ThrowNewWeapon().
| const float IT_UPDATE_INTERVAL = 0.0625 |
Definition at line 76 of file item.qh.
Referenced by Item_Think(), and StartItem().
Definition at line 27 of file item.qh.
Referenced by CheckPlayerJump(), player_powerups(), PM_jetpack(), SV_PlayerPhysics(), sys_phys_update(), and vehicles_enter().
| const vector ITEM_D_MAXS = '30 30 48' |
Definition at line 83 of file item.qh.
Referenced by NET_HANDLE(), and W_Porto_Fail().
| const vector ITEM_D_MINS = '-30 -30 0' |
Definition at line 82 of file item.qh.
Referenced by buff_Init(), buff_Think(), NET_HANDLE(), and W_Porto_Fail().
| const vector ITEM_L_MAXS = '30 30 70' |
Definition at line 84 of file item.qh.
Referenced by buff_Init(), buff_Think(), ItemSend(), and NET_HANDLE().
| const vector ITEM_S_MAXS = '24 24 48' |
Definition at line 81 of file item.qh.
Referenced by ItemSend(), and NET_HANDLE().
| const vector ITEM_S_MINS = '-24 -24 0' |
Definition at line 80 of file item.qh.
Referenced by NET_HANDLE().
| int ItemStatus |
Definition at line 61 of file item.qh.
Referenced by Item_Think(), ItemDraw(), ItemSend(), NET_HANDLE(), and StartItem().
Definition at line 66 of file item.qh.
Referenced by Item_Show(), and NET_HANDLE().
Definition at line 67 of file item.qh.
Referenced by Item_Show(), and ItemDraw().
Definition at line 63 of file item.qh.
Referenced by ItemDraw(), and StartItem().
Definition at line 64 of file item.qh.
Referenced by ItemDraw(), and StartItem().
Definition at line 65 of file item.qh.
Referenced by Item_Show(), ItemDraw(), NET_HANDLE(), and Weapon_whereis().
Definition at line 69 of file item.qh.
Referenced by Item_Think(), and ItemDraw().
Definition at line 68 of file item.qh.
Referenced by Item_Show(), and NET_HANDLE().
Definition at line 62 of file item.qh.
Referenced by Item_Show(), and ItemDraw().
| string mdl |
Definition at line 89 of file item.qh.
Referenced by assault_wall_think(), Gametype::ATTRIB(), Turret::ATTRIB(), ChatBubbleThink(), func_breakable_look_restore(), func_breakable_setup(), ItemRemove(), ItemSend(), ItemSetModel(), Monster_Spawn(), NET_HANDLE(), pointparticles_SendEntity(), spawn_item_key(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), StartItem(), and vehicle_initialize().
| float strength_finished |
Definition at line 93 of file item.qh.
Referenced by Item_Touch(), spawnfunc(), and StartItem().