From 3e386f51a1bb79043cfa60a9bb7786d1d7a376a0 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 19 Feb 1998 13:05:43 +0000 Subject: [PATCH] Incorporated some HUD tweaks from Michelle America. Tweaked the sky's sunset/rise colors. Other misc. tweaks. --- Astro/sky.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Astro/sky.c b/Astro/sky.c index 0244236a..815c4a18 100644 --- a/Astro/sky.c +++ b/Astro/sky.c @@ -130,11 +130,11 @@ void fgSkyColorsInit( void ) { if ( (sun_angle > 80.0) && (sun_angle < 100.0) ) { /* 0.0 - 0.4 */ outer_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 25.0; - outer_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 45.0; + outer_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 35.0; outer_param[2] = 0.0; - middle_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 40.0; - middle_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 60.0; + middle_param[0] = (10.0 - fabs(90.0 - sun_angle)) / 20.0; + middle_param[1] = (10.0 - fabs(90.0 - sun_angle)) / 40.0; middle_param[2] = 0.0; outer_diff[0] = outer_param[0] / 6.0; @@ -353,10 +353,15 @@ void fgSkyRender( void ) { /* $Log$ -/* Revision 1.6 1998/02/07 15:29:32 curt -/* Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss -/* +/* Revision 1.7 1998/02/19 13:05:49 curt +/* Incorporated some HUD tweaks from Michelle America. +/* Tweaked the sky's sunset/rise colors. +/* Other misc. tweaks. /* + * Revision 1.6 1998/02/07 15:29:32 curt + * Incorporated HUD changes and struct/typedef changes from Charlie Hotchkiss + * + * * Revision 1.5 1998/01/27 00:47:48 curt * Incorporated Paul Bleisch's new debug message * system and commandline/config file processing code. -- 2.39.5