#include "world.h"
#include "audio.h"
#include "player_replay.h"
+#include "network.h"
static int localplayer_cmd_respawn( int argc, const char *argv[] ){
ent_spawn *rp = NULL, *r;
m4x4_mul( world_gates.cam.mtx.v, transport_4, world_gates.cam.mtx.v );
}
-#if 0
-__attribute__ ((deprecated))
-static void gate_rotate_angles( ent_gate *gate, v3f angles, v3f d )
-{
- v3_copy( angles, d );
- return;
-
- v3f fwd_dir = { cosf(angles[0]),
- 0.0f,
- sinf(angles[0])};
- m3x3_mulv( gate->transport, fwd_dir, fwd_dir );
-
- v3_copy( angles, d );
- d[0] = atan2f( fwd_dir[2], fwd_dir[0] );
-}
-#endif
-
static void player__im_gui(void){
if( !k_player_debug_info ) return;