Home
last modified time | relevance | path

Searched refs:ourtime (Results 1 – 12 of 12) sorted by relevance

/netbsd-src/games/battlestar/
H A Dcommand1.c55 ourtime++; in moveplayer()
104 if (ourtime > 30 && position < 32) { in news()
112 if (ourtime > 20 && position < 32) in news()
114 if (ourtime > snooze) { in news()
118 if (ourtime > snooze - 5) in news()
120 if (ourtime > (rythmn + CYCLE)) { in news()
123 if (OUTSIDE && ourtime - rythmn - CYCLE < 10) { in news()
133 if (OUTSIDE && ourtime - rythmn - CYCLE < 10) { in news()
143 rythmn = ourtime - ourtime % CYCLE; in news()
183 if (meetgirl && CYCLE * 1.5 - ourtime < 10) { in news()
[all …]
H A Dcommand5.c150 ourtime += 10; in love()
167 ourtime += 10; in love()
193 oldtime = ourtime; in zzz()
194 if ((snooze - ourtime) < zzztime) { in zzz()
195 ourtime += zzztime - (snooze - ourtime); in zzz()
197 for (n = 0; n < ourtime - oldtime; n++) in zzz()
200 snooze += 3 * (ourtime - oldtime); in zzz()
202 fuel -= (ourtime - oldtime); in zzz()
249 if ((ourtime / CYCLE + 1) % 2 && OUTSIDE) in chime()
250 switch ((ourtime % CYCLE) / (CYCLE / 7)) { in chime()
[all …]
H A Dcommand7.c55 ourtime++; in fight()
57 if (snooze > ourtime) in fight()
58 exhaustion = CYCLE / (snooze - ourtime); in fight()
63 if (snooze - ourtime < 20) in fight()
220 followfight = ourtime; in fight()
266 ourtime--; in fight()
H A Dcommand2.c90 ourtime++; in wearit()
150 ourtime++; in use()
162 ourtime++; in use()
299 ourtime++; in ravage()
356 if (followfight == ourtime) { in follow()
369 if (followgod == ourtime) { in follow()
H A Dcommand6.c54 ourtime++; in launch()
77 ourtime++; in land()
192 ourtime += 15; in drive()
233 ourtime++; in light()
H A Dcommand4.c67 ourtime++; in take()
192 followgod = ourtime; in take()
358 ourtime++; in drop()
441 ourtime > ate - CYCLE && in eat()
446 ate = max(ourtime, ate) + CYCLE / 3; in eat()
448 ourtime++; in eat()
H A Dsave.c70 fread(&ourtime, sizeof ourtime, 1, fp); in restore()
124 fwrite(&ourtime, sizeof ourtime, 1, fp); in save()
H A Dcommand3.c48 ourtime++; in dig()
204 ourtime++; in drink()
226 ourtime++; in shoot()
243 ourtime++; in shoot()
H A Dcypher.c418 printf("Time (was %d) = ", ourtime); in cypher()
421 sscanf(buffer, "%d", &ourtime); in cypher()
459 printf("%s in %d turns.\n", rate(), ourtime); in cypher()
H A Dglobals.c267 int ourtime; variable
H A Dinit.c62 ourtime = 0; in initialize()
H A Dextern.h285 extern int ourtime;