comparison src/defs.h @ 14:b7fe2e0e4b86

Added #defines which hold the chance of nebulous terrain affecting your weapons systems.
author darius
date Sat, 06 Dec 1997 06:27:50 +0000
parents cafa94d86546
children
comparison
equal deleted inserted replaced
13:ed82a42ba89d 14:b7fe2e0e4b86
94 94
95 #define WARP1 20 /* warp one will move 20 spaces per update */ 95 #define WARP1 20 /* warp one will move 20 spaces per update */
96 #define SCALE 40 /* Window will be one pixel for 20 spaces */ 96 #define SCALE 40 /* Window will be one pixel for 20 spaces */
97 #define SHIPDAMDIST 3000 /* At this range, an exploding ship does 97 #define SHIPDAMDIST 3000 /* At this range, an exploding ship does
98 * damage */ 98 * damage */
99 #define DETDIST 1800 /* At this range a torp can be detonated */ 99 #define DETDIST 1800 /* At this range a torp can be detonated
100 /* was 1600. 6/29/92 TC */ 100 was 1600. 6/29/92 TC
101 /* was 1800 8/1/92 TC */ 101 was 1800 8/1/92 TC */
102 #define NEWDETDIST 1800 102 #define NEWDETDIST 1800
103 103
104 #define PHASEDIST 6000 /* At this range a player can do damage with 104 #define PHASEDIST 6000 /* At this range a player can do damage with
105 * phasers -- outdated */ 105 * phasers -- outdated */
106 #define ENTORBDIST 900 /* At this range a player can orbit a planet */ 106 #define ENTORBDIST 900 /* At this range a player can orbit a planet */
107 #define ORBDIST 800 /* A player will orbit at this radius */ 107 #define ORBDIST 800 /* A player will orbit at this radius */
108 #define FORBDIST 7500 /* The radius at which fighters patrol */ 108 #define FORBDIST 7500 /* The radius at which fighters patrol */
109 #define ORBSPEED 2 /* This is the fastest a person can go into 109 #define ORBSPEED 2 /* This is the fastest a person can go into
110 * orbit */ 110 * orbit */
111 #define PFIREDIST 1500 /* At this range a planet will shoot at a 111 #define PFIREDIST 1500 /* At this range a planet will shoot at a
112 * player */ 112 * player */
113 113
114 #define MIN_AST_DAMAGE 10 /* the minimum damage caused by an asteroid */ 114 #define MIN_AST_DAMAGE 10 /* the minimum damage caused by an asteroid */
115 #define VAR_AST_DAMAGE 5 /* the max additional damage caused by an 115 #define VAR_AST_DAMAGE 5 /* the max additional damage caused by an
116 * asteroid per speed factor */ 116 * asteroid per speed factor */
117 #define MIN_AST_HIT 2 /* the minimum chance of hitting an asteroid */ 117 #define MIN_AST_HIT 2 /* the minimum chance of hitting an asteroid */
118
119 #define TORP_NEB_EFF 40 /* percent for nebulous terrain to screw up tracking */
120 #define PLASMA_NEB_EFF 30
121 #define FIGHTER_NEB_EFF 20
122 #define MISSILE_NEB_EFF 30
118 123
119 #define TORP_HIT_AST 8 124 #define TORP_HIT_AST 8
120 #define PLASMA_HIT_AST 12 /* percent for asteroid collisions. */ 125 #define PLASMA_HIT_AST 12 /* percent for asteroid collisions. */
121 #define FIGHTER_HIT_AST 3 126 #define FIGHTER_HIT_AST 3
122 #define MISSILE_HIT_AST 5 127 #define MISSILE_HIT_AST 5