home *** CD-ROM | disk | FTP | other *** search
/ ST-Computer Leser-CD 2000 January / LCD_01_2000.iso / games / doom / pmdoom / include / r_sky.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-17  |  1.4 KB  |  49 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. /*     Sky rendering. */
  19. /*  */
  20. /* ----------------------------------------------------------------------------- */
  21.  
  22.  
  23. #ifndef __R_SKY__
  24. #define __R_SKY__
  25.  
  26.  
  27. #ifdef __GNUG__
  28. #pragma interface
  29. #endif
  30.  
  31. /*  SKY, store the number for name. */
  32. #define            SKYFLATNAME  "F_SKY1"
  33.  
  34. /*  The sky map is 256*128*4 maps. */
  35. #define ANGLETOSKYSHIFT        22
  36.  
  37. extern  int        skytexture;
  38. extern int        skytexturemid;
  39.  
  40. /*  Called whenever the view size changes. */
  41. void R_InitSkyMap (void);
  42.  
  43. #endif
  44. /* ----------------------------------------------------------------------------- */
  45. /*  */
  46. /*  $Log:$ */
  47. /*  */
  48. /* ----------------------------------------------------------------------------- */
  49.