|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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 | ItemDraw (entity this) |
| void | ItemRemove (entity this) |
| void | ItemSetModel (entity this, bool wantsimple) |
| NET_HANDLE (ENT_CLIENT_ITEM, bool isnew) | |
| SHUTDOWN (ENT_CLIENT_ITEM_simple) | |
| STATIC_INIT (ENT_CLIENT_ITEM_simple) | |
| #define extensions | ( | x | ) |
Referenced by _Sound_fixpath(), and ItemSetModel().
| #define tryext | ( | ext | ) |
Referenced by _Sound_fixpath(), and ItemSetModel().
Definition at line 76 of file items.qc.
References alpha, angles, angles_held, anim_start_time, autocvar_cl_ghost_items, autocvar_cl_ghost_items_color, autocvar_cl_items_animate, autocvar_cl_items_fadedist, autocvar_cl_items_vehicle_alpha, autocvar_cl_items_vehicle_color, autocvar_cl_simple_items, autocvar_cl_weapon_stay_alpha, autocvar_cl_weapon_stay_color, avelocity, bound(), colormod, delay, drawmask, entity(), fade_end, fade_start, frametime, glowmod, hud, IS_ONGROUND, IT_DESPAWNFX_TIME, item_glowmod, item_simple, ItemSetModel(), ItemStatus, ITS_ALLOWSI, ITS_ANIMATE1, ITS_ANIMATE2, ITS_AVAILABLE, ITS_EXPIRING, ITS_STAYWEP, m_maxs, m_mins, MASK_NORMAL, max(), maxs, mins, move_movetype, Movetype_Physics_NoMatchTicrate(), oldorigin, org, origin, pointparticles, pointtime, sin(), time, vdist, vector, velocity, VF_ORIGIN, vlen(), wait, and warpzone_warpzones_exist.
Referenced by NET_HANDLE().
Definition at line 30 of file items.qc.
References classname, entity(), extensions, item_simple, LOG_TRACEF, LOG_WARNF, m_maxs, m_mins, mdl, model, strlen, substring(), and tryext.
Referenced by ItemDraw().
| NET_HANDLE | ( | ENT_CLIENT_ITEM | , |
| bool | isnew ) |
Definition at line 220 of file items.qc.
References absmax, absmin, alpha, angles, angles_held, colormap, drawmask, EF_ADDITIVE, EF_FULLBRIGHT, effects, fade_end, FL_ITEM, flags, g_drawables, gravity, IL_PUSH(), IL_REMOVE(), ISF_ANGLES, ISF_COLORMAP, ISF_DROP, ISF_LOCATION, ISF_REMOVEFX, ISF_SIZE, ISF_SIZE2, ISF_STATUS, ITEM_D_MAXS, ITEM_D_MINS, ITEM_L_MAXS, ITEM_S_MAXS, ITEM_S_MINS, item_simple, ItemDraw(), ItemRemove(), ItemStatus, ITS_ALLOWFB, ITS_AVAILABLE, ITS_GLOW, m_maxs, m_mins, mdl, MOVETYPE_NONE, MOVETYPE_TOSS, oldorigin, origin, pointparticles, pushable, ReadAngleVector, ReadByte(), ReadString, ReadVector, set_movetype(), SET_ONGROUND, skin, solid, SOLID_NOT, SOLID_TRIGGER, strcpy, and velocity.
| SHUTDOWN | ( | ENT_CLIENT_ITEM_simple | ) |
Definition at line 25 of file items.qc.
References ENT_CLIENT_ITEM_simple, and HM_DELETE.
| STATIC_INIT | ( | ENT_CLIENT_ITEM_simple | ) |
Definition at line 21 of file items.qc.
References ENT_CLIENT_ITEM_simple, and HM_NEW.
| float alpha |
Definition at line 13 of file items.qc.
Referenced by AuxiliaryXhair_Draw2D(), buff_Customize(), buffs_BuffModel_Customize(), buffs_BuffModel_Think(), buffs_BuffModel_Update(), Button_draw(), Casing_Draw(), CL_ExteriorWeaponentity_Think(), CL_Weaponentity_Think(), classfield(), classfield(), CopyBody(), cpicon_construct(), cpicon_draw(), CSQCModel_Effects_Apply(), Draw_ShowNames(), Draw_WaypointSprite(), DrawAmmoItem(), drawcharacter(), drawcolorcodedstring(), drawcolorcodedstring2(), drawfill(), drawpic(), drawstring(), drawsubpic(), float(), float(), float(), float(), GameTypeVote_DrawGameTypeItem(), generator_construct(), Gib_Draw(), HUD_Chat(), HUD_Mod_KH(), HUD_Notify(), ItemDraw(), ka_BallThink_Carried(), laser_SendEntity(), ModelEffect_Draw(), modeleffect_SendEntity(), nade_customize(), NET_HANDLE(), NET_HANDLE(), ons_generator_ray_draw(), orb_draw(), physical_item_think(), player_powerups(), PlayerCorpseDamage(), PlayerDamage(), Projectile_Draw(), Projectile_DrawTrail(), PutObserverInServer(), PutPlayerInServer(), raptor_blowup(), RaptorCBShellfragDraw(), respawn(), shieldhit_think(), spawnfunc(), spiderbot_blowup(), spiderbot_headfade(), StrafeHUD_DrawAngleIndicator(), StrafeHUD_DrawAngleIndicatorArrow(), StrafeHUD_DrawAngleIndicatorLine(), StrafeHUD_DrawGradient(), StrafeHUD_DrawSoftGradient(), StrafeHUD_DrawStrafeArrow(), StrafeHUD_DrawStrafeHUD(), StrafeHUD_DrawTextIndicator(), SUB(), SUB(), SUB_SetFade_Think(), tka_BallThink_Carried(), turret_construct(), turret_draw2d(), turret_gib_draw(), UpdateChatBubble(), vector(), vehicles_gib_think(), vehicles_reset_colors(), void(), void(), W_MuzzleFlash_Model_Think(), and WarpZone_Fade_PreDraw().
| vector angles_held |
Definition at line 16 of file items.qc.
Referenced by ItemDraw(), and NET_HANDLE().
| float anim_start_time |
Definition at line 15 of file items.qc.
Referenced by ewheel_move_idle(), ItemDraw(), turret_construct(), turret_send(), and turrets_setframe().
| float delay |
Definition at line 17 of file items.qc.
Referenced by dompoint_captured(), dompointthink(), float(), float(), ItemDraw(), racer_blowup_think(), round_handler_Init(), round_handler_Think(), spawnfunc(), spawnfunc(), SUB_UseTargets_Ex(), target_voicescript_use(), trigger_heal_init(), trigger_heal_touch(), trigger_keylock_touch(), W_Blaster_Attack(), W_Electro_Bolt_Think(), W_Electro_Orb_Damage(), and W_Electro_TriggerCombo().
| HashMap ENT_CLIENT_ITEM_simple |
Definition at line 20 of file items.qc.
Referenced by SHUTDOWN(), and STATIC_INIT().
| vector item_glowmod |
Definition at line 11 of file items.qc.
Referenced by ItemDraw().
| int item_simple |
Definition at line 12 of file items.qc.
Referenced by ItemDraw(), ItemSetModel(), and NET_HANDLE().
| vector m_maxs |
Definition at line 18 of file items.qc.
Referenced by ctf_FlagThink(), ItemDraw(), ItemSetModel(), and NET_HANDLE().
| vector m_mins |
Definition at line 18 of file items.qc.
Referenced by ctf_FlagThink(), ItemDraw(), ItemSetModel(), and NET_HANDLE().
| float pointtime |
Definition at line 17 of file items.qc.
Referenced by classfield(), Draw_ShowNames(), and ItemDraw().
| bool pushable |
Definition at line 14 of file items.qc.
Referenced by NET_HANDLE(), spawnfunc(), and spawnfunc().
| float wait |
Definition at line 17 of file items.qc.
Referenced by bumblebee_diethink(), bumblebee_regen(), button_setactive(), button_wait(), corner_send(), delay_use(), dom_controlpoint_setup(), dompoint_captured(), dompointthink(), door_generic_plat_blocked(), door_go_up(), door_hit_top(), door_init_shared(), door_rotating_go_up(), door_rotating_hit_top(), door_send(), fd_secret_move3(), Item_RespawnThink(), Item_Think(), ItemDraw(), ka_TouchEvent(), M_Mage_Attack_Spike_Think(), monoflop_fixed_use(), monoflop_use(), multi_trigger(), multivibrator_send(), nade_beep(), nade_timer_think(), ons_GeneratorThink(), powerups_DropItem_Think(), raptor_diethink(), round_handler_Reset(), round_handler_Spawn(), round_handler_Think(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spiderbot_rocket_do(), StartItem(), tka_TouchEvent(), train_next(), train_send(), train_wait(), trigger_keylock_touch(), W_MineLayer_Damage(), W_MineLayer_Touch(), and W_Seeker_Missile_Think().