From: Charles Brej Date: Thu, 30 Oct 2008 16:29:21 +0000 (+0000) Subject: Update solar graphics to F10 release versions. X-Git-Tag: 0.6.0~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bf73f0749e61c2206577149bcc1f80f4505c36e;p=thirdparty%2Fplymouth.git Update solar graphics to F10 release versions. --- diff --git a/src/plugins/splash/solar/background.png b/src/plugins/splash/solar/background.png index 8ab18677..2829a2df 100644 Binary files a/src/plugins/splash/solar/background.png and b/src/plugins/splash/solar/background.png differ diff --git a/src/plugins/splash/solar/plugin.c b/src/plugins/splash/solar/plugin.c index 823d0d49..ae024337 100644 --- a/src/plugins/splash/solar/plugin.c +++ b/src/plugins/splash/solar/plugin.c @@ -57,10 +57,10 @@ #include #ifndef FRAMES_PER_SECOND -#define FRAMES_PER_SECOND 50 +#define FRAMES_PER_SECOND 40 #endif -#define FLARE_FRAMES_PER_SECOND 25 +#define FLARE_FRAMES_PER_SECOND 20 #define FLARE_COUNT 60 #define FLARE_LINE_COUNT 4 #define HALO_BLUR 4 @@ -367,10 +367,10 @@ stretch_image(ply_image_t *scaled_image, ply_image_t *orig_image, int width) my_width *= 2; my_width -= 1; my_width *= my_width; - my_width = sqrt(1-my_width); + my_width = sqrt(1-my_width)-1; my_width *= stretched_height; my_width /= 2; - my_width = width-stretched_height+my_width; + my_width = width+my_width; for (x=0; xframe_buffer, &screen_area); plugin->scaled_background_image = ply_image_resize (plugin->background_image, screen_area.width, screen_area.height); @@ -1000,8 +1000,8 @@ setup_solar (ply_boot_splash_plugin_t *plugin) { satellite_t* satellite = malloc(sizeof(satellite_t)); satellite->type=SATELLITE_TYPE_PLANET; - satellite->end_x=satellite->start_x=579-640+screen_area.width; - satellite->end_y=satellite->start_y=306-480+screen_area.height; + satellite->end_x=satellite->start_x=720-800+screen_area.width; + satellite->end_y=satellite->start_y=300-480+screen_area.height; satellite->distance=i*100+280; satellite->theta=M_PI*0.8; @@ -1017,10 +1017,10 @@ setup_solar (ply_boot_splash_plugin_t *plugin) { satellite_t* satellite = malloc(sizeof(satellite_t)); satellite->type=SATELLITE_TYPE_COMET; - satellite->end_x=satellite->start_x=579-640+screen_area.width; - satellite->end_y=satellite->start_y=306-480+screen_area.height; + satellite->end_x=satellite->start_x=720-800+screen_area.width; + satellite->end_y=satellite->start_y=300-480+screen_area.height; - satellite->distance=500; + satellite->distance=600; satellite->theta=M_PI*0.8; satellite->image=plugin->comet_image[i]; satellite->image_altered=ply_image_resize (satellite->image, ply_image_get_width(satellite->image), ply_image_get_height(satellite->image)); diff --git a/src/plugins/splash/solar/star.png b/src/plugins/splash/solar/star.png index cdcd5153..7356d2de 100644 Binary files a/src/plugins/splash/solar/star.png and b/src/plugins/splash/solar/star.png differ