HomeSort by: relevance | last modified time | path
    Searched refs:Game (Results 1 - 21 of 21) sorted by relevancy

  /src/games/trek/
win.c 48 ** Signal game won
53 ** asked whether or not you want another game (via the longjmp()
76 if (Game.helps == 0 && Game.killb == 0 && Game.killinhab == 0 &&
77 5 * Game.kills + Game.deaths < 100 &&
80 if (Game.skill >= 6) {
83 p = &Skitab[Game.skill - 1];
90 /* clean out input, and request new game */
    [all...]
score.c 79 s = t = Param.klingpwr / 4 * (u = Game.killk);
85 r = Game.killk / r;
90 r /= Game.killk + 1;
95 s += (t = 100 * (u = Game.skill));
96 scoreitem(t, "Bonus for winning a %s%s game",
100 if (Game.killed) {
105 s += (t = -100 * (u = Game.killb));
108 s += (t = -100 * (u = Game.helps));
111 s += (t = -5 * (u = Game.kills));
114 s += (t = -150 * (u = Game.killinhab))
    [all...]
lose.c 51 ** printed, and the game is restarted. Oh yeh, any special
76 Game.killed = 1;
81 Game.killed = 0;
setup.c 52 ** INITIALIZE THE GAME
54 ** The length, skill, and password are read, and the game
59 ** Game restart and tournament games are handled here.
93 r = getcodpar("What length game", Lentab);
94 Game.length = (long) r->value;
95 if (Game.length == 0) {
102 r = getcodpar("What skill game", Skitab);
103 Game.skill = (long) r->value;
104 Game.tourn = 0;
105 getstrpar("Enter a password", Game.passwd, 14, 0)
    [all...]
ram.c 84 Game.killb += 1;
91 i = 10 + ranf(20 * Game.skill);
92 Game.deaths += i;
externs.c 110 struct Game_struct Game;
destruct.c 53 ** you entered at the start of the game.
56 ** possible to win the game by destructing if you take the last
92 if (strcmp(checkpass, Game.passwd) != 0) {
107 Game.killed = 1;
110 Game.deaths += Ship.crew;
abandon.c 93 Game.deaths += Ship.crew;
99 if (Now.bases == 0 || Game.captives < 20 * Game.skill)
srscan.c 166 p = &Lentab[Game.length - 1];
167 if (Game.length > 2)
170 p = &Skitab[Game.skill - 1];
dumpgame.c 63 { (char *)&Game, sizeof (Game) },
72 ** DUMP GAME
74 ** This routine dumps the game onto the file "trek.dump". The
109 ** RESTORE GAME
111 ** The game is restored from the file "trek.dump". In order for
nova.c 83 Game.kills += 1;
111 Game.killb += 1;
snova.c 61 ** itable for the rest of eternity, i.e., the game. If you ever
137 Game.kills += dy;
140 Game.killk += dx;
attack.c 153 if (hit >= (15 - Game.skill) * (25 - ranf(12))) {
184 Game.deaths += cas;
kill.c 58 ** and the game is won if that was the last klingon.
74 Game.killk += 1;
167 Game.killinhab += 1;
dock.c 96 Game.captives += Param.brigfree - Ship.brigfree;
help.c 97 Game.helps += 1;
warp.c 159 if (percent < 35 || !Game.snap) {
torped.c 197 Game.killb += 1;
trek.h 243 /* game related information, mostly scoring */
251 char length; /* length of game */
254 char tourn; /* set if a tournament game */
255 char passwd[15]; /* game password */
260 extern struct Game_struct Game;
265 char endgame; /* end of game flag */
events.c 408 Game.snap = 1;
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
tegra30-ouya.dts 13 model = "Ouya Game Console";

Completed in 69 milliseconds