r_sky.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #ifndef __R_SKY__
  22. #define __R_SKY__
  23. #ifdef __GNUG__
  24. #pragma interface
  25. #endif
  26. // SKY, store the number for name.
  27. #define SKYFLATNAME "F_SKY1"
  28. // The sky map is 256*128*4 maps.
  29. #define ANGLETOSKYSHIFT 22
  30. extern int skytexture;
  31. extern int skytexturemid;
  32. // Called whenever the view size changes.
  33. void R_InitSkyMap (void);
  34. #endif
  35. //-----------------------------------------------------------------------------
  36. //
  37. // $Log:$
  38. //
  39. //-----------------------------------------------------------------------------