Searched refs:oracle_flg (Results 1 - 2 of 2) sorted by relevance

/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Drumors.c36 static int oracle_flg = 0; /* -1=>don't use, 0=>need init, 1=>init done */ variable
216 oracle_loc = 0, oracle_cnt = 0, oracle_flg = 0;
229 oracle_flg = 1; /* no need to call init_oracles() */
244 if(oracle_flg < 0 || /* couldn't open ORACLEFILE */
245 (oracle_flg > 0 && oracle_cnt == 0)) /* oracles already exhausted */
252 if (oracle_flg == 0) { /* if this is the first outoracle() */
254 oracle_flg = 1;
282 oracle_flg = -1; /* don't try to open it again */
338 (oracle_cnt == 1 || oracle_flg < 0)) return 0;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Drumors.c36 static int oracle_flg = 0; /* -1=>don't use, 0=>need init, 1=>init done */ variable
216 oracle_loc = 0, oracle_cnt = 0, oracle_flg = 0;
229 oracle_flg = 1; /* no need to call init_oracles() */
244 if(oracle_flg < 0 || /* couldn't open ORACLEFILE */
245 (oracle_flg > 0 && oracle_cnt == 0)) /* oracles already exhausted */
252 if (oracle_flg == 0) { /* if this is the first outoracle() */
254 oracle_flg = 1;
282 oracle_flg = -1; /* don't try to open it again */
338 (oracle_cnt == 1 || oracle_flg < 0)) return 0;

Completed in 29 milliseconds