comparison src/weapons.h @ 10:1040ca591f2e

First entry of Paradise Server 2.9 patch 10 Beta
author darius
date Sat, 06 Dec 1997 04:37:18 +0000
parents
children
comparison
equal deleted inserted replaced
9:331055a97a9d 10:1040ca591f2e
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
21
22
23
24 /*-----------------------------NUMBER DEFINES------------------------------*/
25 #define EXPDIST 350 /* At this range a torp will explode */
26 #define DAMDIST 2000 /* At this range a torp does damage */
27 #define PLASDAMDIST 2500 /* At this range, a plasma does damage */
28 #define FSTRIKEDIST 3200 /* a fighter will fire a torp at this radius */
29 #define F_ESCORT 2500 /* Fighter escort range */
30 #define F_ARC 16 /* 1/2 the forward arc a fighter is allowed
31 * to fire */
32 /*--------------------------------------------------------------------------*/
33
34
35
36
37
38
39 /*-----------------------------FUNCTION PROTOTYPES-------------------------*/
40 void explode();
41 void pexplode();
42 void udphaser();
43 int weap_near_object();
44 int near();
45 int pnear();
46 void udtorps();
47 int torp_track_target();
48 void udplasmatorps();
49 int plasma_track_target();
50 unsigned char get_bearing();
51 int f_land();
52 int fighter_track_target();
53 /*-------------------------------------------------------------------------*/
54
55
56
57
58
59
60 /*-------END OF FILE--------*/