Xonotic
|
#include "waypoints.qh"
#include <common/animdecide.qh>
#include <common/constants.qh>
#include <common/debug.qh>
#include <common/gamemodes/_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() ((g_race) ? ".race" : "") |
#define | waypoint_fixorigin(position, tracetest_ent) waypoint_fixorigin_down_dir(position, tracetest_ent, '0 0 -1') |
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 | ( | ) | ((g_race) ? ".race" : "") |
Definition at line 1319 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 | |||
) | waypoint_fixorigin_down_dir(position, tracetest_ent, '0 0 -1') |
Definition at line 1962 of file waypoints.qc.
Referenced by waypoint_spawnforitem_force(), waypoint_spawnforteleporter(), and waypoint_spawnpersonal().
void botframe_autowaypoints | ( | ) |
Definition at line 2472 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 2227 of file waypoints.qc.
References boxesoverlap(), g_waypoints, IL_EACH, waypoint_schedulerelink(), and waypoint_spawn().
Referenced by botframe_autowaypoints_fix(), and botframe_autowaypoints_fix_from().
Definition at line 2375 of file waypoints.qc.
References botframe_autowaypoints_createwp(), botframe_autowaypoints_fix_from(), botframe_autowaypoints_fixdown(), LOG_INFO, NULL, trace_endpos, and WAYPOINTFLAG_PROTECTED.
Referenced by botframe_autowaypoints().
Definition at line 2244 of file waypoints.qc.
References antilag_takebackorigin(), botframe_autowaypoints_createwp(), botframe_autowaypoints_fixdown(), CS(), entity(), etos(), g_waypoints, IL_EACH, LOG_INFO, navigation_findnearestwaypoint(), navigation_waypoint_will_link(), setorigin(), time, trace_endpos, vector(), vlen(), and WPFLAGMASK_NORELINK.
Referenced by botframe_autowaypoints_fix().
Definition at line 2219 of file waypoints.qc.
References MOVE_NOMONSTERS, NULL, and trace_fraction.
Referenced by botframe_autowaypoints_fix(), and botframe_autowaypoints_fix_from().
void botframe_deleteuselesswaypoints | ( | ) |
Definition at line 2390 of file waypoints.qc.
References g_items, g_waypoints, if(), 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 2156 of file waypoints.qc.
References botframe_waypointeditorlightningtime, entity(), FOREACH_CLIENT, if(), IS_PLAYER, NULL, time, vdist, and vec2.
Referenced by bot_serverframe().
Definition at line 2134 of file waypoints.qc.
References g_waypoints, IL_EACH, NULL, SOLID_BSP, SOLID_TRIGGER, trace_endpos, trace_ent, and WarpZone_crosshair_trace().
Referenced by waypoint_getSymmetricalPoint(), waypoint_lock(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().
spawnfunc | ( | waypoint | ) |
Definition at line 1294 of file waypoints.qc.
References g_waypoints, IL_PUSH(), make_pure, origin, setorigin(), waypoint_clearlinks(), and waypointeditor_enabled.
STATIC_INIT | ( | waypoints | ) |
Definition at line 23 of file waypoints.qc.
References autocvar_g_waypointeditor, and waypointeditor_enabled.
Referenced by trigger_push_touch(), waypoint_addlink_for_custom_jumppad(), and waypoint_spawn().
Definition at line 1135 of file waypoints.qc.
References 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(), and waypoint_spawn_fromeditor().
Definition at line 1090 of file waypoints.qc.
References to, waypoint_getlinkcost(), waypoint_islinked(), WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, and WPFLAGMASK_NORELINK.
Referenced by waypoint_addlink().
Definition at line 500 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 523 of file waypoints.qc.
References 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 1255 of file waypoints.qc.
References NULL.
Referenced by spawnfunc(), waypoint_schedulerelink(), and waypoint_spawn().
Definition at line 1965 of file waypoints.qc.
References MOVE_NOMONSTERS, trace_endpos, trace_fraction, trace_startsolid, and vector().
Referenced by waypoint_spawnforteleporter_wz().
Definition at line 418 of file waypoints.qc.
References boxesoverlap(), g_waypoints, IL_EACH, and NULL.
Referenced by waypoint_spawn(), and waypoint_spawn_fromeditor().
Definition at line 1586 of file waypoints.qc.
Definition at line 1626 of file waypoints.qc.
References NULL.
Referenced by waypoint_save_hardwiredlinks().
Definition at line 395 of file waypoints.qc.
References boxesoverlap(), 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 1012 of file waypoints.qc.
References autocvar_bot_ai_bunnyhop_skilloffset, and skill.
Referenced by func_ladder_think(), navigation_routerating(), and waypoint_gettravelcost().
Definition at line 1025 of file waypoints.qc.
Referenced by waypoint_gettravelcost().
Definition at line 1019 of file waypoints.qc.
Referenced by waypoint_gettravelcost().
Definition at line 1067 of file waypoints.qc.
References bound(), vector(), and waypoint_gettravelcost().
Referenced by waypoint_addlink_customcost().
Definition at line 955 of file waypoints.qc.
Referenced by waypoint_islinked(), and waypoint_removelink().
Definition at line 137 of file waypoints.qc.
References argv(), cvar_set(), cvar_string(), 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(), fabs(), ftos(), havocbot_middlepoint, havocbot_middlepoint_radius, sprint(), stov(), strcat(), vec2, and vector().
Referenced by ClientCommand_wpeditor().
Definition at line 239 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_axis, autocvar_g_waypointeditor_symmetrical_origin, crosshair_trace_waypoints(), DEG2RAD, entity(), fabs(), havocbot_middlepoint, havocbot_symmetry_axis_m, havocbot_symmetry_axis_q, Rotate(), and vector().
Referenced by waypoint_remove_fromeditor(), and waypoint_spawn_fromeditor().
Definition at line 1030 of file waypoints.qc.
References height, jumpheight_time, jumpheight_vec, navigation_check_submerged_state(), sqrt(), vec2, vlen(), waypoint_getlinearcost(), waypoint_getlinearcost_crouched(), waypoint_getlinearcost_underwater(), WAYPOINTFLAG_CROUCH, and WAYPOINTFLAG_JUMP.
Referenced by navigation_markroutes_checkwaypoint(), navigation_routerating(), and waypoint_getlinkcost().
Definition at line 274 of file waypoints.qc.
References NULL.
Referenced by waypoint_get_type_name(), waypoint_remove_fromeditor(), waypoint_save_hardwiredlinks(), and waypoint_setupmodel().
Definition at line 281 of file waypoints.qc.
References entity(), and waypoint_setupmodel().
Referenced by havocbot_movetogoal(), waypoint_remove(), waypoint_save_hardwiredlinks(), waypoint_showlink(), and waypoint_spawn_fromeditor().
Definition at line 968 of file waypoints.qc.
References waypoint_getlinknum().
Referenced by waypoint_addlink_customcost(), waypoint_remove(), waypoint_showlinks_to(), and waypoint_spawn_fromeditor().
void waypoint_load_hardwiredlinks | ( | ) |
Definition at line 1470 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 1322 of file waypoints.qc.
References argv(), botframe_cachedwaypointlinks, 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 1842 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 268 of file waypoints.qc.
References crosshair_trace_waypoints(), and trace_ent.
Referenced by ClientCommand_wpeditor().
Definition at line 299 of file waypoints.qc.
References waypoint_setupmodel().
Referenced by waypoint_load_hardwiredlinks(), and waypoint_spawn_fromeditor().
Definition at line 821 of file waypoints.qc.
References g_waypoints, if(), IL_EACH, waypoint_is_hardwiredlink(), waypoint_islinked(), waypoint_removelink(), and waypoint_unmark_hardwiredlink().
Referenced by havocbot_moveto(), waypoint_remove_fromeditor(), and waypoint_spawn_fromeditor().
Definition at line 840 of file waypoints.qc.
References autocvar_g_waypointeditor_symmetrical, autocvar_g_waypointeditor_symmetrical_order, bprint(), entity(), FOREACH_ENTITY_CLASS, havocbot_symmetry_origin_order, LABEL, LOG_INFO, LOG_INFOF, navigation_findnearestwaypoint(), NULL, start_wp_is_spawned, strcat(), vector(), vtos(), waypoint_clear_start_wp_globals(), waypoint_getSymmetricalPoint(), waypoint_has_hardwiredlinks(), waypoint_remove(), WAYPOINT_VERSION, waypoint_version_loaded, and WAYPOINTFLAG_GENERATED.
Referenced by ClientCommand_wpeditor().
Definition at line 907 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 348 of file waypoints.qc.
References waypoint_addlink().
Referenced by waypoint_think().
void waypoint_save_hardwiredlinks | ( | ) |
Definition at line 1667 of file waypoints.qc.
References count, entity(), fclose(), FILE_WRITE, fopen(), fputs(), g_waypoints, GET_GAMETYPE_EXTENSION, IL_EACH, LOG_INFOF, 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 1721 of file waypoints.qc.
References botframe_cachedwaypointlinks, fclose(), 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 1760 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 1275 of file waypoints.qc.
References EF_LOWPRECISION, NULL, setthink, time, vdist, waypoint_clearlinks(), waypoint_setupmodel(), waypoint_think(), WAYPOINTFLAG_PERSONAL, and WPFLAGMASK_NORELINK.
Referenced by botframe_autowaypoints_createwp(), waypoint_removelink(), waypoint_schedulerelinkall(), waypoint_spawn_fromeditor(), and waypoint_spawnpersonal().
void waypoint_schedulerelinkall | ( | ) |
Definition at line 1309 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 360 of file waypoints.qc.
References EF_LOWPRECISION, 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_is_hardwiredlink(), waypoint_mark_hardwiredlink(), waypoint_schedulerelink(), waypoint_spawn(), and waypoint_unmark_hardwiredlink().
Definition at line 2094 of file waypoints.qc.
References NULL, waypoint_is_hardwiredlink(), WAYPOINTFLAG_CUSTOM_JP, WAYPOINTFLAG_JUMP, and WAYPOINTFLAG_SUPPORT.
Referenced by waypoint_showlinks_from(), and waypoint_showlinks_to().
Definition at line 2114 of file waypoints.qc.
References waypoint_showlink().
Definition at line 2105 of file waypoints.qc.
References g_waypoints, IL_EACH, waypoint_islinked(), and waypoint_showlink().
Definition at line 431 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, make_pure, move_out_of_solid, NULL, setorigin(), SOLID_TRIGGER, time, trigger_push_get_push_time(), vector(), vtos(), waypoint_clearlinks(), waypoint_get(), waypoint_setupmodel(), waypointeditor_enabled, 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 570 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, PHYS_INPUT_BUTTON_CROUCH, 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 2007 of file waypoints.qc.
References bot_waypoints_for_items, and waypoint_spawnforitem_force().
Referenced by _StartItem(), and dom_controlpoint_setup().
Definition at line 1978 of file waypoints.qc.
References g_waypoints, IL_EACH, NULL, vdist, 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 2069 of file waypoints.qc.
References 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 2015 of file waypoints.qc.
References entity(), waypoint_spawn(), and WAYPOINTFLAG_GENERATED.
Referenced by func_ladder_think(), waypoint_spawnforteleporter(), and waypoint_spawnforteleporter_wz().
Definition at line 2031 of file waypoints.qc.
References dest, 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 2075 of file waypoints.qc.
References entity(), NULL, waypoint_fixorigin, waypoint_schedulerelink(), waypoint_spawn(), WAYPOINTFLAG_GENERATED, and WAYPOINTFLAG_PERSONAL.
Referenced by havocbot_moveto().
Definition at line 534 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 1149 of file waypoints.qc.
References absmax, absmin, autocvar_bot_navigation_ignoreplayers, bot_calculate_stepheightvec(), bot_navigation_movemode, boxesoverlap(), DPCONTENTS_BODY, DPCONTENTS_BOTCLIP, DPCONTENTS_PLAYERCLIP, DPCONTENTS_SOLID, dphitcontentsmask, func_null(), g_waypoints, if(), IL_EACH, MOVE_NOMONSTERS, MOVE_NORMAL, navigation_testtracewalk, nextthink, origin, relink_lengthculled, set_tracewalk_dest_2(), setthink, tracewalk_dest, tracewalk_dest_height, vdist, vector(), waypoint_restore_hardwiredlinks(), WAYPOINTFLAG_CROUCH, WAYPOINTFLAG_JUMP, WAYPOINTFLAG_SUPPORT, wpflags, wpisbox, and wplinked.
Referenced by waypoint_schedulerelink().
Definition at line 316 of file waypoints.qc.
References 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(), g_items, g_spawnpoints, g_waypoints, IL_EACH, LOG_INFO, LOG_INFOF, navigation_findnearestwaypoint(), navigation_markroutes(), navigation_markroutes_inverted(), and vtos().
Referenced by ClientCommand_wpeditor().
void waypoint_updatecost_foralllinks | ( | ) |
Definition at line 973 of file waypoints.qc.
References g_waypoints, IL_EACH, and WAYPOINTFLAG_TELEPORT.
Referenced by bot_serverframe().
entity botframe_autowaypoints_lastwp1 |
Definition at line 2471 of file waypoints.qc.
Referenced by botframe_autowaypoints().
float createdtime |
Definition at line 430 of file waypoints.qc.
entity spawnpointmodel |
Definition at line 27 of file waypoints.qc.
bool start_wp_is_hardwired |
Definition at line 520 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 518 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 521 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), and waypoint_spawn_fromeditor().
vector start_wp_origin |
Definition at line 519 of file waypoints.qc.
Referenced by waypoint_clear_start_wp_globals(), waypoint_spawn_fromeditor(), and waypoint_start_hardwiredlink().