Home
last modified time | relevance | path

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

/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dr_sky.c160 #define SKY_HEIGHT 240 macro
381 byte buf[SKY_WIDTH][SKY_HEIGHT]; // buf of composite sky, column oriented in R_Generate_Sky()
427 sky_top_align = SKY_HEIGHT - SKY_HORIZON_OFFSET - th; in R_Generate_Sky()
430 if( sky_bottom_align > SKY_HEIGHT ) sky_bottom_align = SKY_HEIGHT; in R_Generate_Sky()
517 memset( &buf[c1][sky_bottom_align], ground_color, SKY_HEIGHT - sky_bottom_align ); in R_Generate_Sky()
652 per = (float)(SKY_HEIGHT - r1) / (SKY_HEIGHT - sky_horizon); in R_Generate_Sky()
762 if( row2 > SKY_HEIGHT - 2 ) break; in R_Generate_Sky()
764 row2 = SKY_HEIGHT - 1; in R_Generate_Sky()
824 for( r1 = sky_bottom_align; r1 < SKY_HEIGHT; r1++ ) in R_Generate_Sky()
837 byte * sky_pict1 = R_Create_Patch( tw, SKY_HEIGHT, in R_Generate_Sky()
[all …]