X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=src%2Fcensus%2Fcensus.c;h=7c490db173b53bb2f958ca89b8c5f1c6a41273ea;hp=724ab2a94f265ec589216eda872c524b6e9416f0;hb=0a37e241149d011e038aceb3faac568b405f8ecd;hpb=22dd4db1a4ff756f76bdd87062c2252fe3091228 diff --git a/src/census/census.c b/src/census/census.c index 724ab2a..7c490db 100644 --- a/src/census/census.c +++ b/src/census/census.c @@ -8,7 +8,7 @@ #include "panic.h" static void draw_disc(float x, float y, float rad, int sub); -static void draw_line(float x0, float y0, float x1, float y1, float rad); +static void draw_fatline(float x0, float y0, float x1, float y1, float rad); static int nverts = 256; static long start_time; @@ -45,7 +45,7 @@ void draw_census(void) float a[2], b[2], dt; float anim, alpha, center_alpha; - memset(fb_pixels, 0, fb_width * fb_height * 4); + memset(fb_pixels, 0x11, fb_width * fb_height * 4); anim = fmod(t / 6.0f, LOOPTIME); alpha = 1.0f - ((anim - (LOOPTIME - 0.075)) / 0.06f); @@ -60,7 +60,7 @@ void draw_census(void) float t1 = (float)(i + 1) * dt; eval_logo(a, t0); eval_logo(b, t1); - draw_line(a[0], a[1], b[0], b[1], 0.02); + draw_fatline(a[0], a[1], b[0], b[1], 0.02); } if(anim > 0.0f) { @@ -98,7 +98,7 @@ static void draw_disc(float x, float y, float rad, int sub) g3d_end(); } -static void draw_line(float x0, float y0, float x1, float y1, float rad) +static void draw_fatline(float x0, float y0, float x1, float y1, float rad) { float dx, dy, rx, ry, len;