be_aas_debug.h (2381B)
1 /* 2 =========================================================================== 3 Copyright (C) 1999-2005 Id Software, Inc. 4 5 This file is part of Quake III Arena source code. 6 7 Quake III Arena source code is free software; you can redistribute it 8 and/or modify it under the terms of the GNU General Public License as 9 published by the Free Software Foundation; either version 2 of the License, 10 or (at your option) any later version. 11 12 Quake III Arena source code is distributed in the hope that it will be 13 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public License for more details. 16 17 You should have received a copy of the GNU General Public License 18 along with Foobar; if not, write to the Free Software 19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 =========================================================================== 21 */ 22 23 /***************************************************************************** 24 * name: be_aas_debug.h 25 * 26 * desc: AAS 27 * 28 * $Archive: /source/code/botlib/be_aas_debug.h $ 29 * 30 *****************************************************************************/ 31 32 //clear the shown debug lines 33 void AAS_ClearShownDebugLines(void); 34 // 35 void AAS_ClearShownPolygons(void); 36 //show a debug line 37 void AAS_DebugLine(vec3_t start, vec3_t end, int color); 38 //show a permenent line 39 void AAS_PermanentLine(vec3_t start, vec3_t end, int color); 40 //show a permanent cross 41 void AAS_DrawPermanentCross(vec3_t origin, float size, int color); 42 //draw a cross in the plane 43 void AAS_DrawPlaneCross(vec3_t point, vec3_t normal, float dist, int type, int color); 44 //show a bounding box 45 void AAS_ShowBoundingBox(vec3_t origin, vec3_t mins, vec3_t maxs); 46 //show a face 47 void AAS_ShowFace(int facenum); 48 //show an area 49 void AAS_ShowArea(int areanum, int groundfacesonly); 50 // 51 void AAS_ShowAreaPolygons(int areanum, int color, int groundfacesonly); 52 //draw a cros 53 void AAS_DrawCross(vec3_t origin, float size, int color); 54 //print the travel type 55 void AAS_PrintTravelType(int traveltype); 56 //draw an arrow 57 void AAS_DrawArrow(vec3_t start, vec3_t end, int linecolor, int arrowcolor); 58 //visualize the given reachability 59 void AAS_ShowReachability(struct aas_reachability_s *reach); 60 //show the reachable areas from the given area 61 void AAS_ShowReachableAreas(int areanum); 62