X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fbot%2Fwaypoints.qh;h=23c0fa63c3b66a4c168a7bbb5cd12b55fc55c77a;hb=490a31934aa67cc7de5299a4d3f625d5271f8583;hp=8e0dd0fe627e07c1ecfc689da28454cf8280e8c9;hpb=948c08402a7b9b7af36059104937650e343ecefe;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/waypoints.qh b/qcsrc/server/bot/waypoints.qh index 8e0dd0fe6..23c0fa63c 100644 --- a/qcsrc/server/bot/waypoints.qh +++ b/qcsrc/server/bot/waypoints.qh @@ -1,5 +1,4 @@ -#ifndef WAYPOINTS_H -#define WAYPOINTS_H +#pragma once /* * Globals and Fields */ @@ -40,7 +39,7 @@ float botframe_cachedwaypointlinks; spawnfunc(waypoint); void waypoint_addlink(entity from, entity to); -void waypoint_think(); +void waypoint_think(entity this); void waypoint_clearlinks(entity wp); void waypoint_schedulerelink(entity wp); @@ -61,9 +60,8 @@ float waypoint_loadall(); float waypoint_load_links(); entity waypoint_spawn(vector m1, vector m2, float f); -entity waypoint_spawnpersonal(vector position); +entity waypoint_spawnpersonal(entity this, vector position); vector waypoint_fixorigin(vector position); void botframe_autowaypoints(); -#endif