| /netbsd-src/games/rogue/ |
| H A D | hit.c | 68 short damage, hit_chance; in mon_hit() local 102 damage = get_damage(monster->m_damage, 1); in mon_hit() 107 minus = minus/100.00 * (float)damage; in mon_hit() 109 damage -= (short)minus; in mon_hit() 111 damage = monster->stationary_damage++; in mon_hit() 114 damage /= 3; in mon_hit() 116 if (damage > 0) { in mon_hit() 117 rogue_damage(damage, monster, 0); in mon_hit() 127 short damage, hit_chance; in rogue_hit() local 145 damage = get_weapon_damage(rogue.weapon); in rogue_hit() [all …]
|
| H A D | zap.c | 284 short i, ch, new_dir = -1, damage; in bounce() local 343 damage = monster->hp_to_kill; in bounce() 345 damage = (monster->hp_to_kill / 10) + 1; in bounce() 347 damage = get_rand((rogue.hp_current / 3), rogue.hp_max); in bounce() 350 damage = (monster->hp_to_kill / 2) + 1; in bounce() 354 (void)mon_damage(monster, damage); in bounce() 356 damage = -1; in bounce() 363 damage = rogue.hp_current / 4; in bounce() 366 damage = -2; in bounce() 368 if (damage != -1) { in bounce() [all …]
|
| H A D | throw.c | 129 short damage, hit_chance; in throw_at_monster() local 133 damage = get_weapon_damage(weapon); in throw_at_monster() 136 damage += get_weapon_damage(rogue.weapon); in throw_at_monster() 137 damage = ((damage * 2) / 3); in throw_at_monster() 143 damage = ((damage * 3) / 2); in throw_at_monster() 157 (void)mon_damage(monster, damage); in throw_at_monster()
|
| H A D | object.c | 538 obj->damage = "1d1"; in gr_weapon() 541 obj->damage = "1d2"; in gr_weapon() 544 obj->damage = "1d3"; in gr_weapon() 547 obj->damage = "1d4"; in gr_weapon() 550 obj->damage = "2d3"; in gr_weapon() 553 obj->damage = "3d4"; in gr_weapon() 556 obj->damage = "4d5"; in gr_weapon() 643 obj->damage = "1d1"; in alloc_object()
|
| H A D | init.c | 171 obj->damage = "2d3"; in player_init() 180 obj->damage = "1d2"; in player_init() 190 obj->damage = "1d2"; in player_init()
|
| /netbsd-src/games/warp/ |
| H A D | us.c | 56 if (!damage || !damflag[NOTRACTORS]) { in do_direction() 58 damage++; in do_direction() 67 else if (!damage || in do_direction() 71 damage++; in do_direction() 121 if (!damage || !damflag[NOPHASERS]) { in ctrl_direction() 123 damage++; in ctrl_direction() 146 if (!damage || !damflag[NOTORPS]) { in shift_direction() 148 damage++; in shift_direction() 272 if (ent && (!damage || !damflag[NOIMPULSE])) { in get_commands() 278 if (ent && (!damage || !damflag[NOWARP])) { in get_commands() [all …]
|
| H A D | score.c | 275 damage = 0; in display_status() 296 if (damage) { in display_status() 299 if (damage > 1 || !damflag[dam]) { in display_status() 306 olddamage = damage; in display_status() 307 damage--; in display_status() 313 olddamage = damage; in display_status() 322 olddamage = damage; in display_status() 333 tmp = damflag[dam] * damage; in display_status() 365 if ((!damage || !damflag[dam]) && curscore != oldcurscore) { in display_status()
|
| H A D | move.c | 178 damage++; in move_universe() 275 (damage <= smarts/10 && in move_universe() 285 damage++; in move_universe() 590 if (damage) { in move_universe() 597 if (curobj->energy >= 500 && (!damage || !damflag[NOSHIELDS])) in move_universe()
|
| /netbsd-src/external/mit/xorg/lib/libxcb/files/ |
| H A D | damage.c | 106 xcb_damage_damage_t damage, in xcb_damage_create_checked() argument 121 xcb_out.damage = damage; in xcb_damage_create_checked() 137 xcb_damage_damage_t damage, in xcb_damage_create() argument 152 xcb_out.damage = damage; in xcb_damage_create() 168 xcb_damage_damage_t damage) in xcb_damage_destroy_checked() argument 181 xcb_out.damage = damage; in xcb_damage_destroy_checked() 194 xcb_damage_damage_t damage) in xcb_damage_destroy() argument 207 xcb_out.damage = damage; in xcb_damage_destroy() 220 xcb_damage_damage_t damage, in xcb_damage_subtract_checked() argument 235 xcb_out.damage = damage; in xcb_damage_subtract_checked() [all …]
|
| H A D | damage.h | 105 xcb_damage_damage_t damage; member 121 xcb_damage_damage_t damage; member 134 xcb_damage_damage_t damage; member 164 xcb_damage_damage_t damage; member 293 xcb_damage_damage_t damage, 336 xcb_damage_damage_t damage, 356 xcb_damage_damage_t damage); 371 xcb_damage_damage_t damage); 390 xcb_damage_damage_t damage, 408 xcb_damage_damage_t damage,
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ |
| H A D | drm_damage_helper.c | 171 struct drm_property_blob *damage = NULL; in drm_atomic_helper_dirtyfb() local 206 damage = drm_property_create_blob(fb->dev, in drm_atomic_helper_dirtyfb() 209 if (IS_ERR(damage)) { in drm_atomic_helper_dirtyfb() 210 ret = PTR_ERR(damage); in drm_atomic_helper_dirtyfb() 211 damage = NULL; in drm_atomic_helper_dirtyfb() 236 damage); in drm_atomic_helper_dirtyfb() 249 drm_property_blob_put(damage); in drm_atomic_helper_dirtyfb()
|
| /netbsd-src/external/mit/xorg/server/xorg-server/miext/damage/ |
| H A D | Makefile.damage | 3 .PATH: ${X11SRCDIR.xorg-server}/miext/damage 4 SRCS.damage= damage.c
|
| H A D | Makefile | 7 LIB= damage 8 SRCS= ${SRCS.damage}
|
| /netbsd-src/external/mit/xorg/server/xorg-server.old/miext/damage/ |
| H A D | Makefile.damage | 3 .PATH: ${X11SRCDIR.xorg-server}/miext/damage 4 SRCS.damage= damage.c
|
| H A D | Makefile | 7 LIB= damage 8 SRCS= ${SRCS.damage}
|
| /netbsd-src/games/phantasia/ |
| H A D | COPYRIGHT | 19 * The author shall not be responsible for any loss, cost, or damage, 20 * including consequential damage, caused by reliance on this material.
|
| /netbsd-src/games/trek/ |
| H A D | warp.c | 131 damage(WARP, repairs); in warp() 197 damage(i, (3.0 * (franf() + franf()) + 1.0) * Param.damfac[i]); in warp()
|
| /netbsd-src/games/larn/ |
| H A D | tok.c | 154 i = ((6 + k) * mp->damage + 1) / 5; in sethard() 155 mp->damage = (i > 127) ? 127 : i; in sethard()
|
| /netbsd-src/external/mit/xorg/server/xorg-server/hw/vfb/ |
| H A D | Makefile | 57 ${LDADD.miext/damage} \ 91 ${DPADD.miext/damage} \
|
| /netbsd-src/external/mit/xorg/server/xorg-server.old/hw/vfb/ |
| H A D | Makefile | 66 ${LDADD.miext/damage} \ 96 ${DPADD.miext/damage} \
|
| /netbsd-src/external/mit/xorg/server/xorg-server.old/hw/xnest/ |
| H A D | Makefile | 62 ${LDADD.miext/damage} \ 87 ${DPADD.miext/damage} \
|
| /netbsd-src/external/mit/xorg/server/xorg-server.old/hw/netbsd/alpha/ |
| H A D | Makefile | 87 ${LDADD.miext/damage} \ 109 ${DPADD.miext/damage} \
|
| /netbsd-src/external/mit/xorg/server/xorg-server/hw/xnest/ |
| H A D | Makefile | 62 ${LDADD.miext/damage} \ 89 ${DPADD.miext/damage} \
|
| /netbsd-src/external/mit/xorg/lib/libxcb/damage/ |
| H A D | Makefile | 3 XCBEXT= damage
|
| /netbsd-src/external/mit/xorg/server/xorg-server/miext/ |
| H A D | Makefile | 3 SUBDIR= damage shadow sync # rootless
|