move rigidbody to vg
[carveJwlIkooP6JGAAIwe30JlM.git] / world_sfd.h
index 19c867c9a28ecc447b4f5fe901feb025c60b0898..176425dfea664ba49112f004dc90c993602e64b0 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "world.h"
 #include "world_routes.h"
+#include "scene.h"
 
 struct world_sfd{
    GLuint tex_scoretex;
@@ -25,10 +26,17 @@ struct world_sfd{
 static world_sfd;
 static void world_sfd_init(void);
 
-static void sfd_encode( u32 row, const char *str );
+enum world_sfd_align {
+   k_world_sfd_left,
+   k_world_sfd_right,
+   k_world_sfd_center
+};
+
+static void sfd_encode( v2i co, const char *str, enum world_sfd_align align );
 static void sfd_render( world_instance *world, camera *cam, 
                            m4x3f transform );
-static void world_sfd_compile_scores( struct leaderboard_cache *leaderboard );
+static void world_sfd_compile_scores( struct leaderboard_cache *leaderboard,
+                                      const char *title );
 static void world_sfd_compile_active_scores(void);
 
 #endif /* SFD_H */