X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_sfd.h;h=515232cf31dc8daea63fe5c6671359f7d8a40be0;hb=cedb92d590f4578a246a09a96c0fa0eda109d3c7;hp=3977e62e1edab68f934fad91587386b49d9fc738;hpb=fe76a19eea0fd2564ab931ec2f0c7cfba768d8b8;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_sfd.h b/world_sfd.h index 3977e62..515232c 100644 --- a/world_sfd.h +++ b/world_sfd.h @@ -120,7 +120,6 @@ static void sfd_update( struct sfd_instance *display ) static void sfd_render( struct sfd_instance *display, m4x4f projection, v3f camera, m4x3f transform ) { - return; struct subworld_sfd *sfd = subworld_sfd(); scene_bind( &sfd->mesh ); @@ -207,7 +206,7 @@ static void world_sfd_init(void) float const k_glyph_uvw = 1.0f/64.0f; vert->uv[0] -= k_glyph_uvw * (float)(i-4); vert->colour[0] = 0.0f; - vert->colour[1] = i-4; + vert->colour[1] = i*36; } } @@ -217,7 +216,7 @@ static void world_sfd_init(void) free( mboard ); vg_tex2d_init( (vg_tex2d *[]){ &tex_scoretext }, 1 ); - sfd_new( &sfd->tester, 16, 8 ); + sfd_new( &sfd->tester, 27, 13 ); } static void world_sfd_register(void)