X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=sidebyside;f=player_render.h;h=f33e2db6f76faa189d3b444c974535283cb57bd7;hb=f1fe55f957a3dbdb6ca20a696f0c1171e2d5e7ca;hp=31fba37d2a5ad4612e1c55e3e9ca7d69ae61ca30;hpb=02e009ae6e20938675277e9ce2f467e17b170cc7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_render.h b/player_render.h index 31fba37..f33e2db 100644 --- a/player_render.h +++ b/player_render.h @@ -57,6 +57,10 @@ struct player_board{ board; }; +struct board_pose { + f32 lean; +}; + struct player_model{ struct dynamic_model_1texture mdl; }; @@ -79,8 +83,11 @@ VG_STATIC void player_model_unload( struct player_model *board ); VG_STATIC void render_board( camera *cam, world_instance *world, struct player_board *board, m4x3f root, + struct board_pose *pose, enum board_shader shader ); + VG_STATIC void render_playermodel( camera *cam, world_instance *world, + int depth_compare, struct player_model *model, struct skeleton *skeleton );