naev 0.10.4
board.h
1/*
2 * See Licensing and Copyright notice in naev.h
3 */
4#pragma once
5
6#include "pilot.h"
7
8enum {
9 PLAYER_BOARD_OK=0,
10 PLAYER_BOARD_RETRY=1,
11 PLAYER_BOARD_IMPOSSIBLE=2,
12 PLAYER_BOARD_ERROR=3,
13};
14
15int player_isBoarded (void);
16int player_tryBoard( int noisy );
17void board_unboard (void);
18int pilot_board( Pilot *p );
19void pilot_boardComplete( Pilot *p );
int pilot_board(Pilot *p)
Has a pilot attempt to board another pilot.
Definition: board.c:208
void pilot_boardComplete(Pilot *p)
Finishes the boarding.
Definition: board.c:257
int player_tryBoard(int noisy)
Attempt to board the player's target.
Definition: board.c:113
int player_isBoarded(void)
Gets if the player is boarded.
Definition: board.c:42
void board_unboard(void)
Forces unboarding of the pilot.
Definition: board.c:197
The representation of an in-game pilot.
Definition: pilot.h:210