Home
last modified time | relevance | path

Searched refs:Game (Results 1 – 25 of 35) sorted by relevance

12

/openbsd-src/games/trek/
H A Dsetup.c85 Game.length = (long) r->value; in setup()
87 Game.skill = (long) r->value; in setup()
88 Game.tourn = 0; in setup()
89 getstrpar("Enter a password", Game.passwd, 14, 0); in setup()
90 if (strcmp(Game.passwd, "tournament") == 0) in setup()
92 getstrpar("Enter tournament code", Game.passwd, 14, 0); in setup()
93 Game.tourn = 1; in setup()
95 for (i = 0; Game.passwd[i]; i++) in setup()
96 d += Game.passwd[i] << i; in setup()
99 Param.bases = Now.bases = ranf(6 - Game.skill) + 2; in setup()
[all …]
H A Dscore.c50 s = t = Param.klingpwr / 4 * (u = Game.killk); in score()
56 r = Game.killk / r; in score()
61 r /= Game.killk + 1; in score()
67 s += (t = 100 * (u = Game.skill)); in score()
70 if (Game.killed) in score()
75 s += (t = -100 * (u = Game.killb)); in score()
78 s += (t = -100 * (u = Game.helps)); in score()
81 s += (t = -5 * (u = Game.kills)); in score()
84 s += (t = -150 * (u = Game.killinhab)); in score()
92 s += (t = 3 * (u = Game.captives)); in score()
[all …]
H A Dwin.c68 …if (Game.helps == 0 && Game.killb == 0 && Game.killinhab == 0 && 5 * Game.kills + Game.deaths < 10… in win()
72 if (Game.skill >= 6) in win()
76 p = &Skitab[Game.skill - 1]; in win()
H A Dram.c77 Game.killb += 1; in ram()
84 i = 10 + ranf(20 * Game.skill); in ram()
85 Game.deaths += i; in ram()
H A Ddestruct.c86 if (strcmp(checkpass, Game.passwd) != 0) in destruct()
104 Game.killed = 1; in destruct()
107 Game.deaths += Ship.crew; in destruct()
H A Dlose.c70 Game.killed = 1; in lose()
77 Game.killed = 0; in lose()
H A Dabandon.c87 Game.deaths += Ship.crew; in abandon()
95 if (Now.bases == 0 || Game.captives < 20 * Game.skill) in abandon()
H A Dsrscan.c162 p = &Lentab[Game.length - 1]; in srscan()
163 if (Game.length > 2) in srscan()
166 p = &Skitab[Game.skill - 1]; in srscan()
H A Dmain.c46 struct Game Game; variable
H A Dnova.c79 Game.kills += 1; in nova()
110 Game.killb += 1; in nova()
H A Dsnova.c138 Game.kills += dy; in snova()
141 Game.killk += dx; in snova()
H A Dattack.c146 if (hit >= (15 - Game.skill) * (25 - ranf(12))) in attack()
178 Game.deaths += cas; in attack()
H A Dkill.c66 Game.killk += 1; in killk()
164 Game.killinhab += 1; in kills()
H A Dtrek.h229 extern struct Game struct
245 } Game; argument
H A Ddock.c92 Game.captives += Param.brigfree - Ship.brigfree; in dock()
H A Dhelp.c89 Game.helps += 1; in help()
H A Dwarp.c149 if (percent < 35 || !Game.snap) in warp()
H A Dtorped.c197 Game.killb += 1; in torped()
H A Devents.c392 Game.snap = 1; in events()
/openbsd-src/usr.bin/file/magdir/
H A Dconsole97 # smsgg: file(1) magic for Sega Master System and Game Gear ROM dumps
105 #>1 byte 0xED Sega Master System/Game Gear ROM dump
106 #>1 byte 0x31 Sega Master System/Game Gear ROM dump
107 #>1 byte 0xDB Sega Master System/Game Gear ROM dump
108 #>1 byte 0xAF Sega Master System/Game Gear ROM dump
109 #>1 byte 0xC3 Sega Master System/Game Gear ROM dump
H A Dadventure53 # Game files start with "TADS2 bin\n\r\032\0" then the compiler version.
/openbsd-src/games/hack/
H A Dhh23 Game commands:
/openbsd-src/share/misc/
H A Dusb_hid_usages18 0x05 Game Pad
231 5 Game Controls
233 0x01 3D Game Controller
249 0x2D New Game
847 0xD1 Start or Stop Game Recording
848 0xD2 Historical Game Capture
849 0xD3 Capture Game Screenshot
853 0xD7 Start or Stop Game Broadcast
/openbsd-src/games/hunt/
H A DREADME.protocol162 Game play protocol
/openbsd-src/sys/arch/i386/conf/
H A Dfiles.i386236 # Game adapter (joystick)

12