X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=player.h;h=ec24b865a130c314a085a9bf1875ed18ce705f47;hb=ae7167001d7f442b08354b32873cd29c3fb4c74e;hp=aba87e0da6600be41ad55d401e0c1ccad737f92d;hpb=02e009ae6e20938675277e9ce2f467e17b170cc7;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player.h b/player.h index aba87e0..ec24b86 100644 --- a/player.h +++ b/player.h @@ -17,8 +17,7 @@ static i32 k_cinema_fixed = 0; static f32 k_cinema = 0.0f; static i32 k_invert_y = 0; -struct player_instance -{ +struct player_instance{ /* transform definition */ rigidbody rb, rb_gate_storage; v3f angles, angles_storage; @@ -232,6 +231,7 @@ PLAYER_API void player__post_update( player_instance *player ); PLAYER_API void player__pass_gate( player_instance *player, ent_gate *gate ); PLAYER_API void player__im_gui( player_instance *player ); +PLAYER_API void player__setpos( player_instance *player, v3f pos ); PLAYER_API void player__spawn( player_instance *player, ent_spawn *rp ); PLAYER_API void player__kill( player_instance *player );