home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / include / m_bbox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  1.3 KB  |  55 lines

  1. /*  Emacs style mode select   -*- C++ -*-  */
  2. /* ----------------------------------------------------------------------------- */
  3. /*  */
  4. /*  $Id:$ */
  5. /*  */
  6. /*  Copyright (C) 1993-1996 by id Software, Inc. */
  7. /*  */
  8. /*  This source is available for distribution and/or modification */
  9. /*  only under the terms of the DOOM Source Code License as */
  10. /*  published by id Software. All rights reserved. */
  11. /*  */
  12. /*  The source is distributed in the hope that it will be useful, */
  13. /*  but WITHOUT ANY WARRANTY; without even the implied warranty of */
  14. /*  FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License */
  15. /*  for more details. */
  16. /*  */
  17. /*  DESCRIPTION: */
  18. /*     Nil. */
  19. /*      */
  20. /* ----------------------------------------------------------------------------- */
  21.  
  22.  
  23. #ifndef __M_BBOX__
  24. #define __M_BBOX__
  25.  
  26. #include "doomtype.h"
  27. #include "m_fixed.h"
  28.  
  29.  
  30. /*  Bounding box coordinate storage. */
  31. enum
  32. {
  33.     BOXTOP,
  34.     BOXBOTTOM,
  35.     BOXLEFT,
  36.     BOXRIGHT
  37. };    /*  bbox coordinates */
  38.  
  39. /*  Bounding box functions. */
  40. void M_ClearBox (fixed_t*    box);
  41.  
  42. void
  43. M_AddToBox
  44. ( fixed_t*    box,
  45.   fixed_t    x,
  46.   fixed_t    y );
  47.  
  48.  
  49. #endif
  50. /* ----------------------------------------------------------------------------- */
  51. /*  */
  52. /*  $Log:$ */
  53. /*  */
  54. /* ----------------------------------------------------------------------------- */
  55.