#include "ent_skateshop.h"
#include "player.h"
-#include "conf.h"
#include "input.h"
#include "menu.h"
#include "vg/vg_perlin.h"
#endif
v3_copy( (v3f){0.0f,0.0f,0.0f}, player->fpv_offset );
v3_copy( (v3f){0.0f,1.4f,0.0f}, player->tpv_offset );
- v3_add( TEMP_TPV_EXTRA, player->tpv_offset, player->tpv_offset );
+ v3_add( player->tpv_offset_extra, player->tpv_offset,
+ player->tpv_offset );
}
player->cam_velocity_constant = 0.25f;
angles[1] = vg_clampf( angles[1], -VG_PIf*0.5f, VG_PIf*0.5f );
}
-struct player_board *player_get_player_board( struct player_instance *player )
-{
- struct player_board *board = NULL;
-
- if( localplayer.board_view_slot ){
- struct cache_board *cache_view = localplayer.board_view_slot;
- if( cache_view->state == k_cache_board_state_loaded ){
- board = &cache_view->board;
- }
- }
-
- return board;
-}
-
#endif /* PLAYER_COMMON_C */