2017-01-03 06:17:54 +00:00
|
|
|
//
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
//
|
|
|
|
// This source is available for distribution and/or modification
|
|
|
|
// only under the terms of the DOOM Source Code License as
|
|
|
|
// published by id Software. All rights reserved.
|
|
|
|
//
|
|
|
|
// The source is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
|
|
|
|
// for more details.
|
|
|
|
//
|
2016-12-31 09:19:31 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2016-12-31 11:45:07 +00:00
|
|
|
#include "r_visibleplane.h"
|
2016-12-31 09:19:31 +00:00
|
|
|
|
|
|
|
namespace swrenderer
|
|
|
|
{
|
|
|
|
void R_DrawSkyPlane(visplane_t *pl);
|
|
|
|
|
|
|
|
void R_DrawSky(visplane_t *pl);
|
|
|
|
void R_DrawSkyStriped(visplane_t *pl);
|
|
|
|
void R_DrawCapSky(visplane_t *pl);
|
|
|
|
void R_DrawSkyColumnStripe(int start_x, int y1, int y2, int columns, double scale, double texturemid, double yrepeat);
|
|
|
|
void R_DrawSkyColumn(int start_x, int y1, int y2, int columns);
|
|
|
|
|
|
|
|
const uint8_t *R_GetOneSkyColumn(FTexture *fronttex, int x);
|
|
|
|
const uint8_t *R_GetTwoSkyColumns(FTexture *fronttex, int x);
|
|
|
|
}
|