mux/src/flags.h File Reference

#include "copyright.h"

Include dependency graph for flags.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  flag_bit_entry
struct  flag_name_entry
struct  object_entry
struct  flagset

Defines

#define FLAG_WORD1   0x0
#define FLAG_WORD2   0x1
#define FLAG_WORD3   0x2
#define TYPE_ROOM   0x0
#define TYPE_THING   0x1
#define TYPE_EXIT   0x2
#define TYPE_PLAYER   0x3
#define TYPE_GARBAGE   0x5
#define NOTYPE   0x7
#define TYPE_MASK   0x7
#define SEETHRU   0x00000008
#define WIZARD   0x00000010
#define LINK_OK   0x00000020
#define DARK   0x00000040
#define JUMP_OK   0x00000080
#define STICKY   0x00000100
#define DESTROY_OK   0x00000200
#define HAVEN   0x00000400
#define QUIET   0x00000800
#define HALT   0x00001000
#define TRACE   0x00002000
#define GOING   0x00004000
#define MONITOR   0x00008000
#define MYOPIC   0x00010000
#define PUPPET   0x00020000
#define CHOWN_OK   0x00040000
#define ENTER_OK   0x00080000
#define VISUAL   0x00100000
#define IMMORTAL   0x00200000
#define HAS_STARTUP   0x00400000
#define TM_OPAQUE   0x00800000
#define VERBOSE   0x01000000
#define INHERIT   0x02000000
#define NOSPOOF   0x04000000
#define ROBOT   0x08000000
#define SAFE   0x10000000
#define ROYALTY   0x20000000
#define HEARTHRU   0x40000000
#define TERSE   0x80000000
#define KEY   0x00000001
#define ABODE   0x00000002
#define FLOATING   0x00000004
#define UNFINDABLE   0x00000008
#define PARENT_OK   0x00000010
#define LIGHT   0x00000020
#define HAS_LISTEN   0x00000040
#define HAS_FWDLIST   0x00000080
#define AUDITORIUM   0x00000100
#define ANSI   0x00000200
#define HEAD_FLAG   0x00000400
#define FIXED   0x00000800
#define UNINSPECTED   0x00001000
#define NO_COMMAND   0x00002000
#define CKEEPALIVE   0x00004000
#define NOBLEED   0x00008000
#define STAFF   0x00010000
#define HAS_DAILY   0x00020000
#define GAGGED   0x00040000
#define OPEN_OK   0x00080000
#define VACATION   0x01000000
#define PLAYER_MAILS   0x02000000
#define HTML   0x04000000
#define BLIND   0x08000000
#define SUSPECT   0x10000000
#define NOACCENTS   0x20000000
#define CONNECTED   0x40000000
#define SLAVE   0x80000000
#define SITEMON   0x00000400
#define CMDCHECK   0x00000800
#define MARK_0   0x00400000
#define MARK_1   0x00800000
#define MARK_2   0x01000000
#define MARK_3   0x02000000
#define MARK_4   0x04000000
#define MARK_5   0x08000000
#define MARK_6   0x10000000
#define MARK_7   0x20000000
#define MARK_8   0x40000000
#define MARK_9   0x80000000
#define OF_CONTENTS   0x0001
#define OF_LOCATION   0x0002
#define OF_EXITS   0x0004
#define OF_HOME   0x0008
#define OF_DROPTO   0x0010
#define OF_OWNER   0x0020
#define OF_SIBLINGS   0x0040
#define GOD   ((dbref) 1)
#define Typeof(x)   (Flags(x) & TYPE_MASK)
#define God(x)   ((x) == GOD)
#define Robot(x)   (isPlayer(x) && ((Flags(x) & ROBOT) != 0))
#define OwnsOthers(x)   ((object_types[Typeof(x)].flags & OF_OWNER) != 0)
#define Has_location(x)   ((object_types[Typeof(x)].flags & OF_LOCATION) != 0)
#define Has_contents(x)   ((object_types[Typeof(x)].flags & OF_CONTENTS) != 0)
#define Has_exits(x)   ((object_types[Typeof(x)].flags & OF_EXITS) != 0)
#define Has_siblings(x)   ((object_types[Typeof(x)].flags & OF_SIBLINGS) != 0)
#define Has_home(x)   ((object_types[Typeof(x)].flags & OF_HOME) != 0)
#define Has_dropto(x)   ((object_types[Typeof(x)].flags & OF_DROPTO) != 0)
#define Home_ok(x)   ((object_types[Typeof(x)].flags & OF_HOME) != 0)
#define isPlayer(x)   (Typeof(x) == TYPE_PLAYER)
#define isRoom(x)   (Typeof(x) == TYPE_ROOM)
#define isExit(x)   (Typeof(x) == TYPE_EXIT)
#define isThing(x)   (Typeof(x) == TYPE_THING)
#define isGarbage(x)   (Typeof(x) == TYPE_GARBAGE)
#define Good_dbref(x)   (((x) >= 0) && ((x) < mudstate.db_top))
#define Good_obj(x)   (Good_dbref(x) && (Typeof(x) < TYPE_GARBAGE))
#define Good_owner(x)   (Good_obj(x) && OwnsOthers(x))
#define Staff(x)   (Wizard(x) || Royalty(x) || ((Flags2(x) & STAFF) != 0))
#define Royalty(x)
#define WizRoy(x)   (Royalty(x) || Wizard(x))
#define Head(x)   ((Flags2(x) & HEAD_FLAG) != 0)
#define Fixed(x)   ((Flags2(x) & FIXED) != 0)
#define Uninspected(x)   ((Flags2(x) & UNINSPECTED) != 0)
#define Ansi(x)   ((Flags2(x) & ANSI) != 0)
#define NoAccents(x)   ((Flags2(x) & NOACCENTS) != 0)
#define No_Command(x)   ((Flags2(x) & NO_COMMAND) != 0)
#define NoBleed(x)   ((Flags2(x) & NOBLEED) != 0)
#define KeepAlive(x)   ((Flags2(x) & CKEEPALIVE) != 0)
#define Transparent(x)   ((Flags(x) & SEETHRU) != 0)
#define Link_ok(x)   (((Flags(x) & LINK_OK) != 0) && Has_contents(x))
#define Open_ok(x)   (((Flags2(x) & OPEN_OK) != 0) && Has_exits(x))
#define Wizard(x)
#define Dark(x)
#define Jump_ok(x)   (((Flags(x) & JUMP_OK) != 0) && Has_contents(x))
#define Sticky(x)   ((Flags(x) & STICKY) != 0)
#define Destroy_ok(x)   ((Flags(x) & DESTROY_OK) != 0)
#define Haven(x)   ((Flags(x) & HAVEN) != 0)
#define Player_haven(x)   ((Flags(Owner(x)) & HAVEN) != 0)
#define Quiet(x)   ((Flags(x) & QUIET) != 0)
#define Halted(x)   ((Flags(x) & HALT) != 0)
#define Trace(x)   ((Flags(x) & TRACE) != 0)
#define Going(x)   ((Flags(x) & GOING) != 0)
#define Monitor(x)   ((Flags(x) & MONITOR) != 0)
#define Myopic(x)   ((Flags(x) & MYOPIC) != 0)
#define Puppet(x)   ((Flags(x) & PUPPET) != 0)
#define Chown_ok(x)   ((Flags(x) & CHOWN_OK) != 0)
#define Enter_ok(x)
#define Immortal(x)
#define Opaque(x)   ((Flags(x) & TM_OPAQUE) != 0)
#define Verbose(x)   ((Flags(x) & VERBOSE) != 0)
#define Inherits(x)
#define Nospoof(x)   ((Flags(x) & NOSPOOF) != 0)
#define Safe(x, p)
#define Audible(x)   ((Flags(x) & HEARTHRU) != 0)
#define Terse(x)   ((Flags(x) & TERSE) != 0)
#define Gagged(x)   ((Flags2(x) & GAGGED) != 0)
#define Vacation(x)   ((Flags2(x) & VACATION) != 0)
#define Key(x)   ((Flags2(x) & KEY) != 0)
#define Abode(x)   (((Flags2(x) & ABODE) != 0) && Home_ok(x))
#define Auditorium(x)   ((Flags2(x) & AUDITORIUM) != 0)
#define Floating(x)   ((Flags2(x) & FLOATING) != 0)
#define Findable(x)   ((Flags2(x) & UNFINDABLE) == 0)
#define Hideout(x)   ((Flags2(x) & UNFINDABLE) != 0)
#define Parent_ok(x)   ((Flags2(x) & PARENT_OK) != 0)
#define Light(x)   ((Flags2(x) & LIGHT) != 0)
#define Suspect(x)   ((Flags2(Owner(x)) & SUSPECT) != 0)
#define Connected(x)
#define Slave(x)   ((Flags2(Owner(x)) & SLAVE) != 0)
#define Hidden(x)   ((Flags(x) & DARK) != 0)
#define Blind(x)   ((Flags2(x) & BLIND) != 0)
#define H_Startup(x)   ((Flags(x) & HAS_STARTUP) != 0)
#define H_Fwdlist(x)   ((Flags2(x) & HAS_FWDLIST) != 0)
#define H_Listen(x)   ((Flags2(x) & HAS_LISTEN) != 0)
#define s_Halted(x)   s_Flags((x), FLAG_WORD1, Flags(x) | HALT)
#define s_Going(x)   s_Flags((x), FLAG_WORD1, Flags(x) | GOING)
#define s_Connected(x)   s_Flags((x), FLAG_WORD2, Flags2(x) | CONNECTED)
#define c_Connected(x)   s_Flags((x), FLAG_WORD2, Flags2(x) & ~CONNECTED)
#define SiteMon(x)   ((Flags3(x) & SITEMON) != 0)
#define CmdCheck(x)   ((Flags3(x) & CMDCHECK) != 0)
#define Parentable(p, x)
#define Examinable(p, x)
#define MyopicExam(p, x)
#define Controls(p, x)
#define Mark(x)
#define Unmark(x)
#define Marked(x)
#define Mark_all(i)
#define Unmark_all(i)
#define Link_exit(p, x)
#define Linkable(p, x)
#define See_attr(p, x, a)   (!((a)->flags & AF_IS_LOCK) && bCanReadAttr(p,x,a,false))
#define See_attr_explicit(p, x, a, o, f)
#define Has_power(p, x)   (check_access((p),powers_nametab[x].flag))
#define Html(x)   ((Flags2(x) & HTML) != 0)
#define s_Html(x)   s_Flags((x), FLAG_WORD2, Flags2(x) | HTML)

Typedefs

typedef flag_bit_entry FLAGBITENT
typedef flag_name_entry FLAGNAMEENT
typedef object_entry OBJENT
typedef flagset FLAGSET

Functions

void init_flagtab (void)
void display_flagtab (dbref)
void flag_set (dbref, dbref, char *, int)
char * flag_description (dbref, dbref)
char * decode_flags (dbref, FLAGSET *)
bool has_flag (dbref, dbref, char *)
char * unparse_object (dbref, dbref, bool)
char * unparse_object_numonly (dbref)
bool convert_flags (dbref, char *, FLAGSET *, FLAG *)
void decompile_flags (dbref, dbref, char *)
char * MakeCanonicalFlagName (const char *pName, int *pnName, bool *pbValid)

Variables

FLAGNAMEENT gen_flag_names []
OBJENT object_types [8]


Define Documentation

#define Abode (  )     (((Flags2(x) & ABODE) != 0) && Home_ok(x))

Definition at line 300 of file flags.h.

Referenced by can_set_home().

#define ABODE   0x00000002

Definition at line 58 of file flags.h.

Referenced by unparse_object().

#define Ansi (  )     ((Flags2(x) & ANSI) != 0)

Definition at line 256 of file flags.h.

Referenced by queue_string().

#define ANSI   0x00000200

Definition at line 66 of file flags.h.

#define Audible (  )     ((Flags(x) & HEARTHRU) != 0)

Definition at line 294 of file flags.h.

Referenced by notify_check(), and sweep_check().

#define Auditorium (  )     ((Flags2(x) & AUDITORIUM) != 0)

Definition at line 301 of file flags.h.

Referenced by sp_ok().

#define AUDITORIUM   0x00000100

Definition at line 65 of file flags.h.

#define Blind (  )     ((Flags2(x) & BLIND) != 0)

Definition at line 312 of file flags.h.

Referenced by process_enter_loc(), and process_leave_loc().

#define BLIND   0x08000000

Definition at line 80 of file flags.h.

#define c_Connected (  )     s_Flags((x), FLAG_WORD2, Flags2(x) & ~CONNECTED)

Definition at line 321 of file flags.h.

Referenced by announce_disconnect(), and db_read().

#define Chown_ok (  )     ((Flags(x) & CHOWN_OK) != 0)

Definition at line 281 of file flags.h.

Referenced by do_chown().

#define CHOWN_OK   0x00040000

Definition at line 41 of file flags.h.

Referenced by chown_all(), do_chown(), and unparse_object().

#define CKEEPALIVE   0x00004000

Definition at line 71 of file flags.h.

#define CmdCheck (  )     ((Flags3(x) & CMDCHECK) != 0)

Definition at line 323 of file flags.h.

Referenced by do_icmd(), and process_command().

#define CMDCHECK   0x00000800

Definition at line 103 of file flags.h.

Referenced by do_icmd().

#define Connected (  ) 

Value:

(((Flags2(x) & CONNECTED) != 0) && \
                            (Typeof(x) == TYPE_PLAYER))

Definition at line 308 of file flags.h.

Referenced by can_see(), CGuests::Create(), do_comwho(), do_mail_list(), do_mail_read(), do_mail_review(), do_pemit_single(), do_prog(), do_quitprog(), FUNCTION(), Hearer(), CGuests::ListAll(), page_check(), process_sticky_dropto(), raw_notify(), raw_notify_html(), raw_notify_newline(), and sweep_check().

#define CONNECTED   0x40000000

Definition at line 83 of file flags.h.

Referenced by decode_flags(), flag_description(), FUNCTION(), handle_flaglists(), and has_flag().

#define Controls ( p,
 ) 

Value:

(Good_obj(x) && \
                            (!(God(x) && !God(p))) && \
                            (Control_All(p) || \
                            ((Owner(p) == Owner(x)) && \
                            (Inherits(p) || !Inherits(x))) || \
                            (check_zone(p,x))))

Definition at line 351 of file flags.h.

Referenced by atr_cpy(), bCanSetAttr(), can_set_home(), divest_object(), do_alias(), do_cemit(), do_chanlist(), do_channelwho(), do_chboot(), do_cheader(), do_chopen(), do_chown(), do_chzone(), do_clone(), do_destroy(), do_destroychannel(), do_drop(), do_editchannel(), do_enter(), do_enter_internal(), do_find(), do_forwardlist(), do_function(), do_get(), do_kill(), do_last(), do_leave(), do_link(), do_listchannels(), do_lock(), do_moniker(), do_move(), do_notify(), do_parent(), do_pemit_single(), do_teleport_single(), do_trigger(), do_unlink(), do_verb(), do_wait(), FUNCTION(), fwdlist_load(), get_stats(), give_thing(), link_exit(), match_controlled_handler(), match_possessed(), move_object(), nearby_or_control(), open_exit(), scan_zone(), sp_ok(), and view_atr().

#define Dark (  ) 

Value:

(((Flags(x) & DARK) != 0) && (Wizard(x) || \
                            !(isPlayer(x) || (Puppet(x) && Has_contents(x)))))

Definition at line 267 of file flags.h.

Referenced by can_see(), do_move(), do_sweep(), exit_displayable(), exit_visible(), FUNCTION(), look_contents(), look_exits(), match_exit_internal(), match_possessed(), move_exit(), move_via_exit(), process_enter_loc(), process_leave_loc(), and room_list().

#define DARK   0x00000040

Definition at line 29 of file flags.h.

Referenced by announce_connect(), announce_disconnect(), check_connect(), check_idle(), decode_flags(), and shovechars().

#define Destroy_ok (  )     ((Flags(x) & DESTROY_OK) != 0)

Definition at line 271 of file flags.h.

Referenced by do_destroy().

#define DESTROY_OK   0x00000200

Definition at line 32 of file flags.h.

Referenced by unparse_object().

#define Enter_ok (  ) 

Value:

(((Flags(x) & ENTER_OK) != 0) && \
                            Has_location(x) && Has_contents(x))

Definition at line 282 of file flags.h.

Referenced by do_enter_internal(), do_get(), give_thing(), and match_possessed().

#define ENTER_OK   0x00080000

Definition at line 42 of file flags.h.

#define Examinable ( p,
 ) 

Value:

(((Flags(x) & VISUAL) != 0) || \
                            (See_All(p)) || \
                            (Owner(p) == Owner(x)) || \
                            (check_zone(p,x)))

Definition at line 341 of file flags.h.

Referenced by bCanReadAttr(), do_clone(), do_decomp(), do_entrances(), do_examine(), do_sweep(), do_verb(), exam_wildattrs(), exit_visible(), FUNCTION(), grep_handler(), locatable(), look_contents(), look_simple(), match_exit_internal(), room_list(), and unparse_object().

#define Findable (  )     ((Flags2(x) & UNFINDABLE) == 0)

Definition at line 303 of file flags.h.

Referenced by locatable().

#define Fixed (  )     ((Flags2(x) & FIXED) != 0)

Definition at line 254 of file flags.h.

Referenced by do_move(), do_teleport(), and process_command().

#define FIXED   0x00000800

Definition at line 68 of file flags.h.

#define FLAG_WORD1   0x0

Definition at line 11 of file flags.h.

Referenced by announce_connect(), announce_disconnect(), atr_add_raw_LEN(), atr_clr(), CF_HAND(), cf_init(), check_connect(), check_idle(), chown_all(), convert_flags(), CGuests::Create(), create_obj(), db_make_minimal(), db_read(), decode_flags(), destroy_bad_obj(), destroy_obj(), do_chown(), do_clone(), do_command(), do_toad(), fh_any(), handle_flaglists(), initialize_objects(), link_exit(), list_df_flags(), CGuests::MakeGuestChar(), purge_going(), search_perform(), search_setup(), shovechars(), and Task_RunQueueEntry().

#define FLAG_WORD2   0x1

Definition at line 12 of file flags.h.

Referenced by announce_connect(), atr_add_raw_LEN(), atr_clr(), convert_flags(), db_make_minimal(), db_read(), decode_flags(), destroy_bad_obj(), destroy_obj(), do_toad(), flag_description(), FUNCTION(), handle_flaglists(), and has_flag().

#define FLAG_WORD3   0x2

Definition at line 13 of file flags.h.

Referenced by CF_HAND(), cf_init(), convert_flags(), db_make_minimal(), db_read(), destroy_bad_obj(), destroy_obj(), do_icmd(), do_toad(), handle_flaglists(), search_perform(), and search_setup().

#define Floating (  )     ((Flags2(x) & FLOATING) != 0)

Definition at line 302 of file flags.h.

Referenced by check_floating().

#define FLOATING   0x00000004

Definition at line 59 of file flags.h.

#define Gagged (  )     ((Flags2(x) & GAGGED) != 0)

Definition at line 297 of file flags.h.

Referenced by do_processcom(), and sp_ok().

#define GAGGED   0x00040000

Definition at line 75 of file flags.h.

#define God (  )     ((x) == GOD)

Definition at line 229 of file flags.h.

Referenced by atr_cpy(), bCanLockAttr(), bCanReadAttr(), bCanSetAttr(), boot_by_port(), check_access(), check_connect(), chown_all(), convert_flags(), decode_flags(), destroyable(), display_flagtab(), display_nametab(), display_powertab(), do_boot(), do_chown(), do_comwho(), do_icmd(), do_mail_nuke(), do_malias_list(), do_malias_list_all(), do_newpassword(), do_prog(), do_teleport_single(), fh_any(), fh_god(), fh_going_bit(), fh_privileged(), fh_staff(), flag_description(), FUNCTION(), fwdlist_load(), has_flag(), has_power(), interp_nametab(), list_cf_access(), listset_nametab(), load_comsystem(), lookup_player(), ph_god(), powers_list(), purge_comsystem(), return_bit(), test_atr(), and zonecmdtest().

#define GOD   ((dbref) 1)

Definition at line 180 of file flags.h.

Referenced by AssertionFailed(), CF_HAND(), cf_init(), check_dead_refs(), check_pass(), CGuests::Create(), db_write_object(), destroy_bad_obj(), destroy_obj(), CGuests::DestroyGuestChar(), do_chanlog(), do_malias_add(), do_malias_desc(), do_malias_list_all(), do_malias_remove(), do_malias_send(), fwdlist_get(), get_malias(), getboolexp1(), initialize_objects(), log_name(), main(), CGuests::MakeGuestChar(), OutOfMemory(), process_preload(), SendChannelMessage(), set_player_folder(), shovechars(), shutdownsock(), sighandler(), and CGuests::WipeAttrs().

#define Going (  )     ((Flags(x) & GOING) != 0)

Definition at line 277 of file flags.h.

Referenced by can_set_home(), check_contents_chains(), check_dead_refs(), check_events(), check_floating(), check_loc_contents(), check_loc_exits(), check_pennies(), count_quota(), divest_object(), do_comwho(), do_destroy(), do_icmd(), do_leave(), do_parent(), empty_obj(), fh_going_bit(), FUNCTION(), get_stats(), higcheck(), hook_fail(), load_comsystem(), move_exit(), mux_exec(), process_cmdent(), process_command(), process_preload(), purge_comsystem(), purge_going(), search_perform(), and Task_RunQueueEntry().

#define GOING   0x00004000

Definition at line 37 of file flags.h.

Referenced by destroy_bad_obj(), destroy_obj(), initialize_objects(), and purge_going().

#define Good_dbref (  )     (((x) >= 0) && ((x) < mudstate.db_top))

Definition at line 245 of file flags.h.

Referenced by FUNCTION(), load_comsystem(), OBJTYP(), and parse_boolexp_L().

#define Good_obj (  )     (Good_dbref(x) && (Typeof(x) < TYPE_GARBAGE))

Definition at line 246 of file flags.h.

Referenced by a_Queue(), absolute_name(), add_player_name(), announce_connect(), announce_disconnect(), atr_match(), atr_pget_info(), atr_pget_str_LEN(), can_set_home(), check_contents_chains(), check_dead_refs(), check_loc_contents(), check_loc_exits(), check_misplaced_obj(), check_zone_handler(), CGuests::CleanUp(), CGuests::Create(), create_obj(), debug_examine(), decode_flags(), destroy_obj(), CGuests::DestroyGuestChar(), dflt_from_msg(), did_it(), divest_object(), do_chanlog(), do_chboot(), do_chopen(), do_clone(), do_comlast(), do_cut(), do_drop(), do_entrances(), do_examine(), do_get(), do_halt(), do_icmd(), do_leave(), do_link(), do_look(), do_mail_debug(), do_mail_stats(), do_malias_create(), do_moniker(), do_notify(), do_open(), do_page(), do_parent(), do_prog(), do_quitprog(), do_quota(), do_say(), do_set(), do_setattr(), do_sweep(), do_teleport(), do_teleport_single(), do_toad(), do_train(), do_verb(), do_wait(), dump_info(), dump_users(), empty_obj(), find_connected_name(), FUNCTION(), fwdlist_load(), fwdlist_rewrite(), get_obj_and_lock(), get_stats(), grep_handler(), handle_flaglists(), hasattr_handler(), higcheck(), hook_fail(), internalPlayerFind(), CGuests::ListAll(), load_channels(), locatable(), log_type_and_name(), look_atrs(), look_exits(), look_in(), lookup_player(), mail_to_list(), make_namelist(), make_numlist(), malias_cleanup1(), mark_place(), match_absolute(), match_carried_exit(), match_carried_exit_with_parents(), match_controlled_handler(), match_exit(), match_exit_internal(), match_exit_with_parents(), match_here(), match_master_exit(), match_me(), match_neighbor(), match_numeric(), match_player(), match_possessed(), match_possession(), match_zone_exit(), move_exit(), move_via_teleport(), nearby(), nearby_or_control(), notify_check(), open_exit(), parse_attrib_wild(), parse_linkable_room(), parse_msglist(), parse_thing_slash(), pcache_reload(), Pennies(), process_cmdent(), process_command(), process_sex(), process_sticky_dropto(), promote_match(), QueueMax(), report(), s_Pennies(), scan_zone(), search_setup(), SendChannelMessage(), set_attr_internal(), ShowPsLine(), CGuests::StartUp(), Task_RunQueueEntry(), unparse_object(), unparse_object_numonly(), where_is(), where_room(), and zonecmdtest().

#define Good_owner (  )     (Good_obj(x) && OwnsOthers(x))

Definition at line 247 of file flags.h.

Referenced by check_floating(), destroy_obj(), and do_destroy().

#define H_Fwdlist (  )     ((Flags2(x) & HAS_FWDLIST) != 0)

Definition at line 315 of file flags.h.

Referenced by do_entrances(), and process_preload().

#define H_Listen (  )     ((Flags2(x) & HAS_LISTEN) != 0)

Definition at line 316 of file flags.h.

Referenced by Hearer(), notify_check(), and sweep_check().

#define H_Startup (  )     ((Flags(x) & HAS_STARTUP) != 0)

Definition at line 314 of file flags.h.

#define HALT   0x00001000

Definition at line 35 of file flags.h.

Referenced by chown_all(), do_chown(), do_command(), do_toad(), link_exit(), and Task_RunQueueEntry().

#define Halted (  )     ((Flags(x) & HALT) != 0)

Definition at line 275 of file flags.h.

Referenced by atr_match(), notify_check(), process_command(), setup_que(), and Task_RunQueueEntry().

#define Has_contents (  )     ((object_types[Typeof(x)].flags & OF_CONTENTS) != 0)

Definition at line 233 of file flags.h.

Referenced by check_dead_refs(), do_examine(), do_link(), do_pemit_single(), do_sweep(), do_teleport_single(), FUNCTION(), match_possession(), parse_linkable_room(), and process_command().

#define HAS_DAILY   0x00020000

Definition at line 74 of file flags.h.

Referenced by atr_add_raw_LEN(), atr_clr(), and check_events().

#define Has_dropto (  )     ((object_types[Typeof(x)].flags & OF_DROPTO) != 0)

Definition at line 237 of file flags.h.

Referenced by FUNCTION(), process_dropped_dropto(), and process_sticky_dropto().

#define Has_exits (  )     ((object_types[Typeof(x)].flags & OF_EXITS) != 0)

Definition at line 234 of file flags.h.

Referenced by do_sweep(), FUNCTION(), look_exits(), match_carried_exit(), match_carried_exit_with_parents(), match_exit_internal(), match_master_exit(), match_zone_exit(), and room_list().

#define HAS_FWDLIST   0x00000080

Definition at line 64 of file flags.h.

Referenced by atr_add_raw_LEN(), and atr_clr().