1 // Emacs style mode select -*- C++ -*-
2 //-----------------------------------------------------------------------------
6 // Copyright (C) 1993-1996 by id Software, Inc.
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.
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
18 // Revision 1.1 2000/02/29 18:21:05 stegerg
19 // Doom port based on ADoomPPC. Read README.AROS!
23 // Sky rendering. The DOOM sky is a texture map like any
24 // wall, wrapping around. A 1024 columns equal 360 degrees.
25 // The default sky map is 256 columns and repeats 4 times
29 //-----------------------------------------------------------------------------
35 // Needed for FRACUNIT.
38 // Needed for Flat retrieval.
45 #pragma implementation "r_sky.h"
61 // Called whenever the view size changes.
63 void R_InitSkyMap (void)
65 // skyflatnum = R_FlatNumForName ( SKYFLATNAME );
66 skytexturemid
= 100*FRACUNIT
;