# HG changeset patch # User darius # Date 881389670 0 # Node ID b7fe2e0e4b86ebcefe0b393991bc8a0dcde7083a # Parent ed82a42ba89d026e5fc5995ec2ec231590dbb145 Added #defines which hold the chance of nebulous terrain affecting your weapons systems. diff -r ed82a42ba89d -r b7fe2e0e4b86 src/defs.h --- a/src/defs.h Sat Dec 06 06:27:03 1997 +0000 +++ b/src/defs.h Sat Dec 06 06:27:50 1997 +0000 @@ -96,26 +96,31 @@ #define SCALE 40 /* Window will be one pixel for 20 spaces */ #define SHIPDAMDIST 3000 /* At this range, an exploding ship does * damage */ -#define DETDIST 1800 /* At this range a torp can be detonated */ -/* was 1600. 6/29/92 TC */ -/* was 1800 8/1/92 TC */ +#define DETDIST 1800 /* At this range a torp can be detonated + was 1600. 6/29/92 TC + was 1800 8/1/92 TC */ #define NEWDETDIST 1800 #define PHASEDIST 6000 /* At this range a player can do damage with - * phasers -- outdated */ + * phasers -- outdated */ #define ENTORBDIST 900 /* At this range a player can orbit a planet */ #define ORBDIST 800 /* A player will orbit at this radius */ #define FORBDIST 7500 /* The radius at which fighters patrol */ #define ORBSPEED 2 /* This is the fastest a person can go into - * orbit */ + * orbit */ #define PFIREDIST 1500 /* At this range a planet will shoot at a - * player */ + * player */ #define MIN_AST_DAMAGE 10 /* the minimum damage caused by an asteroid */ #define VAR_AST_DAMAGE 5 /* the max additional damage caused by an - * asteroid per speed factor */ + * asteroid per speed factor */ #define MIN_AST_HIT 2 /* the minimum chance of hitting an asteroid */ +#define TORP_NEB_EFF 40 /* percent for nebulous terrain to screw up tracking */ +#define PLASMA_NEB_EFF 30 +#define FIGHTER_NEB_EFF 20 +#define MISSILE_NEB_EFF 30 + #define TORP_HIT_AST 8 #define PLASMA_HIT_AST 12 /* percent for asteroid collisions. */ #define FIGHTER_HIT_AST 3