Mercurial > ~darius > hgwebdir.cgi > paradise_server
comparison src/plutil.h @ 6:8c6d5731234d
First entry of Paradise Server 2.9 patch 10 Beta
author | darius |
---|---|
date | Sat, 06 Dec 1997 04:37:04 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
5:054275999194 | 6:8c6d5731234d |
---|---|
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 |