HomeSort by: relevance | last modified time | path
    Searched defs:damage (Results 1 - 8 of 8) sorted by relevancy

  /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 */
  /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/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...]
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);
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...]
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/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/games/larn/
header.h 38 char damage; member in struct:monst

Completed in 59 milliseconds