00001 /* 00002 =========================================================================== 00003 Copyright (C) 1999-2005 Id Software, Inc. 00004 00005 This file is part of Quake III Arena source code. 00006 00007 Quake III Arena source code is free software; you can redistribute it 00008 and/or modify it under the terms of the GNU General Public License as 00009 published by the Free Software Foundation; either version 2 of the License, 00010 or (at your option) any later version. 00011 00012 Quake III Arena source code is distributed in the hope that it will be 00013 useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Foobar; if not, write to the Free Software 00019 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00020 =========================================================================== 00021 */ 00022 00023 /***************************************************************************** 00024 * name: be_aas_debug.h 00025 * 00026 * desc: AAS 00027 * 00028 * $Archive: /source/code/botlib/be_aas_debug.h $ 00029 * 00030 *****************************************************************************/ 00031 00032 //clear the shown debug lines 00033 void AAS_ClearShownDebugLines(void); 00034 // 00035 void AAS_ClearShownPolygons(void); 00036 //show a debug line 00037 void AAS_DebugLine(vec3_t start, vec3_t end, int color); 00038 //show a permenent line 00039 void AAS_PermanentLine(vec3_t start, vec3_t end, int color); 00040 //show a permanent cross 00041 void AAS_DrawPermanentCross(vec3_t origin, float size, int color); 00042 //draw a cross in the plane 00043 void AAS_DrawPlaneCross(vec3_t point, vec3_t normal, float dist, int type, int color); 00044 //show a bounding box 00045 void AAS_ShowBoundingBox(vec3_t origin, vec3_t mins, vec3_t maxs); 00046 //show a face 00047 void AAS_ShowFace(int facenum); 00048 //show an area 00049 void AAS_ShowArea(int areanum, int groundfacesonly); 00050 // 00051 void AAS_ShowAreaPolygons(int areanum, int color, int groundfacesonly); 00052 //draw a cros 00053 void AAS_DrawCross(vec3_t origin, float size, int color); 00054 //print the travel type 00055 void AAS_PrintTravelType(int traveltype); 00056 //draw an arrow 00057 void AAS_DrawArrow(vec3_t start, vec3_t end, int linecolor, int arrowcolor); 00058 //visualize the given reachability 00059 void AAS_ShowReachability(struct aas_reachability_s *reach); 00060 //show the reachable areas from the given area 00061 void AAS_ShowReachableAreas(int areanum); 00062
1.3.9.1