OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:room_num
(Results
1 - 3
of
3
) sorted by relevancy
/src/games/wump/
wump.c
109
static int
room_num
= ROOMS_IN_CAVE; /* # rooms in cave */
variable in typeref:typename:int
172
room_num
= atoi(optarg);
173
if (
room_num
< MIN_ROOMS_IN_CAVE) {
178
if (
room_num
> MAX_ROOMS_IN_CAVE) {
198
link_num >
room_num
- (
room_num
/ 4)) {
205
bat_num += ((random() % (
room_num
/ 2)) + 1);
206
pit_num += ((random() % (
room_num
/ 2)) + 1);
209
if (bat_num >
room_num
/ 2) {
215
if (pit_num >
room_num
/ 2)
[
all
...]
wump.c
109
static int
room_num
= ROOMS_IN_CAVE; /* # rooms in cave */
variable in typeref:typename:int
172
room_num
= atoi(optarg);
173
if (
room_num
< MIN_ROOMS_IN_CAVE) {
178
if (
room_num
> MAX_ROOMS_IN_CAVE) {
198
link_num >
room_num
- (
room_num
/ 4)) {
205
bat_num += ((random() % (
room_num
/ 2)) + 1);
206
pit_num += ((random() % (
room_num
/ 2)) + 1);
209
if (bat_num >
room_num
/ 2) {
215
if (pit_num >
room_num
/ 2)
[
all
...]
wump.c
109
static int
room_num
= ROOMS_IN_CAVE; /* # rooms in cave */
variable in typeref:typename:int
172
room_num
= atoi(optarg);
173
if (
room_num
< MIN_ROOMS_IN_CAVE) {
178
if (
room_num
> MAX_ROOMS_IN_CAVE) {
198
link_num >
room_num
- (
room_num
/ 4)) {
205
bat_num += ((random() % (
room_num
/ 2)) + 1);
206
pit_num += ((random() % (
room_num
/ 2)) + 1);
209
if (bat_num >
room_num
/ 2) {
215
if (pit_num >
room_num
/ 2)
[
all
...]
Completed in 37 milliseconds
Indexes created Fri Oct 03 17:10:05 GMT 2025