X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fnavigation.qh;h=b3b40ce03e55443be1c82e8e362f354381e82483;hb=ca387f77b7b8044475a7c359e22d2e6d4ebf513d;hp=06bbb85c310101f51b4cf2f799691e9a9fae9837;hpb=a89a627ea0a1c8209ea7406910566d259bc8ffb0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/navigation.qh b/qcsrc/server/bot/navigation.qh index 06bbb85c3..b3b40ce03 100644 --- a/qcsrc/server/bot/navigation.qh +++ b/qcsrc/server/bot/navigation.qh @@ -6,6 +6,7 @@ float navigation_bestrating; float bot_navigation_movemode; float navigation_testtracewalk; +vector jumpstepheightvec; vector stepheightvec; entity botframe_dangerwaypoint; @@ -27,6 +28,8 @@ entity navigation_bestgoal; .float navigation_hasgoals; .float lastteleporttime; +.float blacklisted; + .entity navigation_jetpack_goal; .vector navigation_jetpack_point; @@ -35,6 +38,12 @@ float DEBUG_NODE_WARNING = 2; float DEBUG_NODE_FAIL = 3; vector debuglastnode; +entity bot_waypoint_queue_owner; // Owner of the temporary list of goals +entity bot_waypoint_queue_goal; // Head of the temporary list of goals +.entity bot_waypoint_queue_nextgoal; +entity bot_waypoint_queue_bestgoal; +float bot_waypoint_queue_bestgoalrating; + /* * Functions */ @@ -60,6 +69,7 @@ void navigation_routerating(entity e, float f, float rangebias); void navigation_poptouchedgoals(); void navigation_goalrating_start(); void navigation_goalrating_end(); +void navigation_unstuck(); void botframe_updatedangerousobjects(float maxupdate);