OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dam
(Results
1 - 9
of
9
) sorted by relevancy
/src/games/trek/
damage.c
48
** Device `dev1' is damaged in an amount `
dam
'.
Dam
is measured
57
**
dam
-- time to repair
61
damage(int dev1, double
dam
)
69
if (
dam
<= 0.0)
77
dam
*= Param.dockfac;
82
schedule(E_FIXDV,
dam
, 0, 0, dev);
92
reschedule(e, e->date - Now.date +
dam
);
/src/games/warp/
us.h
34
EXT int
dam
INIT(0);
score.c
299
if (damage > 1 || !damflag[
dam
]) {
301
if (++
dam
== MAXDAMAGE)
302
dam
= 0;
303
} while (!damflag[
dam
]);
305
if (!--damflag[
dam
]) {
308
snprintf(spbuf, sizeof(spbuf), "%s OK *** ",dammess[
dam
]);
312
else if (
dam
== NOSHIELDS) {
314
tmp = (34 - damflag[
dam
]) * 3 - rand_mod(3);
317
snprintf(spbuf, sizeof(spbuf), "%d%% %s *** ",tmp,dammess[
dam
]);
321
else if (
dam
!= lastdam || !olddamage)
[
all
...]
/src/games/larn/
diag.c
37
int hit,
dam
;
local
66
lprcat(" Monster Name LEV AC
DAM
ATT DEF GOLD HP EXP \n");
85
dam
= 16 - c[HARDGAME];
88
(long) (hit / 2), (long) max(0,
dam
+ 2), (long) (monster[i].hitpoints / (
dam
+ 2) + 1),
89
(long) ((hit + 2) / 2), (long) max(0,
dam
+ 10), (long) (monster[i].hitpoints / (
dam
+ 10) + 1),
90
(long) ((hit + 5) / 2), (long) max(0,
dam
+ 20), (long) (monster[i].hitpoints / (
dam
+ 20) + 1));
monster.c
33
* direct(spnum,
dam
,str,arg)Routine to direct spell damage 1 square in 1 dir
34
* int spnum,
dam
,arg;
37
* godirect(spnum,
dam
,str,delay,cshow) Function to perform missile attacks
38
* int spnum,
dam
,delay;
47
* omnidirect(sp,
dam
,str) Routine to damage all monsters 1 square from player
48
* int sp,
dam
;
718
* direct(spnum,
dam
,str,arg) Routine to direct spell damage 1 square in 1 dir
719
* int spnum,
dam
,arg;
723
* Enter with the spell number in spnum, the damage to be done in
dam
,
728
direct(int spnum, int
dam
, const char *str, int arg
1228
int
dam
, tmp, mster, bias;
local
[
all
...]
/src/games/hack/
hack.mhitu.c
404
hitu(struct monst *mtmp, int
dam
)
424
dam
+= tmp; /* decrease damage */
425
if (
dam
<= 0)
426
dam
= 1;
447
losehp_m(
dam
, mtmp);
hack.zap.c
581
int
dam
= 0;
local
586
dam
= d(2, 6);
592
dam
= d(6, 6);
603
dam
= d(6, 6);
608
losehp(
dam
, fltxt);
hack.fight.c
193
thitu(int tlev, int
dam
, const char *name)
209
losehp(
dam
, name);
hack.mon.c
195
youswld(struct monst *mtmp, int
dam
, unsigned int die, const char *name)
200
u.uhp -=
dam
;
Completed in 20 milliseconds
Indexes created Sat Feb 21 16:20:20 UTC 2026