Home
last modified time | relevance | path

Searched refs:SKY_FLAT_WIDTH (Results 1 – 3 of 3) sorted by relevance

/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dr_sky.h54 #define SKY_FLAT_WIDTH 64 macro
56 extern byte skytop_flat[SKY_FLAT_WIDTH][SKY_FLAT_HEIGHT]; // above sky
57 extern byte ground_flat[SKY_FLAT_WIDTH][SKY_FLAT_HEIGHT]; // below sky
H A Dr_sky.c100 byte skytop_flat[SKY_FLAT_WIDTH][SKY_FLAT_HEIGHT]; // above sky
101 byte ground_flat[SKY_FLAT_WIDTH][SKY_FLAT_HEIGHT]; // below sky
111 for( i=0; i<(SKY_FLAT_WIDTH*SKY_FLAT_HEIGHT); i++ ) in set_sky_flat()
133 memset( sflat, solid_color, (SKY_FLAT_WIDTH*SKY_FLAT_HEIGHT) ); in set_sky_flat()
154 memset( sflat, solid_color, (SKY_FLAT_WIDTH*SKY_FLAT_HEIGHT) ); in set_sky_flat()
964 … memset( skytop_flat, *(sky_pict + ((uint32_t*)sky_pict)[0]), SKY_FLAT_WIDTH*SKY_FLAT_HEIGHT ); in R_Setup_SkyDraw()
965 …memset( ground_flat, *(sky_pict + ((uint32_t*)sky_pict)[0] + sky_height-1), SKY_FLAT_WIDTH*SKY_FLA… in R_Setup_SkyDraw()
H A Dr_plane.c748 dc_source = & skytop_flat[ (angle & (SKY_FLAT_WIDTH-1)) ][0]; in R_Draw_Planes()
760 dc_source = & ground_flat[ (angle & (SKY_FLAT_WIDTH-1)) ][0]; in R_Draw_Planes()