be_aas_debug.h 2.3 KB

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