X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player.h;h=ec24b865a130c314a085a9bf1875ed18ce705f47;hb=7fb317c87e6d6a0a2a0de714b278ff8763254657;hp=aba87e0da6600be41ad55d401e0c1ccad737f92d;hpb=4c673ebccdd6d12e2eb6c2804b79602da98ea8b1;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 );