- moved around some sky rendering code so that the game independent parts are grouped together.

This commit is contained in:
Christoph Oelckers 2020-04-29 00:14:42 +02:00
commit 4b8fb7d48b
16 changed files with 179 additions and 198 deletions

View file

@ -59,6 +59,8 @@ CVAR(Bool, r_linearsky, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
EXTERN_CVAR(Int, r_skymode)
EXTERN_CVAR(Bool, cl_oldfreelooklimit)
std::pair<PalEntry, PalEntry>& R_GetSkyCapColor(FGameTexture* tex);
namespace swrenderer
{
static FSoftwareTexture *GetSWTex(FTextureID texid, bool allownull = true)