6
|
1 /*--------------------------------------------------------------------------
|
|
2 NETREK II -- Paradise
|
|
3
|
|
4 Permission to use, copy, modify, and distribute this software and its
|
|
5 documentation, or any derivative works thereof, for any NON-COMMERCIAL
|
|
6 purpose and without fee is hereby granted, provided that this copyright
|
|
7 notice appear in all copies. No representations are made about the
|
|
8 suitability of this software for any purpose. This software is provided
|
|
9 "as is" without express or implied warranty.
|
|
10
|
|
11 Xtrek Copyright 1986 Chris Guthrie
|
|
12 Netrek (Xtrek II) Copyright 1989 Kevin P. Smith
|
|
13 Scott Silvey
|
|
14 Paradise II (Netrek II) Copyright 1993 Larry Denys
|
|
15 Kurt Olsen
|
|
16 Brandon Gillespie
|
|
17 --------------------------------------------------------------------------*/
|
|
18
|
|
19
|
|
20 #ifndef plutil_h_
|
|
21 #define plutil_h_
|
|
22
|
|
23 /* is the player in warp? */
|
|
24 int in_warp( /* struct player * */ );
|
|
25
|
|
26
|
|
27 /*
|
|
28 * remove the player from his base. Returns 1 if the player was really
|
|
29 * docked, 0 otherwise
|
|
30 */
|
|
31 int undock_player( /* struct player * */ );
|
|
32
|
|
33 /* make sure the player has the proper coordinates */
|
|
34 void enforce_dock_position( /* struct player * */ );
|
|
35
|
|
36 /* dock a player onto a base at a certain port */
|
|
37 void
|
|
38 dock_to( /* struct player *, int base_num, int port_id */ );
|
|
39
|
|
40 #endif
|