X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_render.c;h=b0416f5f3e927c946ebbe7a7ea6b46719dea1c61;hb=0ff2713a286a77fa3e3538f5a76b0bf60525eb5b;hp=b0f35e1d81151f0bb7e50bb9a09eb82bc06898c9;hpb=f7c3600e850cc57df80d70c1862cf554c0cf4502;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_render.c b/player_render.c index b0f35e1..b0416f5 100644 --- a/player_render.c +++ b/player_render.c @@ -15,6 +15,9 @@ #include "shaders/model_board_view.h" #include "depth_compare.h" +#include "network.h" +#include "player_remote.h" + static void player_load_animation_reference( const char *path ){ mdl_context *meta = &localplayer.skeleton_meta; mdl_open( meta, path, vg_mem.rtmemory ); @@ -86,7 +89,7 @@ static void player_board_load( struct player_board *board, dynamic_model_load( &ctx, &board->mdl, path ); mdl_array_ptr markers; - mdl_load_array( &ctx, &markers, "ent_marker", vg_mem.scratch ); + MDL_LOAD_ARRAY( &ctx, &markers, ent_marker, vg_mem.scratch ); /* TODO: you get put into a new section, the above is standard mdl loads. */ for( int i=0; i<4; i++ )