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 #ifndef __R_SKY_H__
23 #define __R_SKY_H__
24 
25 #include "textures/textures.h"
26 
27 
28 extern FTextureID	skyflatnum;
29 extern fixed_t		sky1cyl,		sky2cyl;
30 extern FTextureID	sky1texture,	sky2texture;
31 extern double		sky1pos,		sky2pos;
32 extern fixed_t	skytexturemid;
33 extern fixed_t	skyiscale;
34 extern fixed_t	skyscale;
35 extern bool		skystretch;
36 extern fixed_t freelookviewheight;
37 
38 #define SKYSTRETCH_HEIGHT 228
39 
40 // Called whenever the sky changes.
41 void R_InitSkyMap		();
42 void R_UpdateSky (DWORD mstime);
43 
44 #endif //__R_SKY_H__
45