|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "porto.qh"#include <common/checkextension.qh>#include <common/mapobjects/trigger/jumppads.qh>#include <server/weapons/throwing.qh>Go to the source code of this file.
Functions | |
| MUTATOR_HOOKFUNCTION (porto_ticker, SV_StartFrame) | |
| void | Porto_Draw (entity this) |
| REGISTER_MUTATOR (porto_ticker, true) | |
| STATIC_INIT (Porto) | |
| void | W_Porto_Attack (Weapon thiswep, entity actor,.entity weaponentity, float type) |
| void | W_Porto_Fail (entity this, float failhard) |
| void | W_Porto_Remove (entity p) |
| void | W_Porto_Success (entity this) |
| void | W_Porto_Think (entity this) |
| void | W_Porto_Touch (entity this, entity toucher) |
Variables | |
| vector | polyline [polyline_length] |
| const int | polyline_length = 16 |
| MUTATOR_HOOKFUNCTION | ( | porto_ticker | , |
| SV_StartFrame | ) |
Definition at line 17 of file porto.qc.
References ang, autocvar_chase_active, CheckWireframeBox(), dir, DPCONTENTS_PLAYERCLIP, Draw_CylindricLine(), DRAWFLAG_NORMAL, entity(), intermission, makevectors, max(), MAX_WEAPONSLOTS, polyline_length, Q3SURFACEFLAG_NOIMPACT, Q3SURFACEFLAG_SLICK, reflect(), spectatee_status, STAT, trace_dphitcontents, trace_dphitq3surfaceflags, trace_endpos, trace_plane_normal, v_forward, v_right, v_up, vector, view_angles, view_forward, view_origin, view_up, viewmodels, warpzone_save_view_angles, and WEP_CVAR.
Referenced by STATIC_INIT().
| REGISTER_MUTATOR | ( | porto_ticker | , |
| true | ) |
| STATIC_INIT | ( | Porto | ) |
Definition at line 7 of file porto.qc.
References DPCONTENTS_BODY, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, entity(), g_drawables, IL_PUSH(), new_pure, and Porto_Draw().
Definition at line 286 of file porto.qc.
References autocvar_g_balance_powerup_strength_force, CH_WEAPON_A, CSQCProjectile(), DPCONTENTS_BODY, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, EF_RED, entity(), fixedmakevectors(), fixedvectoangles, FL_PROJECTILE, g_bot_dodge, g_projectiles, IL_PUSH(), lifetime, Weapon::m_id, MOVETYPE_BOUNCEMISSILE, MUTATOR_CALLHOOK, PROJECTILE_MAKETRIGGER, PROJECTILE_PORTO_BLUE, PROJECTILE_PORTO_RED, set_movetype(), setthink, settouch, speed, StatusEffects_active(), time, v_forward, v_right, vectoangles(), W_Porto_Think(), W_Porto_Touch(), W_SetupProjVelocity_Basic, W_SetupShot, w_shotdir, w_shotorg, and WEP_CVAR_BOTH.
Definition at line 108 of file porto.qc.
References cnt, entity(), FL_ITEM, flags, g_items, IL_PUSH(), IS_DEAD, ITEM_D_MAXS, ITEM_D_MINS, NULL, objerror, origin, Portal_ClearWithID(), portal_id, realowner, Send_Notification(), STAT, trace_endpos, trace_plane_normal, trigger_push_calculatevelocity(), vdist, velocity, W_ThrowNewWeapon(), weaponentity_fld, and WEPSET.
Referenced by checkpoint_passed(), W_Porto_Remove(), W_Porto_Think(), and W_Porto_Touch().
Definition at line 146 of file porto.qc.
References entity(), and W_Porto_Fail().
Referenced by Portal_ClearAll(), and Portal_ClearAllLater().
Definition at line 154 of file porto.qc.
References entity(), realowner, trace_plane_normal, and W_Porto_Fail().
Referenced by W_Porto_Attack().
Definition at line 163 of file porto.qc.
References angles, ATTEN_NORM, CH_SHOTS, cnt, CSQCProjectile(), DPCONTENTS_PLAYERCLIP, EF_BLUE, EF_RED, effects, entity(), MOVE_WORLDONLY, PL_MIN_CONST, Portal_ClearAll_PortalsOnly(), portal_id, Portal_SpawnInPortalAtTrace(), Portal_SpawnOutPortalAtTrace(), PROJECTILE_PORTO_BLUE, Q3SURFACEFLAG_NOIMPACT, Q3SURFACEFLAG_SLICK, realowner, right_vector, Send_Notification(), sound, spamsound(), toucher, trace_dphitcontents, trace_dphitq3surfaceflags, trace_ent, trace_fraction, trace_plane_normal, vectoangles(), vector, velocity, VOL_BASE, W_Porto_Fail(), and W_Porto_Success().
Referenced by W_Porto_Attack().
| vector polyline[polyline_length] |
| const int polyline_length = 16 |
Definition at line 15 of file porto.qc.
Referenced by Porto_Draw().