HomeSort by: relevance | last modified time | path
    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