X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fbot%2Fapi.qh;h=51ac148fc13c42c1185866cd87d6430165f61b8e;hb=13e8382b4bd9c0de8bcfd2a96f56e638ba5d431d;hp=c503f605dce9b7616f791b6e9ea3193e4e737499;hpb=f84d4c215d826d9b035e1ba79a22af077f123f55;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/api.qh b/qcsrc/server/bot/api.qh index c503f605d..51ac148fc 100644 --- a/qcsrc/server/bot/api.qh +++ b/qcsrc/server/bot/api.qh @@ -6,7 +6,7 @@ const int WAYPOINTFLAG_GENERATED = BIT(23); const int WAYPOINTFLAG_ITEM = BIT(22); -const int WAYPOINTFLAG_TELEPORT = BIT(21); +const int WAYPOINTFLAG_TELEPORT = BIT(21); // teleports, warpzones and jumppads const int WAYPOINTFLAG_NORELINK = BIT(20); const int WAYPOINTFLAG_PERSONAL = BIT(19); const int WAYPOINTFLAG_PROTECTED = BIT(18); // Useless WP detection never kills these. @@ -23,6 +23,7 @@ float bot_weapons_far[Weapons_MAX]; float bot_weapons_mid[Weapons_MAX]; float skill; +.float bot_tracewalk_time; .float bot_attack; .float bot_dodgerating; .float bot_dodge; @@ -36,6 +37,7 @@ float skill; .void(entity this) havocbot_previous_role; .float isbot; // true if this client is actually a bot .float lastteleporttime; +.vector lastteleport_origin; .float navigation_hasgoals; .float nearestwaypointtimeout; .entity nearestwaypoint;