|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "waypoints.qh"#include <common/animdecide.qh>#include <common/constants.qh>#include <common/debug.qh>#include <common/gametypes/_mod.qh>#include <common/mapobjects/trigger/jumppads.qh>#include <common/net_linked.qh>#include <common/physics/player.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/weapons/_all.qh>#include <lib/warpzone/common.qh>#include <lib/warpzone/util_server.qh>#include <server/antilag.qh>#include <server/bot/default/bot.qh>#include <server/bot/default/cvars.qh>#include <server/bot/default/navigation.qh>#include <server/items/items.qh>#include <server/spawnpoints.qh>#include <server/weapons/tracing.qh>Go to the source code of this file.
Macros | |
| #define | GET_GAMETYPE_EXTENSION() |
| #define | waypoint_fixorigin(position, tracetest_ent) |
Variables | |
| entity | botframe_autowaypoints_lastwp1 |
| float | createdtime |
| entity | spawnpointmodel |
| bool | start_wp_is_hardwired |
| bool | start_wp_is_spawned |
| bool | start_wp_is_support |
| vector | start_wp_origin |
| #define GET_GAMETYPE_EXTENSION | ( | ) |
Definition at line 1314 of file waypoints.qc.
Referenced by waypoint_load_hardwiredlinks(), waypoint_load_links(), waypoint_loadall(), waypoint_save_hardwiredlinks(), waypoint_save_links(), and waypoint_saveall().
| #define waypoint_fixorigin | ( | position, | |
| tracetest_ent ) |
Definition at line 1957 of file waypoints.qc.
Referenced by waypoint_spawnforitem_force(), waypoint_spawnforteleporter(), and waypoint_spawnpersonal().
| void botframe_autowaypoints | ( | ) |
Definition at line 2467 of file waypoints.qc.
References autocvar_g_waypointeditor_auto, botframe_autowaypoints_fix(), botframe_autowaypoints_lastwp1, botframe_deleteuselesswaypoints(), FOREACH_CLIENT, IS_DEAD, IS_PLAYER, and IS_REAL_CLIENT.
Referenced by bot_serverframe().
Definition at line 2222 of file waypoints.qc.
References boxesoverlap(), entity(), g_waypoints, IL_EACH, vector, waypoint_schedulerelink(), and waypoint_spawn().
Referenced by botframe_autowaypoints_fix().
Definition at line 2370 of file waypoints.qc.
References botframe_autowaypoints_createwp(), botframe_autowaypoints_fix_from(), botframe_autowaypoints_fixdown(), entity(), LOG_INFO, NULL, trace_endpos, and WAYPOINTFLAG_PROTECTED.
Referenced by botframe_autowaypoints().
Definition at line 2239 of file waypoints.qc.
References botframe_autowaypoints_fixdown(), entity(), etos(), g_waypoints, IL_EACH, LOG_INFO, navigation_waypoint_will_link(), trace_endpos, vector, vlen(), and WPFLAGMASK_NORELINK.
Referenced by botframe_autowaypoints_fix().
Definition at line 2214 of file waypoints.qc.
References MOVE_NOMONSTERS, NULL, PL_MAX_CONST, PL_MIN_CONST, trace_fraction, and vector.
Referenced by botframe_autowaypoints_fix(), and botframe_autowaypoints_fix_from().
| void botframe_deleteuselesswaypoints | ( | ) |
Definition at line 2385 of file waypoints.qc.
References g_items, g_waypoints, IL_EACH, WAYPOINTFLAG_DEAD_END, WAYPOINTFLAG_ITEM, WAYPOINTFLAG_LADDER, WAYPOINTFLAG_PERSONAL, WAYPOINTFLAG_PROTECTED, WAYPOINTFLAG_TELEPORT, and WAYPOINTFLAG_USEFUL.
Referenced by botframe_autowaypoints().
| void botframe_showwaypointlinks | ( | ) |
Definition at line 2151 of file waypoints.qc.
References autocvar_sv_maxspeed, botframe_waypointeditorlightningtime, entity(), FOREACH_CLIENT, if(), IS_PLAYER, NULL, time, vdist, and vec2.
Referenced by bot_serverframe().
Definition at line 2129 of file waypoints.qc.
References entity(), g_waypoints, IL_EACH, NULL, SOLID_BSP, SOLID_TRIGGER, trace_endpos, trace_ent, and WarpZone_crosshair_trace().
Referenced by waypoint_lock(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().
| spawnfunc | ( | waypoint | ) |
Definition at line 1292 of file waypoints.qc.
References g_waypoints, IL_PUSH(), origin, and waypoint_clearlinks().
| STATIC_INIT | ( | waypoints | ) |
Definition at line 23 of file waypoints.qc.
References autocvar_g_waypointeditor, and waypointeditor_enabled.
Definition at line 541 of file jumppads.qc.
References DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, enemy, entity(), height, movedir, NULL, org, PHYS_GRAVITY, PL_MAX_CONST, PL_MIN_CONST, spawn, sqrt(), target, team, trigger_push_calculatevelocity(), trigger_push_get_start_point(), and vector.
Referenced by waypoint_addlink_for_custom_jumppad().
Definition at line 1133 of file waypoints.qc.
References entity(), waypoint_addlink_customcost(), waypoint_addlink_for_custom_jumppad(), WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, and WPFLAGMASK_NORELINK.
Referenced by waypoint_load_hardwiredlinks(), waypoint_load_links(), waypoint_restore_hardwiredlinks(), waypoint_spawn_fromeditor(), and waypoint_think().
Definition at line 1088 of file waypoints.qc.
References entity(), waypoint_getlinkcost(), waypoint_islinked(), WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, and WPFLAGMASK_NORELINK.
Referenced by waypoint_addlink().
Definition at line 498 of file waypoints.qc.
References boxesoverlap(), entity(), g_jumppads, IL_EACH, NULL, and trigger_push_get_push_time().
Referenced by waypoint_addlink().
Definition at line 521 of file waypoints.qc.
References entity(), LOG_INFO, NULL, start_wp_is_hardwired, start_wp_is_spawned, start_wp_is_support, and start_wp_origin.
Referenced by waypoint_remove_fromeditor(), and waypoint_spawn_fromeditor().
Definition at line 1253 of file waypoints.qc.
References entity(), and NULL.
Referenced by spawnfunc(), waypoint_schedulerelink(), and waypoint_spawn().
Definition at line 1960 of file waypoints.qc.
References entity(), MOVE_NOMONSTERS, PL_MAX_CONST, PL_MIN_CONST, trace_endpos, trace_fraction, trace_startsolid, and vector.
Referenced by waypoint_spawnforteleporter_wz().
Definition at line 420 of file waypoints.qc.
References boxesoverlap(), entity(), g_waypoints, IL_EACH, NULL, and vector.
Referenced by waypoint_spawn(), and waypoint_spawn_fromeditor().
Definition at line 1581 of file waypoints.qc.
References entity().
Definition at line 1621 of file waypoints.qc.
References entity(), and NULL.
Referenced by waypoint_save_hardwiredlinks().
Definition at line 397 of file waypoints.qc.
References boxesoverlap(), entity(), g_jumppads, IL_EACH, waypoint_has_hardwiredlinks(), WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_ITEM, WAYPOINTFLAG_JUMP, WAYPOINTFLAG_LADDER, WAYPOINTFLAG_SUPPORT, and WAYPOINTFLAG_TELEPORT.
Referenced by waypoint_spawn_fromeditor().
Definition at line 1010 of file waypoints.qc.
References autocvar_bot_ai_bunnyhop_skilloffset, autocvar_sv_maxspeed, and skill.
Referenced by func_ladder_init(), navigation_routerating(), and waypoint_gettravelcost().
Definition at line 1023 of file waypoints.qc.
References autocvar_sv_maxspeed.
Referenced by waypoint_gettravelcost().
Definition at line 1017 of file waypoints.qc.
References autocvar_sv_maxspeed.
Referenced by waypoint_gettravelcost().
Definition at line 1065 of file waypoints.qc.
References bound(), entity(), vector, and waypoint_gettravelcost().
Referenced by waypoint_addlink_customcost().
Definition at line 953 of file waypoints.qc.
References entity().
Referenced by waypoint_islinked(), and waypoint_removelink().
Definition at line 137 of file waypoints.qc.
References argv(), cvar_set(), cvar_string(), entity(), fabs(), ftos(), sprint(), stov(), strcat(), and vector.
Referenced by ClientCommand_wpeditor().
Definition at line 169 of file waypoints.qc.
References argv(), cvar_set(), cvar_string(), entity(), fabs(), ftos(), havocbot_middlepoint, havocbot_middlepoint_radius, org, sprint(), stov(), strcat(), vec2, and vector.
Referenced by ClientCommand_wpeditor().
Definition at line 241 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_axis, autocvar_g_waypointeditor_symmetrical_origin, fabs(), havocbot_middlepoint, havocbot_symmetry_axis_m, havocbot_symmetry_axis_q, M_PI, org, Rotate(), and vector.
Referenced by waypoint_remove_fromeditor(), and waypoint_spawn_fromeditor().
Definition at line 1028 of file waypoints.qc.
References autocvar_sv_gravity, entity(), height, jumpheight_time, jumpheight_vec, navigation_check_submerged_state(), sqrt(), vec2, vector, vlen(), waypoint_getlinearcost(), waypoint_getlinearcost_crouched(), waypoint_getlinearcost_underwater(), WAYPOINTFLAG_CROUCH, and WAYPOINTFLAG_JUMP.
Referenced by navigation_markroutes_checkwaypoint(), and waypoint_getlinkcost().
Definition at line 276 of file waypoints.qc.
References entity(), and NULL.
Referenced by waypoint_get_type_name(), waypoint_remove_fromeditor(), waypoint_save_hardwiredlinks(), and waypoint_setupmodel().
Definition at line 283 of file waypoints.qc.
References entity().
Referenced by havocbot_checkdanger(), havocbot_movetogoal(), waypoint_remove(), waypoint_save_hardwiredlinks(), waypoint_showlink(), and waypoint_spawn_fromeditor().
Definition at line 966 of file waypoints.qc.
References entity(), and waypoint_getlinknum().
Referenced by waypoint_addlink_customcost(), waypoint_remove(), waypoint_showlinks_to(), and waypoint_spawn_fromeditor().
| void waypoint_load_hardwiredlinks | ( | ) |
Definition at line 1465 of file waypoints.qc.
References argv(), botframe_loadedforcedlinks, entity(), fclose(), fgets(), FILE_READ, fopen(), ftos(), GET_GAMETYPE_EXTENSION, LOG_INFO, LOG_TRACE, mapname, NULL, stov(), strcat(), substring(), tokenizebyseparator, vdist, vector, waypoint_addlink(), waypoint_mark_hardwiredlink(), WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, WAYPOINTFLAG_TELEPORT, and WPFLAGMASK_NORELINK.
Referenced by bot_serverframe(), and waypoint_schedulerelinkall().
| bool waypoint_load_links | ( | ) |
Definition at line 1317 of file waypoints.qc.
References argv(), entity(), fclose(), fgets(), FILE_READ, fopen(), ftos(), g_assault, g_waypoints, GET_GAMETYPE_EXTENSION, IL_EACH, LOG_TRACE, mapname, NULL, stof(), stov(), strcat(), string_null, substring(), tokenizebyseparator, vdist, vector, vtos(), waypoint_addlink(), waypoint_schedulerelinkall(), waypoint_time, WAYPOINT_VERSION, WAYPOINTFLAG_CUSTOM_JP, and WAYPOINTFLAG_ITEM.
Referenced by bot_serverframe().
| float waypoint_loadall | ( | ) |
Definition at line 1837 of file waypoints.qc.
References argv(), autocvar_g_waypointeditor_symmetrical_allowload, cons(), cvar_set(), cvar_string(), fclose(), fgets(), FILE_READ, floor(), fopen(), ftos(), GET_GAMETYPE_EXTENSION, LOG_INFO, LOG_INFOF, LOG_TRACE, mapname, stof(), stov(), strcat(), strcpy, substring(), tokenizebyseparator, vector, waypoint_spawn(), waypoint_time, WAYPOINT_VERSION, waypoint_version_loaded, waypointeditor_enabled, and WAYPOINTFLAG_NORELINK__DEPRECATED.
Referenced by bot_serverframe().
Definition at line 270 of file waypoints.qc.
References crosshair_trace_waypoints(), entity(), and trace_ent.
Referenced by ClientCommand_wpeditor().
Definition at line 301 of file waypoints.qc.
References entity(), and waypoint_setupmodel().
Referenced by waypoint_load_hardwiredlinks(), and waypoint_spawn_fromeditor().
Definition at line 819 of file waypoints.qc.
References entity(), g_waypoints, IL_EACH, NULL, waypoint_is_hardwiredlink(), waypoint_islinked(), waypoint_removelink(), waypoint_schedulerelink(), and waypoint_unmark_hardwiredlink().
Referenced by havocbot_moveto(), and waypoint_spawn_fromeditor().
Definition at line 838 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_order, entity(), FOREACH_ENTITY_CLASS, havocbot_symmetry_origin_order, LABEL, LOG_INFO, LOG_INFOF, navigation_findnearestwaypoint(), NULL, org, start_wp_is_spawned, vector, waypoint_clear_start_wp_globals(), waypoint_getSymmetricalPoint(), waypoint_has_hardwiredlinks(), WAYPOINT_VERSION, waypoint_version_loaded, and WAYPOINTFLAG_GENERATED.
Referenced by ClientCommand_wpeditor().
Definition at line 905 of file waypoints.qc.
References entity(), NULL, waypoint_getlinknum(), waypoint_schedulerelink(), WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, and WPFLAGMASK_NORELINK.
Referenced by waypoint_remove(), and waypoint_spawn_fromeditor().
Definition at line 350 of file waypoints.qc.
References entity(), and waypoint_addlink().
Referenced by waypoint_think().
| void waypoint_save_hardwiredlinks | ( | ) |
Definition at line 1662 of file waypoints.qc.
References count, entity(), FILE_WRITE, fopen(), fputs(), g_waypoints, GET_GAMETYPE_EXTENSION, IL_EACH, LOG_TRACE, mapname, strcat(), vtos(), waypoint_get_link(), waypoint_has_hardwiredlinks(), waypoint_is_hardwiredlink(), WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_JUMP, and WAYPOINTFLAG_SUPPORT.
Referenced by waypoint_saveall().
| void waypoint_save_links | ( | ) |
Definition at line 1716 of file waypoints.qc.
References FILE_WRITE, fopen(), fputs(), ftos_decimals(), g_waypoints, GET_GAMETYPE_EXTENSION, IL_EACH, LOG_INFOF, mapname, strcat(), waypoint_time, WAYPOINT_VERSION, WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_JUMP, and WAYPOINTFLAG_SUPPORT.
Referenced by waypoint_saveall().
| void waypoint_saveall | ( | ) |
Definition at line 1755 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_axis, autocvar_g_waypointeditor_symmetrical_order, autocvar_g_waypointeditor_symmetrical_origin, botframe_loadedforcedlinks, cons(), fclose(), FILE_WRITE, fopen(), fputs(), ftos(), ftos_decimals(), g_waypoints, GET_GAMETYPE_EXTENSION, IL_EACH, LOG_INFOF, mapname, strcat(), strcpy, vtos(), waypoint_save_hardwiredlinks(), waypoint_save_links(), waypoint_time, WAYPOINT_VERSION, waypoint_version_loaded, and WAYPOINTFLAG_GENERATED.
Referenced by ClientCommand_wpeditor().
Definition at line 1273 of file waypoints.qc.
References EF_LOWPRECISION, entity(), NULL, setthink, time, vdist, waypoint_clearlinks(), waypoint_setupmodel(), waypoint_think(), WAYPOINTFLAG_PERSONAL, and WPFLAGMASK_NORELINK.
Referenced by botframe_autowaypoints_createwp(), waypoint_remove(), waypoint_removelink(), waypoint_schedulerelinkall(), waypoint_spawn_fromeditor(), and waypoint_spawnpersonal().
| void waypoint_schedulerelinkall | ( | ) |
Definition at line 1304 of file waypoints.qc.
References g_waypoints, IL_EACH, relink_lengthculled, relink_pvsculled, relink_total, relink_walkculled, waypoint_load_hardwiredlinks(), and waypoint_schedulerelink().
Referenced by ClientCommand_wpeditor(), and waypoint_load_links().
Definition at line 362 of file waypoints.qc.
References EF_LOWPRECISION, entity(), setmodel, vector, waypoint_has_hardwiredlinks(), waypointeditor_enabled, WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_GENERATED, WAYPOINTFLAG_ITEM, WAYPOINTFLAG_JUMP, WAYPOINTFLAG_LADDER, WAYPOINTFLAG_SUPPORT, and WAYPOINTFLAG_TELEPORT.
Referenced by waypoint_mark_hardwiredlink(), waypoint_schedulerelink(), waypoint_spawn(), and waypoint_unmark_hardwiredlink().
Definition at line 2089 of file waypoints.qc.
References entity(), NULL, waypoint_is_hardwiredlink(), WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_JUMP, and WAYPOINTFLAG_SUPPORT.
Referenced by waypoint_showlinks_from(), and waypoint_showlinks_to().
Definition at line 2109 of file waypoints.qc.
References entity(), and waypoint_showlink().
Definition at line 2100 of file waypoints.qc.
References entity(), g_waypoints, IL_EACH, waypoint_islinked(), and waypoint_showlink().
Definition at line 433 of file waypoints.qc.
References autocvar_developer, backtrace, boxesoverlap(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, entity(), g_waypoints, IL_EACH, IL_PUSH(), LOG_INFO, LOG_TRACE, move_out_of_solid, NULL, PL_CROUCH_MAX_CONST, PL_CROUCH_MIN_CONST, PL_MAX_CONST, PL_MIN_CONST, SOLID_TRIGGER, time, vector, vtos(), waypoint_clearlinks(), waypoint_get(), waypoint_setupmodel(), WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_GENERATED, WAYPOINTFLAG_PERSONAL, and WPFLAGMASK_NORELINK.
Referenced by botframe_autowaypoints_createwp(), waypoint_loadall(), waypoint_spawn_fromeditor(), waypoint_spawnforitem_force(), waypoint_spawnforteleporter_boxes(), and waypoint_spawnpersonal().
| void waypoint_spawn_fromeditor | ( | entity | pl, |
| bool | at_crosshair, | ||
| bool | is_jump_wp, | ||
| bool | is_crouch_wp, | ||
| bool | is_support_wp ) |
Definition at line 568 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_order, boxesoverlap(), bprint(), crosshair_trace_waypoints(), entity(), g_items, g_jumppads, g_waypoints, havocbot_symmetry_origin_order, IL_EACH, LABEL, LOG_INFO, LOG_INFOF, NULL, org, PHYS_INPUT_BUTTON_CROUCH, PL_MAX_CONST, PL_MIN_CONST, start_wp_is_hardwired, start_wp_is_spawned, start_wp_is_support, start_wp_origin, strcat(), time, trace_endpos, trace_ent, vdist, vector, vlen(), vtos(), waypoint_addlink(), waypoint_clear_start_wp_globals(), waypoint_get(), waypoint_get_type_name(), waypoint_getSymmetricalPoint(), waypoint_is_hardwiredlink(), waypoint_islinked(), waypoint_mark_hardwiredlink(), waypoint_remove(), waypoint_removelink(), waypoint_schedulerelink(), waypoint_spawn(), waypoint_spawn_fromeditor(), waypoint_unmark_hardwiredlink(), WAYPOINT_VERSION, waypoint_version_loaded, WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, WAYPOINTFLAG_TELEPORT, and WPFLAGMASK_NORELINK.
Referenced by ClientCommand_wpeditor(), and waypoint_spawn_fromeditor().
Definition at line 2002 of file waypoints.qc.
References bot_waypoints_for_items, entity(), and waypoint_spawnforitem_force().
Referenced by dom_controlpoint_setup(), and StartItem().
Definition at line 1973 of file waypoints.qc.
References boxesoverlap(), entity(), g_waypoints, IL_EACH, NULL, org, vdist, vector, waypoint_fixorigin, waypoint_spawn(), WAYPOINTFLAG_GENERATED, and WAYPOINTFLAG_ITEM.
Referenced by ctf_DelayedFlagSetup(), ons_DelayedGeneratorSetup(), spawnfunc(), target_checkpoint_setup(), and waypoint_spawnforitem().
| void waypoint_spawnforteleporter | ( | entity | e, |
| vector | destination, | ||
| float | timetaken, | ||
| entity | tracetest_ent ) |
Definition at line 2064 of file waypoints.qc.
References entity(), PL_MAX_CONST, PL_MIN_CONST, vector, waypoint_fixorigin, waypoint_spawnforteleporter_boxes(), and WAYPOINTFLAG_TELEPORT.
Referenced by teleport_findtarget(), and trigger_push_test().
| void waypoint_spawnforteleporter_boxes | ( | entity | e, |
| int | teleport_flag, | ||
| vector | org1, | ||
| vector | org2, | ||
| vector | destination1, | ||
| vector | destination2, | ||
| float | timetaken ) |
Definition at line 2010 of file waypoints.qc.
References entity(), vector, waypoint_spawn(), and WAYPOINTFLAG_GENERATED.
Referenced by func_ladder_init(), waypoint_spawnforteleporter(), and waypoint_spawnforteleporter_wz().
Definition at line 2026 of file waypoints.qc.
References dest, entity(), makevectors, v_forward, v_right, v_up, vector, waypoint_fixorigin_down_dir(), waypoint_spawnforteleporter_boxes(), WAYPOINTFLAG_JUMP, and WAYPOINTFLAG_TELEPORT.
Referenced by WarpZone_PostInitialize_Callback().
Definition at line 2070 of file waypoints.qc.
References entity(), NULL, vector, waypoint_fixorigin, waypoint_schedulerelink(), waypoint_spawn(), WAYPOINTFLAG_GENERATED, and WAYPOINTFLAG_PERSONAL.
Referenced by havocbot_moveto().
Definition at line 532 of file waypoints.qc.
References crosshair_trace_waypoints(), entity(), err, LOG_INFO, LOG_INFOF, start_wp_is_hardwired, start_wp_is_spawned, start_wp_origin, trace_ent, vtos(), and WPFLAGMASK_NORELINK.
Referenced by ClientCommand_wpeditor().
Definition at line 1147 of file waypoints.qc.
References absmax, absmin, autocvar_bot_navigation_ignoreplayers, bot_calculate_stepheightvec(), bot_navigation_movemode, boxesoverlap(), checkpvs(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, entity(), func_null(), g_waypoints, IL_EACH, MOVE_NOMONSTERS, MOVE_NORMAL, navigation_testtracewalk, nextthink, origin, PL_CROUCH_MAX_CONST, PL_CROUCH_MIN_CONST, PL_MAX_CONST, PL_MIN_CONST, relink_lengthculled, relink_pvsculled, relink_total, relink_walkculled, set_tracewalk_dest_2(), setthink, tracewalk(), tracewalk_dest, tracewalk_dest_height, vdist, vector, waypoint_addlink(), waypoint_restore_hardwiredlinks(), WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, WPFLAGMASK_NORELINK, wpflags, wpisbox, and wplinked.
Referenced by waypoint_schedulerelink().
Definition at line 318 of file waypoints.qc.
References entity(), NULL, and waypoint_setupmodel().
Referenced by waypoint_remove(), and waypoint_spawn_fromeditor().
Definition at line 28 of file waypoints.qc.
References EF_BLUE, EF_NODEPTHTEST, EF_RED, entity(), etos(), eZ, g_items, g_spawnpoints, g_waypoints, IL_EACH, LOG_INFO, LOG_INFOF, MOVE_NOMONSTERS, navigation_findnearestwaypoint(), navigation_markroutes(), navigation_markroutes_inverted(), NULL, org, PL_MAX_CONST, PL_MIN_CONST, SOLID_TRIGGER, spawnpointmodel, trace_endpos, vector, and vtos().
Referenced by ClientCommand_wpeditor().
| void waypoint_updatecost_foralllinks | ( | ) |
Definition at line 971 of file waypoints.qc.
References g_waypoints, IL_EACH, and WAYPOINTFLAG_TELEPORT.
Referenced by bot_serverframe().
| entity botframe_autowaypoints_lastwp1 |
Definition at line 2466 of file waypoints.qc.
Referenced by botframe_autowaypoints().
| float createdtime |
Definition at line 432 of file waypoints.qc.
| entity spawnpointmodel |
Definition at line 27 of file waypoints.qc.
Referenced by waypoint_unreachable().
| bool start_wp_is_hardwired |
Definition at line 518 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().
| bool start_wp_is_spawned |
Definition at line 516 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), waypoint_remove_fromeditor(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().
| bool start_wp_is_support |
Definition at line 519 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), and waypoint_spawn_fromeditor().
| vector start_wp_origin |
Definition at line 517 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().