Xonotic
|
#include "items.qh"
#include <client/main.qh>
#include <common/items/_mod.qh>
#include <common/physics/movetypes/movetypes.qh>
#include <common/weapons/_all.qh>
#include <lib/csqcmodel/cl_model.qh>
#include <lib/csqcmodel/common.qh>
#include <lib/warpzone/common.qh>
Go to the source code of this file.
Macros | |
#define | extensions(x) |
#define | tryext(ext) |
Functions | |
void | Item_PreDraw (entity this) |
void | Item_SetAlpha (entity this) |
void | ItemDraw (entity this) |
void | ItemRemove (entity this) |
NET_HANDLE (ENT_CLIENT_ITEM, bool isnew) | |
SHUTDOWN (ENT_CLIENT_ITEM_simple) | |
STATIC_INIT (ENT_CLIENT_ITEM_simple) | |
Variables | |
float | alpha |
bool | autocvar_cl_ghost_items_vehicle = true |
HashMap | ENT_CLIENT_ITEM_simple |
vector | item_glowmod |
bool | item_simple |
bool | pushable |
#define extensions | ( | x | ) |
Referenced by NET_HANDLE().
#define tryext | ( | ext | ) |
Referenced by NET_HANDLE().
Definition at line 86 of file items.qc.
References alpha, bound(), drawmask, fade_end, fade_start, func_null(), hud, maxs, mins, origin, setpredraw, vdist, vector(), VF_ORIGIN, vlen(), and warpzone_warpzones_exist.
Referenced by NET_HANDLE().
Definition at line 16 of file items.qc.
References alpha, autocvar_cl_ghost_items, autocvar_cl_ghost_items_color, autocvar_cl_ghost_items_vehicle, autocvar_cl_weapon_stay_alpha, autocvar_cl_weapon_stay_color, colormod, drawmask, glowmod, hud, item_glowmod, and MASK_NORMAL.
Referenced by ItemDraw(), and NET_HANDLE().
Definition at line 41 of file items.qc.
References angles, autocvar_cl_animate_items, avelocity, bound(), frametime, gravity, IS_ONGROUND, Item_SetAlpha(), item_simple, Movetype_Physics_MatchServer(), oldorigin, onground_time, origin, setorigin(), sin(), and time.
Referenced by NET_HANDLE().
Definition at line 117 of file items.qc.
References strfree.
Referenced by NET_HANDLE().
NET_HANDLE | ( | ENT_CLIENT_ITEM | , |
bool | isnew | ||
) |
Definition at line 132 of file items.qc.
References angles, autocvar_cl_animate_items, autocvar_cl_items_nofade, autocvar_cl_simple_items, avelocity, classname, colormap, drawmask, EF_ADDITIVE, EF_FULLBRIGHT, effects, extensions, fade_end, fade_start, g_drawables, gravity, IL_PUSH(), Item_PreDraw(), Item_SetAlpha(), item_simple, ItemDraw(), ItemRemove(), LOG_TRACEF, LOG_WARNF, MASK_NORMAL, max(), move_time, MOVETYPE_TOSS, oldorigin, pushable, ReadString, set_movetype(), setorigin(), setpredraw, skin, solid, SOLID_TRIGGER, spawntime, strcpy, strfree, strlen(), substring(), time, tryext, vector(), velocity, and warpzone_warpzones_exist.
SHUTDOWN | ( | ENT_CLIENT_ITEM_simple | ) |
STATIC_INIT | ( | ENT_CLIENT_ITEM_simple | ) |
float alpha |
Definition at line 14 of file items.qc.
Referenced by AuxiliaryXhair_Draw2D(), buff_Customize(), buffs_BuffModel_Customize(), buffs_BuffModel_Think(), buffs_BuffModel_Update(), CL_ExteriorWeaponentity_Think(), CL_Weaponentity_Think(), CopyBody(), CSQCModel_Effects_Apply(), DamageText::DamageText_update(), Draw_ShowNames(), DrawAmmoItem(), GameTypeVote_DrawGameTypeItem(), HUD_Mod_KH(), HUD_Notify(), Item_PreDraw(), Item_SetAlpha(), NET_HANDLE(), physical_item_think(), player_powerups(), PlayerCorpseDamage(), PlayerDamage(), PutObserverInServer(), PutPlayerInServer(), respawn(), shieldhit_think(), SUB(), SUB_SetFade_Think(), turret_construct(), turret_draw2d(), turret_gib_draw(), UpdateChatBubble(), vehicles_gib_think(), vehicles_reset_colors(), W_Model(), and WarpZone_Fade_PreDraw().
Definition at line 11 of file items.qc.
Referenced by Item_SetAlpha().
HashMap ENT_CLIENT_ITEM_simple |
Definition at line 122 of file items.qc.
Referenced by SHUTDOWN(), and STATIC_INIT().
vector item_glowmod |
Definition at line 12 of file items.qc.
Referenced by Item_SetAlpha().
bool item_simple |
Definition at line 13 of file items.qc.
Referenced by ItemDraw(), and NET_HANDLE().
bool pushable |
Definition at line 15 of file items.qc.
Referenced by NET_HANDLE(), and spawnfunc().