HomeSort by: relevance | last modified time | path
    Searched refs:damage (Results 1 - 25 of 36) sorted by relevancy

1 2

  /src/games/rogue/
hit.c 32 * SUCH DAMAGE.
68 short damage, hit_chance; local in function:mon_hit
102 damage = get_damage(monster->m_damage, 1);
107 minus = minus/100.00 * (float)damage;
109 damage -= (short)minus;
111 damage = monster->stationary_damage++;
114 damage /= 3;
116 if (damage > 0) {
117 rogue_damage(damage, monster, 0);
127 short damage, hit_chance local in function:rogue_hit
449 short damage; local in function:get_weapon_damage
    [all...]
zap.c 32 * SUCH DAMAGE.
284 short i, ch, new_dir = -1, damage; local in function:bounce
343 damage = monster->hp_to_kill;
345 damage = (monster->hp_to_kill / 10) + 1;
347 damage = get_rand((rogue.hp_current / 3), rogue.hp_max);
350 damage = (monster->hp_to_kill / 2) + 1;
354 (void)mon_damage(monster, damage);
356 damage = -1;
363 damage = rogue.hp_current / 4;
366 damage = -2
    [all...]
throw.c 32 * SUCH DAMAGE.
129 short damage, hit_chance; local in function:throw_at_monster
133 damage = get_weapon_damage(weapon);
136 damage += get_weapon_damage(rogue.weapon);
137 damage = ((damage * 2) / 3);
143 damage = ((damage * 3) / 2);
157 (void)mon_damage(monster, damage);
object.c 32 * SUCH DAMAGE.
503 obj->damage = "1d1";
506 obj->damage = "1d2";
509 obj->damage = "1d3";
512 obj->damage = "1d4";
515 obj->damage = "2d3";
518 obj->damage = "3d4";
521 obj->damage = "4d5";
649 obj->damage = "1d1";
init.c 32 * SUCH DAMAGE.
171 obj->damage = "2d3";
180 obj->damage = "1d2";
190 obj->damage = "1d2";
rogue.h 32 * SUCH DAMAGE.
205 #define m_damage damage
222 const char *damage; /* damage it does */ member in struct:obj
229 short identified; /* 'F' damage, 1,2,3... */
380 #define STATIONARY 0100000000L /* damage will be 1,2,3,... */
  /src/games/warp/
us.c 11 * Added Damage. Fixed random bugs.
56 if (!damage || !damflag[NOTRACTORS]) {
58 damage++;
67 else if (!damage ||
71 damage++;
121 if (!damage || !damflag[NOPHASERS]) {
123 damage++;
146 if (!damage || !damflag[NOTORPS]) {
148 damage++;
272 if (ent && (!damage || !damflag[NOIMPULSE]))
    [all...]
us.h 5 * Added Damage. Fixed random bugs.
36 EXT int damage INIT(0);
score.c 11 * Added Damage. Fixed random bugs.
275 damage = 0;
296 if (damage) {
299 if (damage > 1 || !damflag[dam]) {
306 olddamage = damage;
307 damage--;
313 olddamage = damage;
322 olddamage = damage;
333 tmp = damflag[dam] * damage;
365 if ((!damage || !damflag[dam]) && curscore != oldcurscore)
    [all...]
move.c 8 * Added Damage. Fixed random bugs.
178 damage++;
275 (damage <= smarts/10 &&
285 damage++;
590 if (damage) {
597 if (curobj->energy >= 500 && (!damage || !damflag[NOSHIELDS]))
play.c 5 * Added Damage. Fixed random bugs.
66 damage++;
  /src/sys/external/bsd/drm2/dist/drm/
drm_damage_helper.c 46 * specify a list of damage rectangles on a plane in framebuffer coordinates of
47 * the framebuffer attached to the plane. In current context damage is the area
57 * ignore damage clips property and in that case driver will do a full plane
58 * update. In case damage clips are provided then it is guaranteed that the area
59 * inside damage clips will be updated to plane. For efficiency driver can do
60 * full update or can update more than specified in damage clips. Since driver
63 * provides damage clips which doesn't encompass the actual damage to
68 * damage clips are not in 16.16 fixed point. Similar to plane src in
69 * framebuffer, damage clips cannot be negative. In damage clip, x1/y1 ar
171 struct drm_property_blob *damage = NULL; local in function:drm_atomic_helper_dirtyfb
    [all...]
  /src/games/trek/
damage.c 1 /* $NetBSD: damage.c,v 1.8 2009/05/24 21:44:56 dholland Exp $ */
29 * SUCH DAMAGE.
35 static char sccsid[] = "@(#)damage.c 8.1 (Berkeley) 5/31/93";
37 __RCSID("$NetBSD: damage.c,v 1.8 2009/05/24 21:44:56 dholland Exp $");
49 ** in stardates, and is an additional amount of damage. It should
61 damage(int dev1, double dam) function in typeref:typename:void
78 /* set the damage flag */
ram.c 29 * SUCH DAMAGE.
96 /* damage devices with an 80% probability */
100 damage(i, (2.5 * (franf() + franf()) + 1.0) * Param.damfac[i]);
warp.c 29 * SUCH DAMAGE.
131 damage(WARP, repairs);
191 /* test for just a lot of damage */
195 "extreme damage occurred to ship systems\n");
197 damage(i, (3.0 * (franf() + franf()) + 1.0) * Param.damfac[i]);
Makefile 6 compkl.c computer.c damage.c damaged.c dcrept.c destruct.c \
attack.c 29 * SUCH DAMAGE.
68 ** The actual amount of damage (i.e., how long it takes to fix
160 /* compute amount of damage */
163 /* damage the device */
164 damage(l, extradm);
torped.c 29 * SUCH DAMAGE.
238 damage(TORPED, 0.2 * abs(d) * (franf() + 1.0));
trek.h 29 * SUCH DAMAGE.
286 double damfac[NDEV]; /* damage factor */
299 double damprob[NDEV]; /* damage probability */
307 /* Sum of damage probabilities must add to 1000 */
395 /* damage.c */
396 void damage(int, double);
  /src/games/larn/
tok.c 154 i = ((6 + k) * mp->damage + 1) / 5;
155 mp->damage = (i > 127) ? 127 : i;
diag.c 70 lprintf(" %3ld %3ld %3ld ", (long) monster[i].damage, (long) monster[i].attack, (long) monster[i].defense);
78 lprcat("\n damage = rund(8) + WC/2 + STR - c[HARDGAME] - 4");
80 lprcat("\n Each entry is as follows: to hit / damage / number hits to kill\n");
header.h 38 char damage; member in struct:monst
  /src/common/lib/libc/arch/sparc64/string/
memset.S 23 * SUCH DAMAGE.
158 * On exiting this routine we undo the damage: restore the original
  /src/games/hunt/huntd/
shots.c 30 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
82 * for damage to any player who got in the way.
663 int delta, damage; local in function:chkshot
723 damage = bp->b_size - absdy;
725 damage = bp->b_size - dx;
728 damage * MINDAM, bp->b_type);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
am335x-bone-common.dtsi 282 * mode and risk hardware damage if this mode is entered.

Completed in 115 milliseconds

1 2