|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Macros | |
| #define | PUSH_VELOCITY_ADD_XY BIT(1) |
| #define | PUSH_VELOCITY_ADD_Z BIT(3) |
| #define | PUSH_VELOCITY_BIDIRECTIONAL_XY BIT(4) |
| #define | PUSH_VELOCITY_BIDIRECTIONAL_Z BIT(5) |
| #define | PUSH_VELOCITY_CLAMP_NEGATIVE_ADDS BIT(6) |
| #define | PUSH_VELOCITY_PLAYERDIR_XY BIT(0) |
| #define | PUSH_VELOCITY_PLAYERDIR_Z BIT(2) |
| #define | Q3_TARGET_PUSH_JUMPPAD BIT(0) |
Functions | |
| spawnfunc (info_notnull) | |
| spawnfunc (target_position) | |
| spawnfunc (target_push) | |
| spawnfunc (trigger_push) | |
| spawnfunc (trigger_push_velocity) | |
| STATIC_INIT (g_jumppads) | |
| void | SUB_UseTargets (entity this, entity actor, entity trigger) |
| vector | trigger_push_calculatevelocity (vector org, entity tgt, float ht, entity pushed_entity) |
| void | trigger_push_findtarget (entity this) |
| bool | trigger_push_test (entity this, entity item) |
| bool | trigger_push_testorigin (entity tracetest_ent, entity targ, entity jp, vector org) |
| bool | trigger_push_testorigin_for_item (entity tracetest_ent, entity item, vector org) |
| void | trigger_push_touch (entity this, entity toucher) |
| void | trigger_push_use (entity this, entity actor, entity trigger) |
Variables | |
| vector | dest |
| IntrusiveList | g_jumppads |
| float | height |
| bool | istypefrag |
| float | jumppadcount |
| entity | jumppadsused [NUM_JUMPPADSUSED] |
| entity | last_pushed |
| const int | NUM_JUMPPADSUSED = 3 |
| const int | PUSH_ONCE = BIT(0) |
| const int | PUSH_SILENT = BIT(1) |
| const int | PUSH_STATIC = BIT(12) |
| float | pushltime |
| #define PUSH_VELOCITY_ADD_XY BIT(1) |
Definition at line 9 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_ADD_Z BIT(3) |
Definition at line 11 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_BIDIRECTIONAL_XY BIT(4) |
Definition at line 12 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_BIDIRECTIONAL_Z BIT(5) |
Definition at line 13 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_CLAMP_NEGATIVE_ADDS BIT(6) |
Definition at line 14 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_PLAYERDIR_XY BIT(0) |
Definition at line 8 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define PUSH_VELOCITY_PLAYERDIR_Z BIT(2) |
Definition at line 10 of file jumppads.qh.
Referenced by trigger_push_velocity_calculatevelocity().
| #define Q3_TARGET_PUSH_JUMPPAD BIT(0) |
Definition at line 16 of file jumppads.qh.
Referenced by spawnfunc().
| spawnfunc | ( | info_notnull | ) |
| spawnfunc | ( | target_position | ) |
Definition at line 941 of file jumppads.qc.
References target_push_init().
| spawnfunc | ( | target_push | ) |
Definition at line 901 of file jumppads.qc.
References absmax, absmin, entity(), g_jumppads, IL_PUSH(), InitializeEntity(), INITPRIO_FINDTARGET, movedir, noise, precache_sound(), Q3_TARGET_PUSH_JUMPPAD, Q3COMPAT_COMMON, SetMovedir(), spawnflags, speed, target, target_push_init(), target_push_use(), targetname, trigger_push_findtarget(), and use.
| spawnfunc | ( | trigger_push | ) |
Definition at line 815 of file jumppads.qc.
References active, ACTIVE_ACTIVE, BITSET_ASSIGN, EF_NODEPTHTEST, effects, g_jumppads, IL_PUSH(), InitializeEntity(), INITPRIO_FINDTARGET, movedir, noise, precache_sound(), SetMovedir(), settouch, speed, trigger_push_findtarget(), trigger_push_link(), trigger_push_touch(), trigger_push_use(), use, and WarpZoneLib_ExactTrigger_Init().
| spawnfunc | ( | trigger_push_velocity | ) |
Definition at line 849 of file jumppads.qc.
References active, ACTIVE_ACTIVE, BITSET_ASSIGN, EF_NODEPTHTEST, effects, noise, precache_sound(), settouch, trigger_push_use(), trigger_push_velocity_link(), trigger_push_velocity_touch(), use, and WarpZoneLib_ExactTrigger_Init().
| STATIC_INIT | ( | g_jumppads | ) |
Definition at line 344 of file triggers.qc.
References entity(), and SUB_UseTargets_Ex().
Referenced by assault_objective_decrease_use(), assault_roundstart_use(), button_wait(), CheatCommand(), checkpoint_passed(), counter_use(), delay_delayeduse(), dompoint_captured(), door_go_up(), door_rotating_go_up(), fd_secret_use(), flipflop_use(), fragsfilter_use(), func_breakable_destroy(), gamestart_use(), item_key_touch(), Item_Touch(), jumppad_push(), misc_laser_think(), monoflop_fixed_use(), monoflop_think(), monoflop_use(), Monster_Damage(), multi_trigger(), multivibrator_send(), multivibrator_toggle(), ons_ControlPoint_Icon_BuildThink(), ons_ControlPoint_Icon_Damage(), ons_ControlPoint_Icon_Think(), ons_ControlPoint_Reset(), PutPlayerInServer(), relay_use(), target_init_use(), target_teleport_use(), Teleport_Touch(), train_wait(), trigger_magicear_processmessage(), trigger_relay_if_use(), trigger_relay_teamcheck_use(), and trigger_secret_touch().
Definition at line 32 of file jumppads.qc.
Referenced by jumppad_push(), trigger_push_get_push_time(), trigger_push_test(), and trigger_push_velocity_calculatevelocity().
Definition at line 753 of file jumppads.qc.
References entity(), NULL, and trigger_push_test().
Referenced by spawnfunc(), and spawnfunc().
Definition at line 579 of file jumppads.qc.
References absmax, absmin, autocvar_sv_maxspeed, boxesoverlap(), defer(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), eZ, fabs(), find(), height, LABEL, min(), movedir, MOVETYPE_NONE, normalize(), NULL, objerror, org, PL_MAX_CONST, PL_MIN_CONST, spawn, target, targetname, team, trace_endpos, trace_ent, trigger_push_calculatevelocity(), trigger_push_get_start_point(), trigger_push_testorigin(), trigger_push_testorigin_for_item(), trigger_push_updatelink(), vdist, vec2, vector, vlen(), and waypoint_spawnforteleporter().
Referenced by trigger_push_findtarget().
Definition at line 477 of file jumppads.qc.
References autocvar_sv_maxspeed, entity(), eZ, org, stepheightvec, trace_endpos, trace_startsolid, vdist, vec2, and vector.
Referenced by trigger_push_test().
Definition at line 513 of file jumppads.qc.
References entity(), eZ, org, trace_endpos, trace_ent, trace_startsolid, and vector.
Referenced by trigger_push_test().
Definition at line 438 of file jumppads.qc.
References active, ACTIVE_NOT, DIFF_TEAM, entity(), EXACTTRIGGER_TOUCH, func_null(), INVERT_TEAMS, jumppad_push(), nextthink, PUSH_ONCE, setthink, settouch, spawnflags, SUB_Remove(), team, time, and toucher.
Referenced by spawnfunc().
Definition at line 6 of file jumppads.qc.
References entity(), SendFlags, SF_TRIGGER_UPDATE, team, and teamplay.
Referenced by spawnfunc(), and spawnfunc().
| vector dest |
Definition at line 54 of file jumppads.qh.
Referenced by Container_moveItemAfter(), get_closer_dest(), rainsnow_SendEntity(), setkeydest(), soundto(), soundtoat(), spawnfunc(), spawnfunc(), SurvivalStatuses_SendEntity(), waypoint_spawnforteleporter_wz(), WriteAngle(), WriteByte(), WriteChar(), WriteCoord(), WriteEntity(), WriteLong(), WriteShort(), and WriteString().
| IntrusiveList g_jumppads |
Definition at line 18 of file jumppads.qh.
Referenced by spawnfunc(), spawnfunc(), STATIC_INIT(), waypoint_addlink_for_custom_jumppad(), waypoint_get_type_name(), and waypoint_spawn_fromeditor().
| float height |
Definition at line 23 of file jumppads.qh.
| bool istypefrag |
Definition at line 22 of file jumppads.qh.
Referenced by PlayerDamage(), and PutObserverInServer().
| float jumppadcount |
Definition at line 28 of file jumppads.qh.
Referenced by havocbot_ai(), havocbot_checkdanger(), havocbot_movetogoal(), navigation_poptouchedgoals(), PlayerJump(), sys_phys_land(), and sys_phys_update().
| entity jumppadsused[NUM_JUMPPADSUSED] |
Definition at line 29 of file jumppads.qh.
| entity last_pushed |
Definition at line 25 of file jumppads.qh.
Referenced by SV_PlayerPhysics().
| const int NUM_JUMPPADSUSED = 3 |
Definition at line 27 of file jumppads.qh.
Referenced by jumppad_push().
Definition at line 4 of file jumppads.qh.
Referenced by trigger_push_touch().
Definition at line 5 of file jumppads.qh.
Definition at line 6 of file jumppads.qh.
Referenced by jumppad_push().
| float pushltime |
Definition at line 21 of file jumppads.qh.
Referenced by _Movetype_PushMove(), jumppad_push(), kh_Key_Damage(), napalm_ball_think(), PlayerDamage(), PutObserverInServer(), PutPlayerInServer(), W_Devastator_Think(), W_Fireball_Firemine_Think(), and W_Fireball_Think().