update for ui api
[carveJwlIkooP6JGAAIwe30JlM.git] / player_glide.c
index 6b5930b9c2f26bed2d4d17ad1f28d3d902303831..5df05e3db61bd7047738ab7a109530851c82475f 100644 (file)
@@ -347,18 +347,17 @@ void player_glide_remote_animator_exchange( bitpack_ctx *ctx, void *data )
    bitpack_qquat( ctx, animator->root_q );
 }
 
-void player_glide_im_gui(void)
+void player_glide_im_gui( ui_context *ctx )
 {
-   player__debugtext( 1, "Nothing here" );
-   player__debugtext( 1, " lift: %.2f %.2f %.2f", 
+   player__debugtext( ctx, 1, " lift: %.2f %.2f %.2f", 
                            player_glide.info_lift[0],
                            player_glide.info_lift[1],
                            player_glide.info_lift[2] );
-   player__debugtext( 1, " slip: %.2f %.2f %.2f", 
+   player__debugtext( ctx, 1, " slip: %.2f %.2f %.2f", 
                            player_glide.info_slip[0],
                            player_glide.info_slip[1],
                            player_glide.info_slip[2] );
-   player__debugtext( 1, " drag: %.2f %.2f %.2f", 
+   player__debugtext( ctx, 1, " drag: %.2f %.2f %.2f", 
                            player_glide.info_drag[0],
                            player_glide.info_drag[1],
                            player_glide.info_drag[2] );