Home
last modified time | relevance | path

Searched refs:boolean (Results 1 – 25 of 125) sorted by relevance

12345

/dflybsd-src/games/rogue/
H A Drogue.h52 #define boolean bool macro
450 void rogue_hit(object *, boolean);
452 int get_damage(const char *, boolean);
455 boolean mon_damage(object *, short);
456 void fight(boolean);
463 boolean init(int, char**);
480 void inv_armor_weapon(boolean);
487 boolean drop_check(void);
488 boolean check_up(void);
489 void add_exp(int, boolean);
[all …]
H A Dinit.c53 static void env_get_value(char **, char *, boolean);
58 static boolean init_curses = 0;
62 boolean cant_int = 0;
63 boolean did_int = 0;
64 boolean score_only;
65 boolean save_is_interactive = 1;
66 boolean ask_quit = 1;
67 boolean no_skull = 0;
68 boolean passgo = 0;
69 boolean flush = 1;
[all …]
H A Dmove.c51 boolean jump = 0;
54 static boolean can_turn(short, short);
55 static boolean check_hunger(boolean);
58 static boolean next_to_something(int, int);
59 static void turn_passage(short, boolean);
224 boolean
237 static boolean
298 boolean
319 boolean first_miss = 1; in move_onto()
334 boolean
[all …]
H A Dring.c60 boolean r_teleport;
61 boolean r_see_invisible;
62 boolean sustain_strength;
63 boolean maintain_armor;
127 do_put_on(object *ring, boolean on_left) in do_put_on()
141 boolean left = 0, right = 0; in remove_ring()
203 gr_ring(object *ring, boolean assign_wk) in gr_ring()
255 ring_stats(boolean pr) in ring_stats()
H A Dmessage.c54 static boolean rmsg = 0;
56 boolean msg_cleared = 1;
64 message(const char *msg, boolean intrpt) in message()
131 const char *if_cancelled, boolean add_blank, boolean do_echo) in get_input_line()
222 boolean label; in print_stats()
320 boolean found_non_blank; in save_screen()
350 boolean
357 r_index(const char *str, int ch, boolean last) in r_index()
H A Dsave.c52 static boolean has_been_touched(const struct rogue_time *,
57 static void read_pack(object *, FILE *, boolean);
59 static void rw_dungeon(FILE *, boolean);
60 static void rw_id(struct id *, FILE *, int, boolean);
61 static void rw_rooms(FILE *, boolean);
137 r_write(fp, (char *) is_wood, (WANDS * sizeof(boolean))); in save_into_file()
220 r_read(fp, (char *) is_wood, (WANDS * sizeof(boolean))); in restore()
270 read_pack(object *pack, FILE *fp, boolean is_rogue) in read_pack()
298 rw_dungeon(FILE *fp, boolean rw) in rw_dungeon()
321 rw_id(struct id id_table[], FILE *fp, int n, boolean wr) in rw_id()
[all …]
H A Dspec_hit.c55 static boolean gold_at(short, short);
59 static boolean try_to_cough(short, short, object *);
62 boolean being_held;
173 boolean has_something = 0; in steal_item()
282 static boolean
301 boolean
333 static boolean
353 boolean
372 boolean
459 boolean
[all …]
H A Dmonster.c51 boolean mon_disappeared;
116 static boolean flit(object *);
117 static boolean move_confused(object *);
118 static boolean mtry(object *, short, short);
119 static boolean no_room_for_monster(int);
172 boolean flew; in mv_mons()
230 boolean found; in party_monsters()
302 boolean tried[6]; in mv_1_monster()
436 static boolean
495 boolean
[all …]
H A Dinventory.c50 boolean is_wood[WANDS];
204 static boolean get_com_id(int *, short);
205 static boolean pr_com_id(int);
206 static boolean pr_motion_char(int);
280 boolean need_two_screens = FALSE; in id_com()
339 static boolean
352 static boolean
366 static boolean
606 boolean used[WAND_MATERIALS]; in get_wand_and_ring_materials()
676 inv_armor_weapon(boolean is_weapon) in inv_armor_weapon()
H A Dlevel.c53 static boolean connect_rooms(short, short);
55 static void fill_it(int, boolean);
61 static boolean mask_room(short, short *, short *, unsigned short);
65 static boolean same_col(short, short);
66 static boolean same_row(short, short);
107 boolean big_room; in make_level()
312 static boolean
462 static boolean
468 static boolean
528 fill_it(int rn, boolean do_rec_de) in fill_it()
[all …]
H A Droom.c52 static boolean rooms_visited[MAXROOMS];
57 boolean is_bool;
59 boolean *bval;
95 static boolean get_oth_room(short, short *, short *);
285 boolean found; in party_objects()
327 boolean
414 dr_course(object *monster, boolean entering, short row, short col) in dr_course()
487 static boolean
515 boolean done = 0; in edit_opts()
H A Dmachdep.c149 md_control_keybord(boolean mode) in md_control_keybord()
151 static boolean called_before = 0; in md_control_keybord()
359 boolean
475 md_lock(boolean l) in md_lock()
H A Dhit.c119 rogue_hit(object *monster, boolean force_hit) in rogue_hit()
170 get_damage(const char *ds, boolean r) in get_damage()
282 boolean
315 fight(boolean to_the_death) in fight()
319 boolean first_miss = 1; in fight()
H A Drandom.c68 boolean
74 boolean
H A Dpack.c54 static boolean is_pack_letter(short *, unsigned short *);
55 static boolean mask_pack(const object *, unsigned short);
245 boolean ichars[26]; in next_avail_ichar()
494 static boolean
506 static boolean
543 boolean
/dflybsd-src/usr.bin/tip/
H A Dremote.c201 boolean(value(RAISE)) = 1; in getremcap()
203 boolean(value(ECHOCHECK)) = 1; in getremcap()
205 boolean(value(BEAUTIFY)) = 1; in getremcap()
207 boolean(value(BEAUTIFY)) = 0; in getremcap()
209 boolean(value(SCRIPT)) = 1; in getremcap()
211 boolean(value(TABEXPAND)) = 1; in getremcap()
213 boolean(value(VERBOSE)) = 1; in getremcap()
215 boolean(value(VERBOSE)) = 0; in getremcap()
217 boolean(value(TAND)) = 1; in getremcap()
219 boolean(value(TAND)) = 0; in getremcap()
[all …]
H A Dtipout.c74 if (boolean(value(SCRIPT)) && fscript != NULL) in intEMT()
77 boolean(value(SCRIPT)) = FALSE; in intEMT()
84 boolean(value(SCRIPT)) = TRUE; in intEMT()
95 if (boolean(value(SCRIPT)) && fscript != NULL) in intTERM()
104 boolean(value(BEAUTIFY)) = !boolean(value(BEAUTIFY)); in intSYS()
156 if (boolean(value(SCRIPT)) && fscript != NULL) { in tipout()
157 if (!boolean(value(BEAUTIFY))) { in tipout()
H A Dcmds.c162 v = boolean(value(VERBOSE)); in xfer()
247 v = boolean(value(VERBOSE)); in transfer()
385 if (!boolean(value(ECHOCHECK))) { in sendfile()
410 if (boolean(value(ECHOCHECK))) in transmit()
428 if (c == 0177 && !boolean(value(RAWFTP))) in transmit()
433 if (!boolean(value(RAWFTP))) in transmit()
437 if (!boolean(value(RAWFTP))) { in transmit()
438 if (boolean(value(TABEXPAND))) { in transmit()
446 if (!boolean(value(RAWFTP))) in transmit()
450 } while (c != '\r' && !boolean(value(RAWFTP))); in transmit()
[all …]
H A Dtip.c373 if (boolean(value(SCRIPT))) { in tipin()
387 boolean(value(RAISE)) = !boolean(value(RAISE)); in tipin()
392 if (boolean(value(HALFDUPLEX))) in tipin()
402 if (boolean(value(RAISE)) && islower(gch)) in tipin()
405 if (boolean(value(HALFDUPLEX))) in tipin()
534 if (boolean(value(TAND))) in ttysetup()
H A Dunidialer.c397 if (boolean(value(VERBOSE))) in unidialer_dialer()
417 if (boolean(value(VERBOSE))) in unidialer_dialer()
510 if (boolean(value(VERBOSE))) in unidialer_disconnect()
559 if (boolean(value(VERBOSE))) in unidialer_swallow()
569 if (boolean(value(VERBOSE))) in unidialer_swallow()
618 boolean(value(VERBOSE))) { in unidialer_connect()
630 if (boolean(value(VERBOSE))) in unidialer_connect()
641 if (boolean(value(VERBOSE))) in unidialer_connect()
/dflybsd-src/libexec/bootpd/
H A Dreadfile.h6 extern boolean hwlookcmp(hash_datum *, hash_datum *);
7 extern boolean iplookcmp(hash_datum *, hash_datum *);
8 extern boolean nmcmp(hash_datum *, hash_datum *);
/dflybsd-src/lib/libc/citrus/
H A Dcitrus_prop.h49 _CITRUS_PROP_CB0_T(boolean, int)
69 _CITRUS_PROP_CB_T_OPS(boolean);
77 { name, _CITRUS_PROP_BOOL, { .boolean = { cb } } }
/dflybsd-src/games/hack/
H A Dextern.h73 int getdir(boolean);
85 void goto_level(int, boolean);
160 boolean hmon(struct monst *, struct obj *, int);
348 void litroom(boolean);
479 void mdrush(struct monst *, boolean);
H A Dhack.fight.c67 static boolean far_noise;
79 boolean vis; in hitmm()
105 boolean far = (dist(magr->mx, magr->my) > 15); in hitmm()
212 boolean
216 boolean hittxt = FALSE; in hmon()
344 boolean malive = TRUE; in attack()
/dflybsd-src/sys/dev/raid/tws/
H A Dtws.h208 #define boolean _Bool macro
248 boolean is64bit; /* True - 64bit else 32bit */
258 boolean obfl_q_overrun; /* OBFL overrun flag */

12345