bugfix
authorhgn <hgodden00@gmail.com>
Tue, 2 Aug 2022 23:14:41 +0000 (00:14 +0100)
committerhgn <hgodden00@gmail.com>
Tue, 2 Aug 2022 23:14:41 +0000 (00:14 +0100)
models/mp_dev.mdl
world_sfd.h

index 5f0de7ca8ae0946c99a775b65bfea23c4fdebbe5..fc3981a2faef03f0027540408bfd704d162e3b79 100644 (file)
Binary files a/models/mp_dev.mdl and b/models/mp_dev.mdl differ
index 88f73316585dc28980d4b708da56045be628dafa..3977e62e1edab68f934fad91587386b49d9fc738 100644 (file)
@@ -44,7 +44,7 @@ float sfd_encode_glyph( char c )
       value = 63-c;
    else
    {
-      int base = 'A'+11+27;
+      int base = 11+26;
 
       switch( c )
       {
@@ -58,8 +58,8 @@ float sfd_encode_glyph( char c )
          case '*': value=base+7; break;
          case '+': value=base+8; break;
          case '-': value=base+9; break;
-         case ':': value=base+10; break;
-         case '/': value=base+11; break;
+         case '/': value=base+10; break;
+         case ':': value=base+11; break;
          default: value=0; break;
       }
    }
@@ -120,6 +120,7 @@ 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 );