OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Now
(Results
1 - 25
of
69
) sorted by relevancy
1
2
3
/src/games/trek/
rest.c
70
percent = 100 * t /
Now
.time + 0.5;
80
t =
Now
.eventptr[E_LRTB]->date -
Now
.date;
events.c
76
Now
.time =
Now
.resource /
Now
.klings;
80
/* indicate that the cloaking device is
now
working */
84
idate =
Now
.date;
111
rtime = xdate -
Now
.date;
114
Now
.resource -=
Now
.klings * rtime;
116
Now
.time =
Now
.resource / Now.klings
[
all
...]
help.c
91
if (
Now
.bases <= 0) {
103
for (i = 0; i <
Now
.bases; i++) {
105
dx =
Now
.base[i].x - Ship.quadx;
106
dy =
Now
.base[i].y - Ship.quady;
118
Ship.quadx =
Now
.base[l].x;
119
Ship.quady =
Now
.base[l].y;
warp.c
117
percent = 100 * time /
Now
.time + 0.5;
162
Now
.date += time;
164
"it is
now
Stardate %.2f\n",
165
Now
.date);
175
time =
Now
.date;
181
memcpy(p, &
Now
, sizeof
Now
);
183
"it is
now
Stardate %.2f\n",
184
Now
.date);
kill.c
69
Now
.klings -= 1;
87
if (
Now
.klings <= 0)
91
Now
.time =
Now
.resource /
Now
.klings;
119
Now
.bases -= 1;
120
for (b =
Now
.base; ; b++)
123
*b =
Now
.base[
Now
.bases];
dumpme.c
84
reschedule(e, (e->date -
Now
.date) + x);
87
printf("You are
now
in quadrant %d,%d. It is stardate %.2f\n",
88
Ship.quadx, Ship.quady,
Now
.date);
externs.c
113
struct Now_struct
Now
;
setup.c
114
Param.bases =
Now
.bases = ranf(6 - Game.skill) + 2;
116
Param.bases =
Now
.bases = 1;
117
Param.time =
Now
.time = 6.0 * Game.length + 2.0;
120
Param.klings =
Now
.klings = i * j * 3.5 * (franf() + 0.75);
122
Param.klings =
Now
.klings = i * j * 5;
124
Param.klings =
Now
.klings = 127;
130
Param.resource =
Now
.resource = Param.klings * Param.time;
141
Param.date =
Now
.date = (ranf(20) + 20) * 100;
264
Now
.base[i].x = ix;
265
Now
.base[i].y = iy
[
all
...]
score.c
82
r =
Now
.date - Param.date;
89
r =
Now
.klings;
92
scoreitem(t, "Penalty for %d klingons remaining",
Now
.klings);
abandon.c
99
if (
Now
.bases == 0 || Game.captives < 20 * Game.skill)
135
i = ranf(
Now
.bases);
136
Ship.quadx =
Now
.base[i].x;
137
Ship.quady =
Now
.base[i].y;
schedule.c
50
** An event of type 'type' is scheduled for time
NOW
+ 'offset'
64
date =
Now
.date + offset;
81
Now
.eventptr[type & ~E_GHOST] = e;
103
date =
Now
.date + offset;
132
Now
.eventptr[e->evcode & E_EVENT] = 0;
move.c
119
evtime =
Now
.eventptr[E_LRTB]->date -
Now
.date;
124
Now
.eventptr[E_LRTB],
Now
.eventptr[E_LRTB]->evcode,
125
Now
.eventptr[E_LRTB]->date, evtime);
srscan.c
115
printf("stardate %.2f",
Now
.date);
145
printf("Klingons left %d",
Now
.klings);
148
printf("time left %.2f",
Now
.time);
damage.c
92
reschedule(e, e->date -
Now
.date + dam);
dcrept.c
90
x = e->date -
Now
.date;
impulse.c
79
percent = 100 * time /
Now
.time + 0.5;
dock.c
51
** disembarked. Note that your score is updated
now
, not when
116
reschedule(e, (e->date -
Now
.date) * Param.dockfac);
148
reschedule(e, (e->date -
Now
.date) / Param.dockfac);
dumpgame.c
60
{ (char *)&
Now
, sizeof (
Now
) },
snova.c
134
Now
.klings -= dx;
148
if (
Now
.klings <= 0) {
trek.h
320
extern struct Now_struct
Now
;
329
char snapshot[sizeof Quad + sizeof Event + sizeof
Now
];
attack.c
115
Now
.date);
/src/usr.bin/make/unit-tests/
deptgt-path-suffix.mk
12
#
Now
the suffix is defined, and the path is recorded.
cond-func-commands.mk
15
#
Now
the target exists, but it still has no commands.
directive-unexport.mk
23
# XXX:
Now
try to unexport all of them. The variables are still exported
varname-dollar.mk
21
#
Now
overwrite the '$' variable to see whether '$$' really expands to that
Completed in 19 milliseconds
1
2
3
Indexes created Sat Oct 18 08:10:09 GMT 2025