XenevaOS
Loading...
Searching...
No Matches
r_sky.h
Go to the documentation of this file.
1//
2// Copyright(C) 1993-1996 Id Software, Inc.
3// Copyright(C) 2005-2014 Simon Howard
4//
5// This program is free software; you can redistribute it and/or
6// modify it under the terms of the GNU General Public License
7// as published by the Free Software Foundation; either version 2
8// of the License, or (at your option) any later version.
9//
10// This program is distributed in the hope that it will be useful,
11// but WITHOUT ANY WARRANTY; without even the implied warranty of
12// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13// GNU General Public License for more details.
14//
15// DESCRIPTION:
16// Sky rendering.
17//
18
19
20#ifndef __R_SKY__
21#define __R_SKY__
22
23
24
25// SKY, store the number for name.
26#define SKYFLATNAME "F_SKY1"
27
28// The sky map is 256*128*4 maps.
29#define ANGLETOSKYSHIFT 22
30
31extern int skytexture;
32extern int skytexturemid;
33
34// Called whenever the view size changes.
35void R_InitSkyMap (void);
36
37#endif
void R_InitSkyMap(void)
Definition r_sky.c:47
int skytexture
Definition r_sky.c:38
int skytexturemid
Definition r_sky.c:39