TinyMUSH 3.3
TinyMUSH Server
Loading...
Searching...
No Matches
Macros
constants.h File Reference

Constants used by the engine. More...

#include <float.h>
Include dependency graph for constants.h:

Go to the source code of this file.

Macros

#define HBUF_SIZE   32768
 
#define LBUF_SIZE   8192
 
#define GBUF_SIZE   1024
 
#define MBUF_SIZE   512
 
#define SBUF_SIZE   64
 
#define XMAGIC   0x00deadbeefbaad00
 
#define STRINGBLOCK   1000
 Attributes constants. More...
 
#define AF_ODARK   0x00000001
 Flags's attribute. More...
 
#define AF_DARK   0x00000002
 
#define AF_WIZARD   0x00000004
 
#define AF_MDARK   0x00000008
 
#define AF_INTERNAL   0x00000010
 
#define AF_NOCMD   0x00000020
 
#define AF_LOCK   0x00000040
 
#define AF_DELETED   0x00000080
 
#define AF_NOPROG   0x00000100
 
#define AF_GOD   0x00000200
 
#define AF_IS_LOCK   0x00000400
 
#define AF_VISUAL   0x00000800
 
#define AF_PRIVATE   0x00001000
 
#define AF_HTML   0x00002000
 
#define AF_NOPARSE   0x00004000
 
#define AF_REGEXP   0x00008000
 
#define AF_NOCLONE   0x00010000
 
#define AF_CONST   0x00020000
 
#define AF_CASE   0x00040000
 
#define AF_STRUCTURE   0x00080000
 
#define AF_DIRTY   0x00100000
 
#define AF_DEFAULT   0x00200000
 
#define AF_NONAME   0x00400000
 
#define AF_RMATCH   0x00800000
 
#define AF_NOW   0x01000000
 
#define AF_TRACE   0x02000000
 
#define AF_FREE_1   0x04000000
 
#define AF_FREE_2   0x08000000
 
#define AF_FREE_3   0x10000000
 
#define AF_FREE_4   0x20000000
 
#define AF_FREE_5   0x40000000
 
#define AF_FREE_6   0x80000000
 
#define A_NULL   0
 General's attributes. More...
 
#define A_OSUCC   1
 
#define A_OFAIL   2
 
#define A_FAIL   3
 
#define A_SUCC   4
 
#define A_PASS   5
 
#define A_DESC   6
 
#define A_SEX   7
 
#define A_ODROP   8
 
#define A_DROP   9
 
#define A_OKILL   10
 
#define A_KILL   11
 
#define A_ASUCC   12
 
#define A_AFAIL   13
 
#define A_ADROP   14
 
#define A_AKILL   15
 
#define A_AUSE   16
 
#define A_CHARGES   17
 
#define A_RUNOUT   18
 
#define A_STARTUP   19
 
#define A_ACLONE   20
 
#define A_APAY   21
 
#define A_OPAY   22
 
#define A_PAY   23
 
#define A_COST   24
 
#define A_MONEY   25
 
#define A_LISTEN   26
 
#define A_AAHEAR   27
 
#define A_AMHEAR   28
 
#define A_AHEAR   29
 
#define A_LAST   30
 
#define A_QUEUEMAX   31
 
#define A_IDESC   32
 
#define A_ENTER   33
 
#define A_OXENTER   34
 
#define A_AENTER   35
 
#define A_ADESC   36
 
#define A_ODESC   37
 
#define A_RQUOTA   38
 
#define A_ACONNECT   39
 
#define A_ADISCONNECT   40
 
#define A_ALLOWANCE   41
 
#define A_LOCK   42
 
#define A_NAME   43
 
#define A_COMMENT   44
 
#define A_USE   45
 
#define A_OUSE   46
 
#define A_SEMAPHORE   47
 
#define A_TIMEOUT   48
 
#define A_QUOTA   49
 
#define A_LEAVE   50
 
#define A_OLEAVE   51
 
#define A_ALEAVE   52
 
#define A_OENTER   53
 
#define A_OXLEAVE   54
 
#define A_MOVE   55
 
#define A_OMOVE   56
 
#define A_AMOVE   57
 
#define A_ALIAS   58
 
#define A_LENTER   59
 
#define A_LLEAVE   60
 
#define A_LPAGE   61
 
#define A_LUSE   62
 
#define A_LGIVE   63
 
#define A_EALIAS   64
 
#define A_LALIAS   65
 
#define A_EFAIL   66
 
#define A_OEFAIL   67
 
#define A_AEFAIL   68
 
#define A_LFAIL   69
 
#define A_OLFAIL   70
 
#define A_ALFAIL   71
 
#define A_REJECT   72
 
#define A_AWAY   73
 
#define A_IDLE   74
 
#define A_UFAIL   75
 
#define A_OUFAIL   76
 
#define A_AUFAIL   77
 
#define A_FREE78   78
 
#define A_TPORT   79
 
#define A_OTPORT   80
 
#define A_OXTPORT   81
 
#define A_ATPORT   82
 
#define A_FREE83   83
 
#define A_LOGINDATA   84
 
#define A_LTPORT   85
 
#define A_LDROP   86
 
#define A_LRECEIVE   87
 
#define A_LASTSITE   88
 
#define A_INPREFIX   89
 
#define A_PREFIX   90
 
#define A_INFILTER   91
 
#define A_FILTER   92
 
#define A_LLINK   93
 
#define A_LTELOUT   94
 
#define A_FORWARDLIST   95
 
#define A_MAILFOLDERS   96
 
#define A_LUSER   97
 
#define A_LPARENT   98
 
#define A_LCONTROL   99
 
#define A_VA   100
 
#define A_VB   101
 
#define A_VC   102
 
#define A_VD   103
 
#define A_VE   104
 
#define A_VF   105
 
#define A_VG   106
 
#define A_VH   107
 
#define A_VI   108
 
#define A_VJ   109
 
#define A_VK   110
 
#define A_VL   111
 
#define A_VM   112
 
#define A_VN   113
 
#define A_VO   114
 
#define A_VP   115
 
#define A_VQ   116
 
#define A_VR   117
 
#define A_VS   118
 
#define A_VT   119
 
#define A_VU   120
 
#define A_VV   121
 
#define A_VW   122
 
#define A_VX   123
 
#define A_VY   124
 
#define A_VZ   125
 
#define A_FREE126   126
 
#define A_FREE127   127
 
#define A_FREE128   128
 
#define A_GFAIL   129
 
#define A_OGFAIL   130
 
#define A_AGFAIL   131
 
#define A_RFAIL   132
 
#define A_ORFAIL   133
 
#define A_ARFAIL   134
 
#define A_DFAIL   135
 
#define A_ODFAIL   136
 
#define A_ADFAIL   137
 
#define A_TFAIL   138
 
#define A_OTFAIL   139
 
#define A_ATFAIL   140
 
#define A_TOFAIL   141
 
#define A_OTOFAIL   142
 
#define A_ATOFAIL   143
 
#define A_FREE144   144
 
#define A_FREE145   145
 
#define A_FREE146   146
 
#define A_FREE147   147
 
#define A_FREE148   148
 
#define A_FREE149   149
 
#define A_FREE150   150
 
#define A_FREE151   151
 
#define A_FREE152   152
 
#define A_FREE153   153
 
#define A_FREE154   154
 
#define A_FREE155   155
 
#define A_FREE156   156
 
#define A_FREE157   157
 
#define A_FREE158   158
 
#define A_FREE159   159
 
#define A_FREE160   160
 
#define A_FREE161   161
 
#define A_FREE162   162
 
#define A_FREE163   163
 
#define A_FREE164   164
 
#define A_FREE165   165
 
#define A_FREE166   166
 
#define A_FREE167   167
 
#define A_FREE168   168
 
#define A_FREE169   169
 
#define A_FREE170   170
 
#define A_FREE171   171
 
#define A_FREE172   172
 
#define A_FREE173   173
 
#define A_FREE174   174
 
#define A_FREE175   175
 
#define A_FREE176   176
 
#define A_FREE177   177
 
#define A_FREE178   178
 
#define A_FREE179   179
 
#define A_FREE180   180
 
#define A_FREE181   181
 
#define A_FREE182   182
 
#define A_FREE183   183
 
#define A_FREE184   184
 
#define A_FREE185   185
 
#define A_FREE186   186
 
#define A_FREE187   187
 
#define A_FREE188   188
 
#define A_FREE189   189
 
#define A_FREE190   190
 
#define A_FREE191   191
 
#define A_FREE192   192
 
#define A_FREE193   193
 
#define A_FREE194   194
 
#define A_FREE195   195
 
#define A_FREE196   196
 
#define A_FREE197   197
 
#define A_MAILCC   198
 
#define A_MAILBCC   199
 
#define A_LASTPAGE   200
 
#define A_MAIL   201
 
#define A_AMAIL   202
 
#define A_SIGNATURE   203
 
#define A_DAILY   204
 
#define A_MAILTO   205
 
#define A_MAILMSG   206
 
#define A_MAILSUB   207
 
#define A_MAILCURF   208
 
#define A_LSPEECH   209
 
#define A_PROGCMD   210
 
#define A_MAILFLAGS   211
 
#define A_DESTROYER   212
 
#define A_NEWOBJS   213
 
#define A_LCON_FMT   214
 
#define A_LEXITS_FMT   215
 
#define A_EXITVARDEST   216
 
#define A_LCHOWN   217
 
#define A_LASTIP   218
 
#define A_LDARK   219
 
#define A_VRML_URL   220
 
#define A_HTDESC   221
 
#define A_NAME_FMT   222
 
#define A_LKNOWN   223
 
#define A_LHEARD   224
 
#define A_LMOVED   225
 
#define A_LKNOWS   226
 
#define A_LHEARS   227
 
#define A_LMOVES   228
 
#define A_SPEECHFMT   229
 
#define A_PAGEGROUP   230
 
#define A_PROPDIR   231
 
#define A_FREE232   232
 
#define A_FREE233   233
 
#define A_FREE234   234
 
#define A_FREE235   235
 
#define A_FREE236   236
 
#define A_FREE237   237
 
#define A_FREE238   238
 
#define A_FREE239   239
 
#define A_FREE240   240
 
#define A_FREE241   241
 
#define A_FREE242   242
 
#define A_FREE243   243
 
#define A_FREE244   244
 
#define A_FREE245   245
 
#define A_FREE246   246
 
#define A_FREE247   247
 
#define A_FREE248   248
 
#define A_FREE249   249
 
#define A_FREE250   250
 
#define A_FREE251   251
 
#define A_FREE252   252
 
#define A_LIST   253
 
#define A_FREE254   254
 
#define A_TEMP   255
 
#define A_USER_START   256
 
#define ATR_BUF_CHUNK   100
 
#define ATR_BUF_INCR   6
 
#define NOGO_MESSAGE   "You can't go that way."
 Commands constants. More...
 
#define CS_NO_ARGS   0x00000
 Command handler call conventions. More...
 
#define CS_ONE_ARG   0x00001
 
#define CS_TWO_ARG   0x00002
 
#define CS_NARG_MASK   0x00003
 
#define CS_ARGV   0x00004
 
#define CS_INTERP   0x00010
 
#define CS_NOINTERP   0x00020
 
#define CS_CAUSE   0x00040
 
#define CS_UNPARSE   0x00080
 
#define CS_CMDARG   0x00100
 
#define CS_STRIP   0x00200
 
#define CS_STRIP_AROUND   0x00400
 
#define CS_ADDED   0x00800
 
#define CS_LEADIN   0x01000
 
#define CS_PRESERVE   0x02000
 
#define CS_NOSQUISH   0x04000
 
#define CS_FUNCTION   0x08000
 
#define CS_ACTOR   0x10000
 
#define CS_PRIVATE   0x20000
 
#define CA_PUBLIC   0x00000000
 Command permission flags. More...
 
#define CA_GOD   0x00000001
 
#define CA_WIZARD   0x00000002
 
#define CA_BUILDER   0x00000004
 
#define CA_IMMORTAL   0x00000008
 
#define CA_STAFF   0x00000010
 
#define CA_HEAD   0x00000020
 
#define CA_MODULE_OK   0x00000040
 
#define CA_ADMIN   0x00000080
 
#define CA_ISPRIV_MASK   (CA_GOD | CA_WIZARD | CA_BUILDER | CA_IMMORTAL | CA_STAFF | CA_HEAD | CA_ADMIN | CA_MODULE_OK)
 
#define CA_NO_HAVEN   0x00000100
 
#define CA_NO_ROBOT   0x00000200
 
#define CA_NO_SLAVE   0x00000400
 
#define CA_NO_SUSPECT   0x00000800
 
#define CA_NO_GUEST   0x00001000
 
#define CA_ISNOT_MASK   (CA_NO_HAVEN | CA_NO_ROBOT | CA_NO_SLAVE | CA_NO_SUSPECT | CA_NO_GUEST)
 
#define CA_MARKER0   0x00002000
 
#define CA_MARKER1   0x00004000
 
#define CA_MARKER2   0x00008000
 
#define CA_MARKER3   0x00010000
 
#define CA_MARKER4   0x00020000
 
#define CA_MARKER5   0x00040000
 
#define CA_MARKER6   0x00080000
 
#define CA_MARKER7   0x00100000
 
#define CA_MARKER8   0x00200000
 
#define CA_MARKER9   0x00400000
 
#define CA_MARKER_MASK   (CA_MARKER0 | CA_MARKER1 | CA_MARKER2 | CA_MARKER3 | CA_MARKER4 | CA_MARKER5 | CA_MARKER6 | CA_MARKER7 | CA_MARKER8 | CA_MARKER9)
 
#define CA_GBL_BUILD   0x00800000
 
#define CA_GBL_INTERP   0x01000000
 
#define CA_DISABLED   0x02000000
 
#define CA_STATIC   0x04000000
 
#define CA_NO_DECOMP   0x08000000
 
#define CA_LOCATION   0x10000000
 
#define CA_CONTENTS   0x20000000
 
#define CA_PLAYER   0x40000000
 
#define CF_DARK   0x80000000
 
#define SW_MULTIPLE   0x80000000
 
#define SW_GOT_UNIQUE   0x40000000
 
#define SW_NOEVAL   0x20000000
 
#define LIST_ATTRIBUTES   1
 
#define LIST_COMMANDS   2
 
#define LIST_COSTS   3
 
#define LIST_FLAGS   4
 
#define LIST_FUNCTIONS   5
 
#define LIST_GLOBALS   6
 
#define LIST_ALLOCATOR   7
 
#define LIST_LOGGING   8
 
#define LIST_DF_FLAGS   9
 
#define LIST_PERMS   10
 
#define LIST_ATTRPERMS   11
 
#define LIST_OPTIONS   12
 
#define LIST_HASHSTATS   13
 
#define LIST_BUFTRACE   14
 
#define LIST_CONF_PERMS   15
 
#define LIST_SITEINFO   16
 
#define LIST_POWERS   17
 
#define LIST_SWITCHES   18
 
#define LIST_VATTRS   19
 
#define LIST_DB_STATS   20
 
#define LIST_PROCESS   21
 
#define LIST_BADNAMES   22
 
#define LIST_CACHEOBJS   23
 
#define LIST_TEXTFILES   24
 
#define LIST_PARAMS   25
 
#define LIST_CF_RPERMS   26
 
#define LIST_ATTRTYPES   27
 
#define LIST_FUNCPERMS   28
 
#define LIST_MEMORY   29
 
#define LIST_CACHEATTRS   30
 
#define LIST_RAWMEM   31
 
#define RS_CONCENTRATE   0x00000002
 Database constants. More...
 
#define RS_RECORD_PLAYERS   0x00000004
 
#define RS_NEW_STRINGS   0x00000008
 
#define RS_COUNT_REBOOTS   0x00000010
 
#define HANDLE_FLAT_CRASH   1
 
#define HANDLE_FLAT_KILL   2
 
#define OUTPUT_VERSION   1
 
#define UNLOAD_VERSION   1
 
#define ATR_INFO_CHAR   '\1'
 Leadin char for attr control data. More...
 
#define BOOLEXP_AND   0
 Boolean expressions, for locks. More...
 
#define BOOLEXP_OR   1
 
#define BOOLEXP_NOT   2
 
#define BOOLEXP_CONST   3
 
#define BOOLEXP_ATR   4
 
#define BOOLEXP_INDIR   5
 
#define BOOLEXP_CARRY   6
 
#define BOOLEXP_IS   7
 
#define BOOLEXP_OWNER   8
 
#define BOOLEXP_EVAL   9
 
#define F_EXAMINE   1 /** Normal */
 
#define F_QUIET   2 /** Binary for db dumps */
 
#define F_DECOMPILE   3 /** @decompile output */
 
#define F_FUNCTION   4 /** [lock()] output */
 
#define F_UNKNOWN   0
 Database format information. More...
 
#define F_MUSH   1
 
#define F_MUSE   2
 
#define F_MUD   3
 
#define F_MUCK   4
 
#define F_MUX   5
 
#define F_TINYMUSH   6
 
#define V_MASK   0x000000ff
 
#define V_ZONE   0x00000100
 
#define V_LINK   0x00000200
 
#define V_GDBM   0x00000400
 
#define V_ATRNAME   0x00000800
 
#define V_ATRKEY   0x00001000
 
#define V_PERNKEY   0x00001000
 
#define V_PARENT   0x00002000
 
#define V_COMM   0x00004000
 
#define V_ATRMONEY   0x00008000
 
#define V_XFLAGS   0x00010000
 
#define V_POWERS   0x00020000
 
#define V_3FLAGS   0x00040000
 
#define V_QUOTED   0x00080000
 
#define V_TQUOTAS   0x00100000
 
#define V_TIMESTAMPS   0x00200000
 
#define V_VISUALATTRS   0x00400000
 
#define V_CREATETIME   0x00800000
 
#define V_DBCLEAN   0x80000000
 
#define NOTHING   -1
 
#define AMBIGUOUS   -2
 
#define HOME   -3
 
#define NOPERM   -4
 
#define ANY_OWNER   -2
 
#define ADDCMD_PRESERVE   1
 
#define ATTRIB_ACCESS   1
 
#define ATTRIB_RENAME   2
 
#define ATTRIB_DELETE   4
 
#define ATTRIB_INFO   8
 
#define BOOT_QUIET   1
 
#define BOOT_PORT   2
 
#define CHOWN_ONE   1
 
#define CHOWN_ALL   2
 
#define CHOWN_NOSTRIP   4
 
#define CHZONE_NOSTRIP   1
 
#define CLONE_LOCATION   0
 
#define CLONE_INHERIT   1
 
#define CLONE_PRESERVE   2
 
#define CLONE_INVENTORY   4
 
#define CLONE_SET_COST   8
 
#define CLONE_FROM_PARENT   16
 
#define CLONE_NOSTRIP   32
 
#define DBCK_FULL   1
 
#define DECOMP_PRETTY   1
 
#define DEST_ONE   1
 
#define DEST_ALL   2
 
#define DEST_OVERRIDE   4
 
#define DEST_INSTANT   8
 
#define DIG_TELEPORT   1
 
#define DOLIST_SPACE   0
 
#define DOLIST_DELIMIT   1
 
#define DOLIST_NOTIFY   2
 
#define DOLIST_NOW   4
 
#define DOING_MESSAGE   0
 
#define DOING_HEADER   1
 
#define DOING_POLL   2
 
#define DOING_QUIET   4
 
#define DROP_QUIET   1
 
#define DUMP_STRUCT   1
 
#define DUMP_TEXT   2
 
#define DUMP_FLATFILE   8
 
#define DUMP_OPTIMIZE   16
 
#define ENDCMD_BREAK   0
 
#define ENDCMD_ASSERT   1
 
#define EXAM_DEFAULT   0
 
#define EXAM_BRIEF   1
 
#define EXAM_LONG   2
 
#define EXAM_DEBUG   4
 
#define EXAM_PARENT   8
 
#define EXAM_PRETTY   16
 
#define EXAM_PAIRS   32
 
#define EXAM_OWNER   64
 
#define FIXDB_OWNER   1
 
#define FIXDB_LOC   2
 
#define FIXDB_CON   4
 
#define FIXDB_EXITS   8
 
#define FIXDB_NEXT   16
 
#define FIXDB_PENNIES   32
 
#define FIXDB_NAME   64
 
#define FLOATERS_ALL   1
 
#define FUNCT_LIST   1
 
#define FUNCT_NO_EVAL   2
 
#define FUNCT_PRIV   4
 
#define FUNCT_PRES   8
 
#define FUNCT_NOREGS   16
 
#define FRC_COMMAND   1
 
#define FRC_NOW   2
 
#define GET_QUIET   1
 
#define GIVE_QUIET   1
 
#define GLOB_ENABLE   1
 
#define GLOB_DISABLE   2
 
#define HALT_ALL   1
 
#define HALT_PID   2
 
#define HELP_FIND   1
 
#define HELP_RAWHELP   0x08000000
 
#define HOOK_BEFORE   1
 
#define HOOK_AFTER   2
 
#define HOOK_PRESERVE   4
 
#define HOOK_NOPRESERVE   8
 
#define HOOK_PERMIT   16
 
#define HOOK_PRIVATE   32
 
#define KILL_KILL   1
 
#define KILL_SLAY   2
 
#define LOOK_LOOK   1
 
#define LOOK_INVENTORY   2
 
#define LOOK_SCORE   4
 
#define LOOK_OUTSIDE   8
 
#define MARK_SET   0
 
#define MARK_CLEAR   1
 
#define MOTD_ALL   0
 
#define MOTD_WIZ   1
 
#define MOTD_DOWN   2
 
#define MOTD_FULL   4
 
#define MOTD_LIST   8
 
#define MOTD_BRIEF   16
 
#define MOVE_QUIET   1
 
#define NFY_NFY   0
 
#define NFY_NFYALL   1
 
#define NFY_DRAIN   2
 
#define NREF_LIST   1
 
#define OPEN_LOCATION   0
 
#define OPEN_INVENTORY   1
 
#define PASS_ANY   1
 
#define PASS_MINE   2
 
#define PCRE_PLAYER   1
 
#define PCRE_ROBOT   2
 
#define PEMIT_PEMIT   1
 
#define PEMIT_OEMIT   2
 
#define PEMIT_WHISPER   3
 
#define PEMIT_FSAY   4
 
#define PEMIT_FEMIT   5
 
#define PEMIT_FPOSE   6
 
#define PEMIT_FPOSE_NS   7
 
#define PEMIT_CONTENTS   8
 
#define PEMIT_HERE   16
 
#define PEMIT_ROOM   32
 
#define PEMIT_LIST   64
 
#define PEMIT_SPEECH   128
 
#define PEMIT_HTML   256
 
#define PEMIT_MOVE   512
 
#define PEMIT_SPOOF   1024
 
#define PS_BRIEF   0
 
#define PS_LONG   1
 
#define PS_SUMM   2
 
#define PS_ALL   4
 
#define QUEUE_KICK   1
 
#define QUEUE_WARP   2
 
#define QUOTA_SET   1
 
#define QUOTA_FIX   2
 
#define QUOTA_TOT   4
 
#define QUOTA_REM   8
 
#define QUOTA_ALL   16
 
#define QUOTA_ROOM   32
 
#define QUOTA_EXIT   64
 
#define QUOTA_THING   128
 
#define QUOTA_PLAYER   256
 
#define SAY_SAY   1
 
#define SAY_NOSPACE   1
 
#define SAY_POSE   2
 
#define SAY_POSE_NOSPC   3
 
#define SAY_EMIT   5
 
#define SAY_SHOUT   8
 
#define SAY_WALLPOSE   9
 
#define SAY_WALLEMIT   10
 
#define SAY_WIZSHOUT   12
 
#define SAY_WIZPOSE   13
 
#define SAY_WIZEMIT   14
 
#define SAY_ADMINSHOUT   15
 
#define SAY_NOTAG   32
 
#define SAY_HERE   64
 
#define SAY_ROOM   128
 
#define SAY_HTML   256
 
#define SAY_PREFIX   512
 
#define SET_QUIET   1
 
#define SHUTDN_COREDUMP   1
 
#define SRCH_SEARCH   1
 
#define SRCH_MARK   2
 
#define SRCH_UNMARK   3
 
#define STAT_PLAYER   0
 
#define STAT_ALL   1
 
#define STAT_ME   2
 
#define SWITCH_DEFAULT   0
 
#define SWITCH_ANY   1
 
#define SWITCH_ONE   2
 
#define SWITCH_NOW   4
 
#define SWEEP_ME   1
 
#define SWEEP_HERE   2
 
#define SWEEP_COMMANDS   4
 
#define SWEEP_LISTEN   8
 
#define SWEEP_PLAYER   16
 
#define SWEEP_CONNECT   32
 
#define SWEEP_EXITS   64
 
#define SWEEP_VERBOSE   256
 
#define TELEPORT_DEFAULT   1
 
#define TELEPORT_QUIET   2
 
#define TIMECHK_RESET   1
 
#define TIMECHK_SCREEN   2
 
#define TIMECHK_LOG   4
 
#define TOAD_NO_CHOWN   1
 
#define TRIG_QUIET   1
 
#define TRIG_NOW   2
 
#define TWARP_QUEUE   1
 
#define TWARP_DUMP   2
 
#define TWARP_CLEAN   4
 
#define TWARP_IDLE   8
 
#define TWARP_EMPTY   16
 
#define TWARP_EVENTS   32
 
#define VERB_NOW   1
 
#define VERB_MOVE   2
 
#define VERB_SPEECH   4
 
#define VERB_PRESENT   8
 
#define VERB_NONAME   16
 
#define WAIT_UNTIL   1
 
#define WAIT_PID   2
 
#define HUSH_ENTER   1
 
#define HUSH_LEAVE   2
 
#define HUSH_EXIT   4
 
#define EV_FIGNORE   0x00000000
 
#define EV_FMAND   0x00000100
 
#define EV_FCHECK   0x00000200
 
#define EV_STRIP   0x00000400
 
#define EV_EVAL   0x00000800
 
#define EV_STRIP_TS   0x00001000
 
#define EV_STRIP_LS   0x00002000
 
#define EV_STRIP_ESC   0x00004000
 
#define EV_STRIP_AROUND   0x00008000
 
#define EV_TOP   0x00010000
 
#define EV_NOTRACE   0x00020000
 
#define EV_NO_COMPRESS   0x00040000
 
#define EV_NO_LOCATION   0x00080000
 
#define EV_NOFCHECK   0x00100000
 
#define FN_VARARGS   0x80000000
 
#define FN_NO_EVAL   0x40000000
 
#define FN_PRIV   0x20000000
 
#define FN_PRES   0x10000000
 
#define FN_NOREGS   0x08000000
 
#define FN_DBFX   0x04000000
 
#define FN_QFX   0x02000000
 
#define FN_OUTFX   0x01000000
 
#define FN_STACKFX   0x00800000
 
#define FN_VARFX   0x00400000
 
#define MSG_PUP_ALWAYS   0x00001
 
#define MSG_INV   0x00002
 
#define MSG_INV_L   0x00004
 
#define MSG_INV_EXITS   0x00008
 
#define MSG_NBR   0x00010
 
#define MSG_NBR_A   0x00020
 
#define MSG_NBR_EXITS   0x00040
 
#define MSG_NBR_EXITS_A   0x00080
 
#define MSG_LOC   0x00100
 
#define MSG_LOC_A   0x00200
 
#define MSG_FWDLIST   0x00400
 
#define MSG_ME   0x00800
 
#define MSG_S_INSIDE   0x01000
 
#define MSG_S_OUTSIDE   0x02000
 
#define MSG_HTML   0x04000
 
#define MSG_SPEECH   0x08000
 
#define MSG_MOVE   0x10000
 
#define MSG_PRESENCE   0x20000
 
#define LK_IDESC   0x0001
 
#define LK_OBEYTERSE   0x0002
 
#define LK_SHOWATTR   0x0004
 
#define LK_SHOWEXIT   0x0008
 
#define LK_SHOWVRML   0x0010
 
#define CONTENTS_LOCAL   0
 
#define CONTENTS_NESTED   1
 
#define CONTENTS_REMOTE   2
 
#define CON_LOCAL   0x01 /* Match is near me */
 
#define CON_TYPE   0x02 /* Match is of requested type */
 
#define CON_LOCK   0x04 /* I pass the lock on match */
 
#define CON_COMPLETE   0x08 /* Name given is the full name */
 
#define CON_TOKEN   0x10 /* Name is a special token */
 
#define CON_DBREF   0x20 /* Name is a dbref */
 
#define QTYPE_ALL   0
 
#define QTYPE_ROOM   1
 
#define QTYPE_EXIT   2
 
#define QTYPE_THING   3
 
#define QTYPE_PLAYER   4
 
#define SA_EXIT   1
 
#define SA_DFLT   2
 
#define DUMP_DB_NORMAL   0
 
#define DUMP_DB_CRASH   1
 
#define DUMP_DB_RESTART   2
 
#define DUMP_DB_FLATFILE   3
 
#define DUMP_DB_KILLED   4
 
#define CANNOT_HEAR_MSG   "That target cannot hear you."
 
#define NOT_PRESENT_MSG   "That target is not present."
 
#define FLAG_WORD1   0x0
 Flags constants. More...
 
#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_ZONE   0x4
 
#define TYPE_GARBAGE   0x5
 
#define GOODTYPE   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 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 ZONE_PARENT   0x00002000
 
#define DYNAMIC   0x00004000
 
#define NOBLEED   0x00008000
 
#define STAFF   0x00010000
 
#define HAS_DAILY   0x00020000
 
#define GAGGED   0x00040000
 
#define HAS_COMMANDS   0x00080000
 
#define STOP_MATCH   0x00100000
 
#define BOUNCE   0x00200000
 
#define CONTROL_OK   0x00400000
 
#define CONSTANT_ATTRS   0x00800000
 
#define VACATION   0x01000000
 
#define PLAYER_MAILS   0x02000000
 
#define HTML   0x04000000
 
#define BLIND   0x08000000
 
#define SUSPECT   0x10000000
 
#define WATCHER   0x20000000
 
#define CONNECTED   0x40000000
 
#define SLAVE   0x80000000
 
#define REDIR_OK   0x00000001
 
#define HAS_REDIRECT   0x00000002
 
#define ORPHAN   0x00000004
 
#define HAS_DARKLOCK   0x00000008
 
#define DIRTY   0x00000010
 
#define NODEFAULT   0x00000020
 
#define PRESENCE   0x00000040
 
#define HAS_SPEECHMOD   0x00000080
 
#define HAS_PROPDIR   0X00000100
 
#define COLOR256   0x00000200
 
#define COLOR24BIT   0x00000400
 
#define FLAG_RES03   0x00000800
 
#define FLAG_RES04   0x00001000
 
#define FLAG_RES05   0x00002000
 
#define FLAG_RES06   0x00004000
 
#define FLAG_RES07   0x00008000
 
#define FLAG_RES08   0x00010000
 
#define FLAG_RES09   0x00020000
 
#define FLAG_RES10   0x00040000
 
#define FLAG_RES11   0x00080000
 
#define FLAG_RES12   0x00100000
 
#define FLAG_RES13   0x00200000
 
#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 MARK_FLAGS   0xffc00000
 
#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 VE_LOC_XAM   0x01
 
#define VE_LOC_DARK   0x02
 
#define VE_BASE_DARK   0x04
 
#define MAX_NFARGS   30
 Functions constants. More...
 
#define ALPHANUM_LIST   1
 List management. More...
 
#define NUMERIC_LIST   2
 
#define DBREF_LIST   3
 
#define FLOAT_LIST   4
 
#define NOCASE_LIST   5
 
#define IF_DELETE   0
 
#define IF_REPLACE   1
 
#define IF_INSERT   2
 
#define TRIM_L   0x1
 String trimming. More...
 
#define TRIM_R   0x2
 
#define CRYPTCODE_LO   32 /* space */
 encode() and decode() copy over only alphanumeric chars More...
 
#define CRYPTCODE_HI   126 /* tilde */
 
#define CRYPTCODE_MOD   95 /* count of printable ascii chars */
 
#define DELIM_EVAL   0x001
 Constants used in delimiter macros. More...
 
#define DELIM_NULL   0x002
 
#define DELIM_CRLF   0x004
 
#define DELIM_STRING   0x008
 
#define SORT_OPER   0x0f
 Function-specific flags used in the function table. More...
 
#define SORT_ITEMS   0
 
#define SORT_POS   1
 
#define SET_OPER   0x0f
 
#define SET_UNION   0
 
#define SET_INTERSECT   1
 
#define SET_DIFF   2
 
#define SET_TYPE   0x10
 
#define JUST_TYPE   0x0f
 
#define JUST_LEFT   0x01
 
#define JUST_RIGHT   0x02
 
#define JUST_CENTER   0x04
 
#define JUST_REPEAT   0x10
 
#define JUST_COALEFT   0x20
 
#define JUST_COARIGHT   0x40
 
#define LOGIC_OPER   0x0f
 
#define LOGIC_AND   0
 
#define LOGIC_OR   1
 
#define LOGIC_XOR   2
 
#define LOGIC_BOOL   0x10
 
#define LOGIC_LIST   0x40
 
#define VEC_OPER   0x0f
 
#define VEC_ADD   0
 
#define VEC_SUB   1
 
#define VEC_MUL   2
 
#define VEC_DOT   3
 
#define VEC_CROSS   4
 
#define VEC_OR   7
 
#define VEC_AND   8
 
#define VEC_XOR   9
 
#define VEC_MAG   5
 
#define VEC_UNIT   6
 
#define BOOL_COND_TYPE   0x0f
 
#define BOOL_COND_NONE   1
 
#define BOOL_COND_FALSE   2
 
#define BOOL_COND_TRUE   3
 
#define FILT_COND_TYPE   0x0f0
 
#define FILT_COND_NONE   0x010
 
#define FILT_COND_FALSE   0x020
 
#define FILT_COND_TRUE   0x030
 
#define LOOP_NOTIFY   0x100
 
#define LOOP_TWOLISTS   0x200
 
#define PRESFN_OPER   0x0f
 
#define PRESFN_HEARS   0x01
 
#define PRESFN_MOVES   0x02
 
#define PRESFN_KNOWS   0x04
 
#define GET_EVAL   0x01
 
#define GET_XARGS   0x02
 
#define POP_PEEK   0x01
 
#define POP_TOSS   0x02
 
#define REG_CASELESS   0x01
 
#define REG_MATCH_ALL   0x02
 
#define REG_TYPE   0x0c
 
#define GREP_EXACT   0
 
#define GREP_WILD   4
 
#define GREP_REGEXP   8
 
#define TRIG_OPER   0x0f
 
#define TRIG_CO   0x01
 
#define TRIG_TAN   0x02
 
#define TRIG_ARC   0x04
 
#define TRIG_REC   0x08
 
#define TRIG_DEG   0x10
 
#define PRONOUN_OBJ   0
 
#define PRONOUN_POSS   1
 
#define PRONOUN_SUBJ   2
 
#define PRONOUN_APOSS   3
 
#define U_LOCAL   0x01
 
#define U_PRIVATE   0x02
 
#define IFELSE_OPER   0x0f
 
#define IFELSE_BOOL   0x01
 
#define IFELSE_FALSE   0x02
 
#define IFELSE_DEFAULT   0x04
 
#define IFELSE_TOKEN   0x08
 
#define TIMESTAMP_MOD   0x01
 
#define TIMESTAMP_ACC   0X02
 
#define TIMESTAMP_CRE   0x04
 
#define LATTR_COUNT   0x01
 
#define LOCFN_WHERE   0x01
 
#define NAMEFN_FULLNAME   0x01
 
#define CHECK_PARENTS   0x01
 
#define CONNINFO_IDLE   0x01
 
#define UCALL_SANDBOX   0x01
 
#define FP_SIZE   ((sizeof(long double) + sizeof(unsigned int) - 1) / sizeof(unsigned int))
 
#define FP_EXP_WEIRD   0x1
 
#define FP_EXP_ZERO   0x2
 
#define FC_CONN   0
 File cache constants. More...
 
#define FC_CONN_SITE   1
 
#define FC_CONN_DOWN   2
 
#define FC_CONN_FULL   3
 
#define FC_CONN_GUEST   4
 
#define FC_CONN_REG   5
 
#define FC_CREA_NEW   6
 
#define FC_CREA_REG   7
 
#define FC_MOTD   8
 
#define FC_WIZMOTD   9
 
#define FC_QUIT   10
 
#define FC_CONN_HTML   11
 
#define FC_LAST   11
 
#define NOT_TOKEN   '!'
 Game constants. More...
 
#define AND_TOKEN   '&'
 
#define OR_TOKEN   '|'
 
#define LOOKUP_TOKEN   '*'
 
#define NUMBER_TOKEN   '#'
 
#define INDIR_TOKEN   '@'
 
#define CARRY_TOKEN   '+'
 
#define IS_TOKEN   '='
 
#define OWNER_TOKEN   '$'
 
#define AMATCH_CMD   '$'
 
#define AMATCH_LISTEN   '^'
 
#define EXIT_DELIMITER   ';'
 
#define ARG_DELIMITER   '='
 
#define BOUND_VAR   "##"
 
#define LISTPLACE_VAR   "#@"
 
#define SWITCH_VAR   "#$"
 
#define NULL_DELIM_VAR   "@@"
 
#define INDENT_STR   " "
 
#define GENERIC_STRUCT_DELIM   '\f'
 
#define GENERIC_STRUCT_STRDELIM   "\f"
 
#define OBJECT_ENDOWMENT(cost)   (((cost) / mushconf.sacfactor) + mushconf.sacadjust)
 
#define OBJECT_DEPOSIT(pennies)   (((pennies)-mushconf.sacadjust) * mushconf.sacfactor)
 
#define DEV_NULL   "/dev/null"
 
#define BACKUP_VERSION   1
 
#define PCRE_MAX_OFFSETS   99
 
#define LINE_SIZE   90
 Help constants. More...
 
#define TOPIC_NAME_LEN   30
 
#define HASH_ALIAS   0x00000001
 HTab constants. More...
 
#define HT_STR   0x00000000
 
#define HT_NUM   0x00000001
 
#define HT_TYPEMASK   0x0000000f
 
#define HT_KEYREF   0x00000010
 
#define R_GUEST   1
 Interface constants. More...
 
#define R_CREATE   2
 
#define R_CONNECT   3
 
#define R_DARK   4
 
#define R_QUIT   5
 
#define R_TIMEOUT   6
 
#define R_BOOT   7
 
#define R_SOCKDIED   8
 
#define R_GOING_DOWN   9
 
#define R_BADLOGIN   10
 
#define R_GAMEDOWN   11
 
#define R_LOGOUT   12
 
#define R_GAMEFULL   13
 
#define CMD_QUIT   1
 
#define CMD_WHO   2
 
#define CMD_DOING   3
 
#define CMD_PREFIX   5
 
#define CMD_SUFFIX   6
 
#define CMD_LOGOUT   7
 
#define CMD_SESSION   8
 
#define CMD_PUEBLOCLIENT   9
 
#define CMD_INFO   10
 
#define CMD_MASK   0xff
 
#define CMD_NOxFIX   0x100
 
#define DS_CONNECTED   0x0001
 
#define DS_AUTODARK   0x0002
 
#define DS_PUEBLOCLIENT   0x0004
 
#define S_SUSPECT   1
 
#define S_ACCESS   2
 
#define NOMATCH_MESSAGE   "I don't see that here."
 Match constants. More...
 
#define AMBIGUOUS_MESSAGE   "I don't know which one you mean!"
 
#define NOPERM_MESSAGE   "Permission denied."
 
#define MAT_NO_EXITS   1
 
#define MAT_EXIT_PARENTS   2
 
#define MAT_NUMERIC   4
 
#define MAT_HOME   8
 
#define CF_LOGIN   0x0001
 MUSH constants. More...
 
#define CF_BUILD   0x0002
 
#define CF_INTERP   0x0004
 
#define CF_CHECKPOINT   0x0008
 
#define CF_DBCHECK   0x0010
 
#define CF_IDLECHECK   0x0020
 
#define CF_NOTUSED1   0x0040
 
#define CF_NOTUSED2   0x0080
 
#define CF_DEQUEUE   0x0100
 
#define CF_GODMONITOR   0x0200
 
#define CF_EVENTCHECK   0x0400
 
#define H_REGISTRATION   0x0001
 
#define H_FORBIDDEN   0x0002
 
#define H_SUSPECT   0x0004
 
#define H_GUEST   0x0008
 
#define LOG_ALLCOMMANDS   0x00000001
 
#define LOG_ACCOUNTING   0x00000002
 
#define LOG_BADCOMMANDS   0x00000004
 
#define LOG_BUGS   0x00000008
 
#define LOG_DBSAVES   0x00000010
 
#define LOG_CONFIGMODS   0x00000020
 
#define LOG_PCREATES   0x00000040
 
#define LOG_KILLS   0x00000080
 
#define LOG_LOGIN   0x00000100
 
#define LOG_NET   0x00000200
 
#define LOG_SECURITY   0x00000400
 
#define LOG_SHOUTS   0x00000800
 
#define LOG_STARTUP   0x00001000
 
#define LOG_WIZARD   0x00002000
 
#define LOG_ALLOCATE   0x00004000
 
#define LOG_PROBLEMS   0x00008000
 
#define LOG_KBCOMMANDS   0x00010000
 
#define LOG_SUSPECTCMDS   0x00020000
 
#define LOG_TIMEUSE   0x00040000
 
#define LOG_LOCAL   0x00080000
 
#define LOG_MALLOC   0x00100000
 
#define LOG_FORCE   0x04000000
 
#define LOG_ALWAYS   0x80000000
 
#define LOGOPT_FLAGS   0x01
 
#define LOGOPT_LOC   0x02
 
#define LOGOPT_OWNER   0x04
 
#define LOGOPT_TIMESTAMP   0x08
 
#define NUM_GOOD   4
 Players constants. More...
 
#define NUM_BAD   3
 
#define POWER_EXT   0x1
 Powers constants. More...
 
#define POW_CHG_QUOTAS   0x00000001
 
#define POW_CHOWN_ANY   0x00000002
 
#define POW_ANNOUNCE   0x00000004
 
#define POW_BOOT   0x00000008
 
#define POW_HALT   0x00000010
 
#define POW_CONTROL_ALL   0x00000020
 
#define POW_WIZARD_WHO   0x00000040
 
#define POW_EXAM_ALL   0x00000080
 
#define POW_FIND_UNFIND   0x00000100
 
#define POW_FREE_MONEY   0x00000200
 
#define POW_FREE_QUOTA   0x00000400
 
#define POW_HIDE   0x00000800
 
#define POW_IDLE   0x00001000
 
#define POW_SEARCH   0x00002000
 
#define POW_LONGFINGERS   0x00004000
 
#define POW_PROG   0x00008000
 
#define POW_MDARK_ATTR   0x00010000
 
#define POW_WIZ_ATTR   0x00020000
 
#define POW_FREE_ATTR   0x00040000
 
#define POW_COMM_ALL   0x00080000
 
#define POW_SEE_QUEUE   0x00100000
 
#define POW_SEE_HIDDEN   0x00200000
 
#define POW_WATCH   0x00400000
 
#define POW_POLL   0x00800000
 
#define POW_NO_DESTROY   0x01000000
 
#define POW_GUEST   0x02000000
 
#define POW_PASS_LOCKS   0x04000000
 
#define POW_STAT_ANY   0x08000000
 
#define POW_STEAL   0x10000000
 
#define POW_TEL_ANYWHR   0x20000000
 
#define POW_TEL_UNRST   0x40000000
 
#define POW_UNKILLABLE   0x80000000
 
#define POW_BUILDER   0x00000001
 
#define POW_LINKVAR   0x00000002
 
#define POW_LINKTOANY   0x00000004
 
#define POW_OPENANYLOC   0x00000008
 
#define POW_USE_MODULE   0x00000010
 
#define POW_LINKHOME   0x00000020
 
#define POW_CLOAK   0x00000040
 
#define STRING_EMPTY   ""
 String constants. More...
 
#define BEEP_CHAR   '\07'
 
#define ESC_CHAR   '\033'
 
#define ANSI_CSI   '['
 
#define ANSI_END   'm'
 
#define ANSI_NORMAL   "\033[0m"
 
#define ANSI_REVERSE_NORMAL   "m0[\033"
 
#define ANSI_REVERSE_HIRED   "m13[\033m1[\033"
 
#define ANSI_HILITE   "\033[1m"
 
#define ANSI_INVERSE   "\033[7m"
 
#define ANSI_BLINK   "\033[5m"
 
#define ANSI_UNDER   "\033[4m"
 
#define ANSI_INV_BLINK   "\033[7;5m"
 
#define ANSI_INV_HILITE   "\033[1;7m"
 
#define ANSI_BLINK_HILITE   "\033[1;5m"
 
#define ANSI_INV_BLINK_HILITE   "\033[1;5;7m"
 
#define ANSI_BLACK   "\033[30m"
 
#define ANSI_RED   "\033[31m"
 
#define ANSI_GREEN   "\033[32m"
 
#define ANSI_YELLOW   "\033[33m"
 
#define ANSI_BLUE   "\033[34m"
 
#define ANSI_MAGENTA   "\033[35m"
 
#define ANSI_CYAN   "\033[36m"
 
#define ANSI_WHITE   "\033[37m"
 
#define ANSI_BBLACK   "\033[40m"
 
#define ANSI_BRED   "\033[41m"
 
#define ANSI_BGREEN   "\033[42m"
 
#define ANSI_BYELLOW   "\033[43m"
 
#define ANSI_BBLUE   "\033[44m"
 
#define ANSI_BMAGENTA   "\033[45m"
 
#define ANSI_BCYAN   "\033[46m"
 
#define ANSI_BWHITE   "\033[47m"
 
#define ANSI_XTERM_FG   "\033[38;5;"
 
#define ANSI_XTERM_BG   "\033[48;5;"
 
#define ANSI_24BIT_FG   "\033[38;2;"
 
#define ANSI_24BIT_BG   "\033[48;2;"
 
#define N_ANSI_NORMAL   "0"
 
#define N_ANSI_HILITE   "1"
 
#define N_ANSI_INVERSE   "7"
 
#define N_ANSI_BLINK   "5"
 
#define N_ANSI_UNDER   "4"
 
#define N_ANSI_BLACK   "30"
 
#define N_ANSI_RED   "31"
 
#define N_ANSI_GREEN   "32"
 
#define N_ANSI_YELLOW   "33"
 
#define N_ANSI_BLUE   "34"
 
#define N_ANSI_MAGENTA   "35"
 
#define N_ANSI_CYAN   "36"
 
#define N_ANSI_WHITE   "37"
 
#define N_ANSI_BBLACK   "40"
 
#define N_ANSI_BRED   "41"
 
#define N_ANSI_BGREEN   "42"
 
#define N_ANSI_BYELLOW   "43"
 
#define N_ANSI_BBLUE   "44"
 
#define N_ANSI_BMAGENTA   "45"
 
#define N_ANSI_BCYAN   "46"
 
#define N_ANSI_BWHITE   "47"
 
#define N_ANSI_NORMAL   "0"
 
#define I_ANSI_NORMAL   0
 
#define I_ANSI_HILITE   1
 
#define I_ANSI_INVERSE   7
 
#define I_ANSI_BLINK   5
 
#define I_ANSI_UNDER   4
 
#define I_ANSI_BLACK   30
 
#define I_ANSI_RED   31
 
#define I_ANSI_GREEN   32
 
#define I_ANSI_YELLOW   33
 
#define I_ANSI_BLUE   34
 
#define I_ANSI_MAGENTA   35
 
#define I_ANSI_CYAN   36
 
#define I_ANSI_WHITE   37
 
#define I_ANSI_BBLACK   40
 
#define I_ANSI_BRED   41
 
#define I_ANSI_BGREEN   42
 
#define I_ANSI_BYELLOW   43
 
#define I_ANSI_BBLUE   44
 
#define I_ANSI_BMAGENTA   45
 
#define I_ANSI_BCYAN   46
 
#define I_ANSI_BWHITE   47
 
#define I_ANSI_NUM   48
 
#define I_ANSI_LIM   50
 
#define ANST_NORMAL   0x0099
 
#define ANST_NONE   0x1099
 
#define NUM_OBJPIPES   64
 UDB Constants. More...
 
#define CACHE_DIRTY   0x00000001
 
#define CACHE_SIZE   1000000
 
#define CACHE_WIDTH   200
 
#define DBTYPE_EMPTY   0
 
#define DBTYPE_ATTRIBUTE   1
 
#define DBTYPE_DBINFO   2
 
#define DBTYPE_OBJECT   3
 
#define DBTYPE_ATRNUM   4
 
#define DBTYPE_MODULETYPE   5
 
#define DBTYPE_RESERVED   0x0000FFFF
 
#define DBTYPE_END   0xFFFFFFFF
 
#define DEFAULT_DBMCHUNKFILE   "netmush"
 
#define PF_DEAD   0x0001
 Player cache related. More...
 
#define PF_REF   0x0002
 
#define PF_MONEY_CH   0x0004
 
#define PF_QMAX_CH   0x0008
 
#define VATTR_HASH_SIZE   8192
 User attributes constants. More...
 
#define VNAME_SIZE   32
 
#define FIRST_MINUTE   0
 Cron constants. More...
 
#define LAST_MINUTE   59
 
#define FIRST_HOUR   0
 
#define LAST_HOUR   23
 
#define FIRST_DOM   1
 
#define LAST_DOM   31
 
#define FIRST_MONTH   1
 
#define LAST_MONTH   12
 
#define FIRST_DOW   0
 
#define LAST_DOW   7
 
#define DOM_STAR   0x01
 
#define DOW_STAR   0x02
 
#define FPTS_DIG   LDBL_DIG - 1
 Floating point precision. More...
 

Detailed Description

Constants used by the engine.

Author
TinyMUSH development team (https://github.com/TinyMUSH)
Version
3.3
Date
2021-01-10

Macro Definition Documentation

◆ A_AAHEAR

#define A_AAHEAR   27

Actions to do when anyone says LISTEN str

◆ A_ACLONE

#define A_ACLONE   20

Actions run when obj is cloned

◆ A_ACONNECT

#define A_ACONNECT   39

Actions run when player connects

◆ A_ADESC

#define A_ADESC   36

Describe action list

◆ A_ADFAIL

#define A_ADFAIL   137

Drop fail action

◆ A_ADISCONNECT

#define A_ADISCONNECT   40

Actions run when player disconnects

◆ A_ADROP

#define A_ADROP   14

Drop action list

◆ A_AEFAIL

#define A_AEFAIL   68

Entry fail action list

◆ A_AENTER

#define A_AENTER   35

Enter action list

◆ A_AFAIL

#define A_AFAIL   13

Failure action list

◆ A_AGFAIL

#define A_AGFAIL   131

Give fail action

◆ A_AHEAR

#define A_AHEAR   29

Actions to do when others say LISTEN str

◆ A_AKILL

#define A_AKILL   15

Kill action list

◆ A_ALEAVE

#define A_ALEAVE   52

Leave action list

◆ A_ALFAIL

#define A_ALFAIL   71

Leave fail action list

◆ A_ALIAS

#define A_ALIAS   58

Alias for player names

◆ A_ALLOWANCE

#define A_ALLOWANCE   41

Daily allowance, if diff from default

◆ A_AMAIL

#define A_AMAIL   202

Action taken when mail received

◆ A_AMHEAR

#define A_AMHEAR   28

Actions to do when I say LISTEN str

◆ A_AMOVE

#define A_AMOVE   57

Move action list

◆ A_APAY

#define A_APAY   21

Actions run when given COST pennies

◆ A_ARFAIL

#define A_ARFAIL   134

Receive fail action

◆ A_ASUCC

#define A_ASUCC   12

Success action list

◆ A_ATFAIL

#define A_ATFAIL   140

Teleport fail action

◆ A_ATOFAIL

#define A_ATOFAIL   143

Teleport (from) fail action

◆ A_ATPORT

#define A_ATPORT   82

Teleport action list

◆ A_AUFAIL

#define A_AUFAIL   77

Use fail action list

◆ A_AUSE

#define A_AUSE   16

Use action list

◆ A_AWAY

#define A_AWAY   73

Not_connected page return message

◆ A_CHARGES

#define A_CHARGES   17

Number of charges remaining

◆ A_COMMENT

#define A_COMMENT   44

Wizard-accessible comments

◆ A_COST

#define A_COST   24

Number of pennies needed to invoke xPAY

◆ A_DAILY

#define A_DAILY   204

Daily attribute to be executed

◆ A_DESC

#define A_DESC   6

Description

◆ A_DESTROYER

#define A_DESTROYER   212

Who is destroying this object?

◆ A_DFAIL

#define A_DFAIL   135

Drop fail message

◆ A_DROP

#define A_DROP   9

Invoker drop message

◆ A_EALIAS

#define A_EALIAS   64

Alternate names for ENTER

◆ A_EFAIL

#define A_EFAIL   66

Invoker entry fail message

◆ A_ENTER

#define A_ENTER   33

Invoker enter message

◆ A_EXITVARDEST

#define A_EXITVARDEST   216

Variable exit destination

◆ A_FAIL

#define A_FAIL   3

Invoker fail message

◆ A_FILTER

#define A_FILTER   92

Filter to zap text forwarded by audible.

◆ A_FORWARDLIST

#define A_FORWARDLIST   95

Recipients of AUDIBLE output

◆ A_FREE126

#define A_FREE126   126

Unused

◆ A_FREE127

#define A_FREE127   127

Unused

◆ A_FREE128

#define A_FREE128   128

Unused

◆ A_FREE144

#define A_FREE144   144

Unused

◆ A_FREE145

#define A_FREE145   145

Unused

◆ A_FREE146

#define A_FREE146   146

Unused

◆ A_FREE147

#define A_FREE147   147

Unused

◆ A_FREE148

#define A_FREE148   148

Unused

◆ A_FREE149

#define A_FREE149   149

Unused

◆ A_FREE150

#define A_FREE150   150

Unused

◆ A_FREE151

#define A_FREE151   151

Unused

◆ A_FREE152

#define A_FREE152   152

Unused

◆ A_FREE153

#define A_FREE153   153

Unused

◆ A_FREE154

#define A_FREE154   154

Unused

◆ A_FREE155

#define A_FREE155   155

Unused

◆ A_FREE156

#define A_FREE156   156

Unused

◆ A_FREE157

#define A_FREE157   157

Unused

◆ A_FREE158

#define A_FREE158   158

Unused

◆ A_FREE159

#define A_FREE159   159

Unused

◆ A_FREE160

#define A_FREE160   160

Unused

◆ A_FREE161

#define A_FREE161   161

Unused

◆ A_FREE162

#define A_FREE162   162

Unused

◆ A_FREE163

#define A_FREE163   163

Unused

◆ A_FREE164

#define A_FREE164   164

Unused

◆ A_FREE165

#define A_FREE165   165

Unused

◆ A_FREE166

#define A_FREE166   166

Unused

◆ A_FREE167

#define A_FREE167   167

Unused

◆ A_FREE168

#define A_FREE168   168

Unused

◆ A_FREE169

#define A_FREE169   169

Unused

◆ A_FREE170

#define A_FREE170   170

Unused

◆ A_FREE171

#define A_FREE171   171

Unused

◆ A_FREE172

#define A_FREE172   172

Unused

◆ A_FREE173

#define A_FREE173   173

Unused

◆ A_FREE174

#define A_FREE174   174

Unused

◆ A_FREE175

#define A_FREE175   175

Unused

◆ A_FREE176

#define A_FREE176   176

Unused

◆ A_FREE177

#define A_FREE177   177

Unused

◆ A_FREE178

#define A_FREE178   178

Unused

◆ A_FREE179

#define A_FREE179   179

Unused

◆ A_FREE180

#define A_FREE180   180

Unused

◆ A_FREE181

#define A_FREE181   181

Unused

◆ A_FREE182

#define A_FREE182   182

Unused

◆ A_FREE183

#define A_FREE183   183

Unused

◆ A_FREE184

#define A_FREE184   184

Unused

◆ A_FREE185

#define A_FREE185   185

Unused

◆ A_FREE186

#define A_FREE186   186

Unused

◆ A_FREE187

#define A_FREE187   187

Unused

◆ A_FREE188

#define A_FREE188   188

Unused

◆ A_FREE189

#define A_FREE189   189

Unused

◆ A_FREE190

#define A_FREE190   190

Unused

◆ A_FREE191

#define A_FREE191   191

Unused

◆ A_FREE192

#define A_FREE192   192

Unused

◆ A_FREE193

#define A_FREE193   193

Unused

◆ A_FREE194

#define A_FREE194   194

Unused

◆ A_FREE195

#define A_FREE195   195

Unused

◆ A_FREE196

#define A_FREE196   196

Unused

◆ A_FREE197

#define A_FREE197   197

Unused

◆ A_FREE232

#define A_FREE232   232

Unused

◆ A_FREE233

#define A_FREE233   233

Unused

◆ A_FREE234

#define A_FREE234   234

Unused

◆ A_FREE235

#define A_FREE235   235

Unused

◆ A_FREE236

#define A_FREE236   236

Unused

◆ A_FREE237

#define A_FREE237   237

Unused

◆ A_FREE238

#define A_FREE238   238

Unused

◆ A_FREE239

#define A_FREE239   239

Unused

◆ A_FREE240

#define A_FREE240   240

Unused

◆ A_FREE241

#define A_FREE241   241

Unused

◆ A_FREE242

#define A_FREE242   242

Unused

◆ A_FREE243

#define A_FREE243   243

Unused

◆ A_FREE244

#define A_FREE244   244

Unused

◆ A_FREE245

#define A_FREE245   245

Unused

◆ A_FREE246

#define A_FREE246   246

Unused

◆ A_FREE247

#define A_FREE247   247

Unused

◆ A_FREE248

#define A_FREE248   248

Unused

◆ A_FREE249

#define A_FREE249   249

Unused

◆ A_FREE250

#define A_FREE250   250

Unused

◆ A_FREE251

#define A_FREE251   251

Unused

◆ A_FREE252

#define A_FREE252   252

Unused Formerly A_VLIST

◆ A_FREE254

#define A_FREE254   254

Unused Formerly A_STRUCT

◆ A_FREE78

#define A_FREE78   78

Unused, Formerly A_PFAIL: Invoker page fail message

◆ A_FREE83

#define A_FREE83   83

Unused, Formerly A_PRIVS: Individual permissions

◆ A_GFAIL

#define A_GFAIL   129

Give fail message

◆ A_HTDESC

#define A_HTDESC   221

HTML @desc

◆ A_IDESC

#define A_IDESC   32

Inside description (ENTER to get inside)

◆ A_IDLE

#define A_IDLE   74

Success page return message

◆ A_INFILTER

#define A_INFILTER   91

Filter to zap incoming text into objects

◆ A_INPREFIX

#define A_INPREFIX   89

Prefix on incoming messages into objects

◆ A_KILL

#define A_KILL   11

Invoker kill message

◆ A_LALIAS

#define A_LALIAS   65

Alternate names for LEAVE

◆ A_LAST

#define A_LAST   30

Date/time of last login (players only)

◆ A_LASTIP

#define A_LASTIP   218

Last IP address logged in from

◆ A_LASTPAGE

#define A_LASTPAGE   200

Player last paged

◆ A_LASTSITE

#define A_LASTSITE   88

Last site logged in from, in cleartext

◆ A_LCHOWN

#define A_LCHOWN   217

ChownLock

◆ A_LCON_FMT

#define A_LCON_FMT   214

Player-specified contents format

◆ A_LCONTROL

#define A_LCONTROL   99

Who controls me if CONTROL_OK set

◆ A_LDARK

#define A_LDARK   219

DarkLock

◆ A_LDROP

#define A_LDROP   86

Drop lock (can I be dropped or @tel'ed)

◆ A_LEAVE

#define A_LEAVE   50

Invoker leave message

◆ A_LENTER

#define A_LENTER   59

ENTER lock

◆ A_LEXITS_FMT

#define A_LEXITS_FMT   215

Player-specified exits format

◆ A_LFAIL

#define A_LFAIL   69

Invoker leave fail message

◆ A_LGIVE

#define A_LGIVE   63

Give lock (who may give me away?)

◆ A_LHEARD

#define A_LHEARD   224

Who is this player heard by? (speech)

◆ A_LHEARS

#define A_LHEARS   227

Who does this player hear? (speech)

◆ A_LIST

#define A_LIST   253

A_VLIST

◆ A_LISTEN

#define A_LISTEN   26

(Wildcarded) string to listen for

◆ A_LKNOWN

#define A_LKNOWN   223

Who is this player seen by? (presence)

◆ A_LKNOWS

#define A_LKNOWS   226

Who does this player see? (presence)

◆ A_LLEAVE

#define A_LLEAVE   60

LEAVE lock

◆ A_LLINK

#define A_LLINK   93

Who may link to here

◆ A_LMOVED

#define A_LMOVED   225

Who notices this player moving?

◆ A_LMOVES

#define A_LMOVES   228

Who does this player notice moving?

◆ A_LOCK

#define A_LOCK   42

Object lock

◆ A_LOGINDATA

#define A_LOGINDATA   84

Recent login information

◆ A_LPAGE

#define A_LPAGE   61

PAGE lock

◆ A_LPARENT

#define A_LPARENT   98

Who may @parent to me if PARENT_OK set

◆ A_LRECEIVE

#define A_LRECEIVE   87

Receive lock (who may give me things?)

◆ A_LSPEECH

#define A_LSPEECH   209

Speechlocks

◆ A_LTELOUT

#define A_LTELOUT   94

Who may teleport out from here

◆ A_LTPORT

#define A_LTPORT   85

Teleport lock (can others @tel to me?)

◆ A_LUSE

#define A_LUSE   62

USE lock

◆ A_LUSER

#define A_LUSER   97

Spare lock not referenced by server

◆ A_MAIL

#define A_MAIL   201

Message echoed to sender

◆ A_MAILBCC

#define A_MAILBCC   199

Who is the mail Bcc'ed to?

◆ A_MAILCC

#define A_MAILCC   198

Who is the mail Cc'ed to?

◆ A_MAILCURF

#define A_MAILCURF   208

The current @mail folder

◆ A_MAILFLAGS

#define A_MAILFLAGS   211

Flags for extended mail

◆ A_MAILFOLDERS

#define A_MAILFOLDERS   96

@mail folders

◆ A_MAILMSG

#define A_MAILMSG   206

The mail message itself

◆ A_MAILSUB

#define A_MAILSUB   207

The mail subject

◆ A_MAILTO

#define A_MAILTO   205

Who is the mail to?

◆ A_MONEY

#define A_MONEY   25

Value or Wealth (internal)

◆ A_MOVE

#define A_MOVE   55

Invoker move message

◆ A_NAME

#define A_NAME   43

Object name

◆ A_NAME_FMT

#define A_NAME_FMT   222

Player-specified name format

◆ A_NEWOBJS

#define A_NEWOBJS   213

New object array

◆ A_NULL

#define A_NULL   0

General's attributes.

Nothing

◆ A_ODESC

#define A_ODESC   37

Others describe message

◆ A_ODFAIL

#define A_ODFAIL   136

Others drop fail message

◆ A_ODROP

#define A_ODROP   8

Others drop message

◆ A_OEFAIL

#define A_OEFAIL   67

Others entry fail message

◆ A_OENTER

#define A_OENTER   53

Others enter message in src

◆ A_OFAIL

#define A_OFAIL   2

Others fail message

◆ A_OGFAIL

#define A_OGFAIL   130

Others give fail message

◆ A_OKILL

#define A_OKILL   10

Others kill message

◆ A_OLEAVE

#define A_OLEAVE   51

Others leave message in src

◆ A_OLFAIL

#define A_OLFAIL   70

Others leave fail message

◆ A_OMOVE

#define A_OMOVE   56

Others move message

◆ A_OPAY

#define A_OPAY   22

Others pay message

◆ A_ORFAIL

#define A_ORFAIL   133

Others receive fail message

◆ A_OSUCC

#define A_OSUCC   1

Others success message

◆ A_OTFAIL

#define A_OTFAIL   139

Others teleport (to) fail message

◆ A_OTOFAIL

#define A_OTOFAIL   142

Others teleport (from) fail message

◆ A_OTPORT

#define A_OTPORT   80

Others teleport message in src

◆ A_OUFAIL

#define A_OUFAIL   76

Others use fail message

◆ A_OUSE

#define A_OUSE   46

Others use message

◆ A_OXENTER

#define A_OXENTER   34

Others enter message in dest

◆ A_OXLEAVE

#define A_OXLEAVE   54

Others leave message in dest

◆ A_OXTPORT

#define A_OXTPORT   81

Others teleport message in dst

◆ A_PAGEGROUP

#define A_PAGEGROUP   230

Last paged as part of this group

◆ A_PASS

#define A_PASS   5

Password (only meaningful for players)

◆ A_PAY

#define A_PAY   23

Invoker pay message

◆ A_PREFIX

#define A_PREFIX   90

Prefix used by exits/objects when audible

◆ A_PROGCMD

#define A_PROGCMD   210

Command for execution by @prog

◆ A_PROPDIR

#define A_PROPDIR   231

Property directory dbref list

◆ A_QUEUEMAX

#define A_QUEUEMAX   31

Max. # of entries obj has in the queue

◆ A_QUOTA

#define A_QUOTA   49

Absolute quota (to speed up @quota)

◆ A_REJECT

#define A_REJECT   72

Rejected page return message

◆ A_RFAIL

#define A_RFAIL   132

Receive fail message

◆ A_RQUOTA

#define A_RQUOTA   38

Relative object quota

◆ A_RUNOUT

#define A_RUNOUT   18

Actions done when no more charges

◆ A_SEMAPHORE

#define A_SEMAPHORE   47

Semaphore control info

◆ A_SEX

#define A_SEX   7

Sex

◆ A_SIGNATURE

#define A_SIGNATURE   203

Mail signature

◆ A_SPEECHFMT

#define A_SPEECHFMT   229

Format speech

◆ A_STARTUP

#define A_STARTUP   19

Actions run when game started up

◆ A_SUCC

#define A_SUCC   4

Invoker success message

◆ A_TEMP

#define A_TEMP   255

Temporary

◆ A_TFAIL

#define A_TFAIL   138

Teleport (to) fail message

◆ A_TIMEOUT

#define A_TIMEOUT   48

Per-user disconnect timeout

◆ A_TOFAIL

#define A_TOFAIL   141

Teleport (from) fail message

◆ A_TPORT

#define A_TPORT   79

Invoker teleport message

◆ A_UFAIL

#define A_UFAIL   75

Invoker use fail message

◆ A_USE

#define A_USE   45

Invoker use message

◆ A_USER_START

#define A_USER_START   256

Start of user-named attributes

◆ A_VA

#define A_VA   100

VA-Z attribute

◆ A_VB

#define A_VB   101

VA-Z attribute

◆ A_VC

#define A_VC   102

VA-Z attribute

◆ A_VD

#define A_VD   103

VA-Z attribute

◆ A_VE

#define A_VE   104

VA-Z attribute

◆ A_VF

#define A_VF   105

VA-Z attribute

◆ A_VG

#define A_VG   106

VA-Z attribute

◆ A_VH

#define A_VH   107

VA-Z attribute

◆ A_VI

#define A_VI   108

VA-Z attribute

◆ A_VJ

#define A_VJ   109

VA-Z attribute

◆ A_VK

#define A_VK   110

VA-Z attribute

◆ A_VL

#define A_VL   111

VA-Z attribute

◆ A_VM

#define A_VM   112

VA-Z attribute

◆ A_VN

#define A_VN   113

VA-Z attribute

◆ A_VO

#define A_VO   114

VA-Z attribute

◆ A_VP

#define A_VP   115

VA-Z attribute

◆ A_VQ

#define A_VQ   116

VA-Z attribute

◆ A_VR

#define A_VR   117

VA-Z attribute

◆ A_VRML_URL

#define A_VRML_URL   220

URL of the VRML scene for this object

◆ A_VS

#define A_VS   118

VA-Z attribute

◆ A_VT

#define A_VT   119

VA-Z attribute

◆ A_VU

#define A_VU   120

VA-Z attribute

◆ A_VV

#define A_VV   121

VA-Z attribute

◆ A_VW

#define A_VW   122

VA-Z attribute

◆ A_VX

#define A_VX   123

VA-Z attribute

◆ A_VY

#define A_VY   124

VA-Z attribute

◆ A_VZ

#define A_VZ   125

VA-Z attribute

◆ ABODE

#define ABODE   0x00000002

May @set home here

◆ ADDCMD_PRESERVE

#define ADDCMD_PRESERVE   1

Command handler keys Use player rather than addcommand thing

◆ AF_CASE

#define AF_CASE   0x00040000

Regexp matches are case-sensitive

◆ AF_CONST

#define AF_CONST   0x00020000

No one can change it (set by server)

◆ AF_DARK

#define AF_DARK   0x00000002

No one can see it

◆ AF_DEFAULT

#define AF_DEFAULT   0x00200000

did_it() checks attr_defaults obj

◆ AF_DELETED

#define AF_DELETED   0x00000080

Attribute should be ignored

◆ AF_DIRTY

#define AF_DIRTY   0x00100000

Attribute number has been modified

◆ AF_FREE_1

#define AF_FREE_1   0x04000000

Reserved for futur use

◆ AF_FREE_2

#define AF_FREE_2   0x08000000

Reserved for futur use

◆ AF_FREE_3

#define AF_FREE_3   0x10000000

Reserved for futur use

◆ AF_FREE_4

#define AF_FREE_4   0x20000000

Reserved for futur use

◆ AF_FREE_5

#define AF_FREE_5   0x40000000

Reserved for futur use

◆ AF_FREE_6

#define AF_FREE_6   0x80000000

Reserved for futur use

◆ AF_GOD

#define AF_GOD   0x00000200

Only #1 can change it

◆ AF_HTML

#define AF_HTML   0x00002000

Don't HTML escape this in did_it()

◆ AF_INTERNAL

#define AF_INTERNAL   0x00000010

Don't show even to #1

◆ AF_IS_LOCK

#define AF_IS_LOCK   0x00000400

Attribute is a lock

◆ AF_LOCK

#define AF_LOCK   0x00000040

Attribute is locked

◆ AF_MDARK

#define AF_MDARK   0x00000008

Only wizards can see it. Dark to mortals

◆ AF_NOCLONE

#define AF_NOCLONE   0x00010000

Don't copy this attr when cloning.

◆ AF_NOCMD

#define AF_NOCMD   0x00000020

Don't create a @ command for it

◆ AF_NONAME

#define AF_NONAME   0x00400000

If used as oattr, no name prepend

◆ AF_NOPARSE

#define AF_NOPARSE   0x00004000

Don't evaluate when checking for $-cmds

◆ AF_NOPROG

#define AF_NOPROG   0x00000100

Don't process $-commands from this attr

◆ AF_NOW

#define AF_NOW   0x01000000

execute match immediately

◆ AF_ODARK

#define AF_ODARK   0x00000001

Flags's attribute.

players other than owner can't see it

◆ AF_PRIVATE

#define AF_PRIVATE   0x00001000

Not inherited by children

◆ AF_REGEXP

#define AF_REGEXP   0x00008000

Do a regexp rather than wildcard match

◆ AF_RMATCH

#define AF_RMATCH   0x00800000

Set the result of match into regs

◆ AF_STRUCTURE

#define AF_STRUCTURE   0x00080000

Attribute contains a structure

◆ AF_TRACE

#define AF_TRACE   0x02000000

trace ufunction

◆ AF_VISUAL

#define AF_VISUAL   0x00000800

Anyone can see

◆ AF_WIZARD

#define AF_WIZARD   0x00000004

only wizards can change it

◆ ALPHANUM_LIST

#define ALPHANUM_LIST   1

List management.

◆ AMATCH_CMD

#define AMATCH_CMD   '$'

matching attribute tokens

◆ AMBIGUOUS

#define AMBIGUOUS   -2

multiple possibilities, for matchers

◆ ANSI_BBLACK

#define ANSI_BBLACK   "\033[40m"

Background colors

◆ ANSI_BLACK

#define ANSI_BLACK   "\033[30m"

Foreground colors

◆ ANSI_XTERM_FG

#define ANSI_XTERM_FG   "\033[38;5;"

XTERM ansi codes

◆ ANY_OWNER

#define ANY_OWNER   -2

multiple possibilities, for owner

◆ ATR_BUF_CHUNK

#define ATR_BUF_CHUNK   100

Min size to allocate for attribute buffer

◆ ATR_BUF_INCR

#define ATR_BUF_INCR   6

Max size of one attribute

◆ ATR_INFO_CHAR

#define ATR_INFO_CHAR   '\1'

Leadin char for attr control data.

◆ ATTRIB_ACCESS

#define ATTRIB_ACCESS   1

Change access to attribute

◆ ATTRIB_DELETE

#define ATTRIB_DELETE   4

Delete attribute

◆ ATTRIB_INFO

#define ATTRIB_INFO   8

Info (number, flags) about attribute

◆ ATTRIB_RENAME

#define ATTRIB_RENAME   2

Rename attribute

◆ AUDITORIUM

#define AUDITORIUM   0x00000100

Should we check the SpeechLock?

◆ BACKUP_VERSION

#define BACKUP_VERSION   1

This is used to define the version of our backup file

◆ BEEP_CHAR

#define BEEP_CHAR   '\07'

ANSI control codes for various neat-o terminal effects.

◆ BLIND

#define BLIND   0x08000000

Suppress has arrived / left msgs

◆ BOOL_COND_FALSE

#define BOOL_COND_FALSE   2

loop until true

◆ BOOL_COND_NONE

#define BOOL_COND_NONE   1

loop until end of list

◆ BOOL_COND_TRUE

#define BOOL_COND_TRUE   3

loop until false

◆ BOOL_COND_TYPE

#define BOOL_COND_TYPE   0x0f

from perform_loop (loop, parse): from perform_iter (list, iter, whentrue, whenfalse, istrue, isfalse): mask to select exit-condition bits

◆ BOOLEXP_AND

#define BOOLEXP_AND   0

Boolean expressions, for locks.

◆ BOOT_PORT

#define BOOT_PORT   2

Boot by port number

◆ BOOT_QUIET

#define BOOT_QUIET   1

Inhibit boot message to victim

◆ BOUNCE

#define BOUNCE   0x00200000

Forward messages to contents

◆ BOUND_VAR

#define BOUND_VAR   "##"

These chars get replaced by the current item from a list in commands and functions that do iterative replacement, such as @apply_marked, dolist, the eval= operator for @search, and iter().

◆ CA_ADMIN

#define CA_ADMIN   0x00000080

Wizard or royal

◆ CA_BUILDER

#define CA_BUILDER   0x00000004

Builders only

◆ CA_CONTENTS

#define CA_CONTENTS   0x20000000

Invoker must have contents

◆ CA_DISABLED

#define CA_DISABLED   0x02000000

Command completely disabled

◆ CA_GBL_BUILD

#define CA_GBL_BUILD   0x00800000

Requires the global BUILDING flag

◆ CA_GBL_INTERP

#define CA_GBL_INTERP   0x01000000

Requires the global INTERP flag

◆ CA_GOD

#define CA_GOD   0x00000001

GOD only...

◆ CA_HEAD

#define CA_HEAD   0x00000020

Must have HEAD flag

◆ CA_IMMORTAL

#define CA_IMMORTAL   0x00000008

Immortals only

◆ CA_LOCATION

#define CA_LOCATION   0x10000000

Invoker must have location

◆ CA_MODULE_OK

#define CA_MODULE_OK   0x00000040

Must have MODULE_OK power

◆ CA_NO_DECOMP

#define CA_NO_DECOMP   0x08000000

Don't include in @decompile

◆ CA_NO_GUEST

#define CA_NO_GUEST   0x00001000

Not by GUEST players

◆ CA_NO_HAVEN

#define CA_NO_HAVEN   0x00000100

Not by HAVEN players

◆ CA_NO_ROBOT

#define CA_NO_ROBOT   0x00000200

Not by ROBOT players

◆ CA_NO_SLAVE

#define CA_NO_SLAVE   0x00000400

Not by SLAVE players

◆ CA_NO_SUSPECT

#define CA_NO_SUSPECT   0x00000800

Not by SUSPECT players

◆ CA_PLAYER

#define CA_PLAYER   0x40000000

Invoker must be a player

◆ CA_PUBLIC

#define CA_PUBLIC   0x00000000

Command permission flags.

No access restrictions

◆ CA_STAFF

#define CA_STAFF   0x00000010

Must have STAFF flag

◆ CA_STATIC

#define CA_STATIC   0x04000000

Cannot be changed at runtime

◆ CA_WIZARD

#define CA_WIZARD   0x00000002

Wizards only

◆ CACHE_DIRTY

#define CACHE_DIRTY   0x00000001

Cache flags

◆ CACHE_SIZE

#define CACHE_SIZE   1000000

default (runtime-resettable) cache parameters 1 million bytes

◆ CACHE_WIDTH

#define CACHE_WIDTH   200

Cache width

◆ CANNOT_HEAR_MSG

#define CANNOT_HEAR_MSG   "That target cannot hear you."

Constant messages

◆ CARRY_TOKEN

#define CARRY_TOKEN   '+'

One of these two should go.

◆ CF_BUILD

#define CF_BUILD   0x0002

Allow building commands

◆ CF_CHECKPOINT

#define CF_CHECKPOINT   0x0008

Perform auto-checkpointing

◆ CF_DARK

#define CF_DARK   0x80000000

Command doesn't show up in list

◆ CF_DBCHECK

#define CF_DBCHECK   0x0010

Periodically check/clean the DB

◆ CF_DEQUEUE

#define CF_DEQUEUE   0x0100

Remove entries from the queue

◆ CF_EVENTCHECK

#define CF_EVENTCHECK   0x0400

Allow events checking

◆ CF_GODMONITOR

#define CF_GODMONITOR   0x0200

Display commands to the God.

◆ CF_IDLECHECK

#define CF_IDLECHECK   0x0020

Periodically check for idle users

◆ CF_INTERP

#define CF_INTERP   0x0004

Allow object triggering

◆ CF_LOGIN

#define CF_LOGIN   0x0001

MUSH constants.

Game control flags in mushconf.control_flags Allow nonwiz logins to the MUSH

◆ CF_NOTUSED1

#define CF_NOTUSED1   0x0040

empty 0x0040

◆ CF_NOTUSED2

#define CF_NOTUSED2   0x0080

empty 0x0080

◆ CHECK_PARENTS

#define CHECK_PARENTS   0x01

hasattrp: recurse up the parent chain

◆ CHOWN_ALL

#define CHOWN_ALL   2

old_owner = new_owner

◆ CHOWN_NOSTRIP

#define CHOWN_NOSTRIP   4

Don't strip (most) flags from object

◆ CHOWN_OK

#define CHOWN_OK   0x00040000

Object may be @chowned freely

◆ CHOWN_ONE

#define CHOWN_ONE   1

item = new_owner

◆ CHZONE_NOSTRIP

#define CHZONE_NOSTRIP   1

Don't strip (most) flags from object

◆ CLONE_FROM_PARENT

#define CLONE_FROM_PARENT   16

Set parent instead of cloning attrs

◆ CLONE_INHERIT

#define CLONE_INHERIT   1

Keep INHERIT bit if set

◆ CLONE_INVENTORY

#define CLONE_INVENTORY   4

Create cloned object in my inventory

◆ CLONE_LOCATION

#define CLONE_LOCATION   0

Create cloned object in my location

◆ CLONE_NOSTRIP

#define CLONE_NOSTRIP   32

Don't strip (most) flags from clone

◆ CLONE_PRESERVE

#define CLONE_PRESERVE   2

Preserve the owner of the object

◆ CLONE_SET_COST

#define CLONE_SET_COST   8

ARG2 is cost of cloned object

◆ COLOR24BIT

#define COLOR24BIT   0x00000400

Player support XTERM 24 bit colors

◆ COLOR256

#define COLOR256   0x00000200

Player support XTERM 256 colors

◆ CON_LOCAL

#define CON_LOCAL   0x01 /* Match is near me */

Match related

◆ CONNECTED

#define CONNECTED   0x40000000

Player is connected

◆ CONNINFO_IDLE

#define CONNINFO_IDLE   0x01

conninfo: idle() vs. conn()

◆ CONSTANT_ATTRS

#define CONSTANT_ATTRS   0x00800000

Can't set attrs on this object

◆ CONTROL_OK

#define CONTROL_OK   0x00400000

ControlLk specifies who ctrls me

◆ CRYPTCODE_LO

#define CRYPTCODE_LO   32 /* space */

encode() and decode() copy over only alphanumeric chars

◆ CS_ACTOR

#define CS_ACTOR   0x10000

@addcommand executed by player, not obj

◆ CS_ADDED

#define CS_ADDED   0x00800

Command has been added by @addcommand

◆ CS_ARGV

#define CS_ARGV   0x00004

ARG2 is in ARGV form

◆ CS_CAUSE

#define CS_CAUSE   0x00040

Pass cause to old command handler

◆ CS_CMDARG

#define CS_CMDARG   0x00100

Pass in given command args

◆ CS_FUNCTION

#define CS_FUNCTION   0x08000

Can call with command()

◆ CS_INTERP

#define CS_INTERP   0x00010

Interpret ARG2 if 2 args, ARG1 if 1

◆ CS_LEADIN

#define CS_LEADIN   0x01000

Command is a single-letter lead-in

◆ CS_NARG_MASK

#define CS_NARG_MASK   0x00003

Argument count mask

◆ CS_NO_ARGS

#define CS_NO_ARGS   0x00000

Command handler call conventions.

No arguments

◆ CS_NOINTERP

#define CS_NOINTERP   0x00020

Never interp ARG2 if 2 or ARG1 if 1

◆ CS_NOSQUISH

#define CS_NOSQUISH   0x04000

Do not space-compress

◆ CS_ONE_ARG

#define CS_ONE_ARG   0x00001

One argument

◆ CS_PRESERVE

#define CS_PRESERVE   0x02000

For hooks, preserve global registers

◆ CS_PRIVATE

#define CS_PRIVATE   0x20000

For hooks, use private global registers

◆ CS_STRIP

#define CS_STRIP   0x00200

Strip braces even when not interpreting

◆ CS_STRIP_AROUND

#define CS_STRIP_AROUND   0x00400

Strip braces around entire string only

◆ CS_TWO_ARG

#define CS_TWO_ARG   0x00002

Two arguments

◆ CS_UNPARSE

#define CS_UNPARSE   0x00080

Pass unparsed cmd to old-style handler

◆ DARK

#define DARK   0x00000040

Don't show contents or presence

◆ DBCK_FULL

#define DBCK_FULL   1

Do all tests

◆ DBTYPE_ATRNUM

#define DBTYPE_ATRNUM   4

Attribute number to name map

◆ DBTYPE_ATTRIBUTE

#define DBTYPE_ATTRIBUTE   1

This is an attribute

◆ DBTYPE_DBINFO

#define DBTYPE_DBINFO   2

Various DB paramaters

◆ DBTYPE_EMPTY

#define DBTYPE_EMPTY   0

Datatypes that we have in cache and on disk This entry is empty

◆ DBTYPE_END

#define DBTYPE_END   0xFFFFFFFF

Highest type

◆ DBTYPE_MODULETYPE

#define DBTYPE_MODULETYPE   5

DBTYPE to module name map

◆ DBTYPE_OBJECT

#define DBTYPE_OBJECT   3

Object structure

◆ DBTYPE_RESERVED

#define DBTYPE_RESERVED   0x0000FFFF

Numbers >= are free for use by user code (modules)

◆ DECOMP_PRETTY

#define DECOMP_PRETTY   1

pretty-format output

◆ DELIM_CRLF

#define DELIM_CRLF   0x004

'r' delimiter okay.

◆ DELIM_EVAL

#define DELIM_EVAL   0x001

Constants used in delimiter macros.

Must eval delimiter.

◆ DELIM_NULL

#define DELIM_NULL   0x002

Null delimiter okay.

◆ DELIM_STRING

#define DELIM_STRING   0x008

Multi-character delimiter okay.

◆ DEST_ALL

#define DEST_ALL   2

owner

◆ DEST_INSTANT

#define DEST_INSTANT   8

instantly destroy

◆ DEST_ONE

#define DEST_ONE   1

object

◆ DEST_OVERRIDE

#define DEST_OVERRIDE   4

override Safe()

◆ DESTROY_OK

#define DESTROY_OK   0x00000200

Others may @destroy

◆ DEV_NULL

#define DEV_NULL   "/dev/null"

Always nice to have a trash can.

◆ DIG_TELEPORT

#define DIG_TELEPORT   1

teleport to room after @digging

◆ DIRTY

#define DIRTY   0x00000010

Temporary flag: object is dirty

◆ DOING_HEADER

#define DOING_HEADER   1

Set the DOING header

◆ DOING_MESSAGE

#define DOING_MESSAGE   0

Set my DOING message

◆ DOING_POLL

#define DOING_POLL   2

List DOING header

◆ DOING_QUIET

#define DOING_QUIET   4

Inhibit 'Set.' message

◆ DOLIST_DELIMIT

#define DOLIST_DELIMIT   1

expect custom delimiter

◆ DOLIST_NOTIFY

#define DOLIST_NOTIFY   2

queue a '@notify me' at the end

◆ DOLIST_NOW

#define DOLIST_NOW   4

Run commands immediately, no queueing

◆ DOLIST_SPACE

#define DOLIST_SPACE   0

expect spaces as delimiter

◆ DROP_QUIET

#define DROP_QUIET   1

Don't do Odrop/Adrop if control

◆ DS_AUTODARK

#define DS_AUTODARK   0x0002

Wizard was auto set dark.

◆ DS_CONNECTED

#define DS_CONNECTED   0x0001

player is connected

◆ DS_PUEBLOCLIENT

#define DS_PUEBLOCLIENT   0x0004

Client is Pueblo-enhanced.

◆ DUMP_DB_NORMAL

#define DUMP_DB_NORMAL   0

Database dumping directives for dump_database_internal()

◆ DUMP_FLATFILE

#define DUMP_FLATFILE   8

Dump to flatfile

◆ DUMP_OPTIMIZE

#define DUMP_OPTIMIZE   16

Optimized dump

◆ DUMP_STRUCT

#define DUMP_STRUCT   1

Dump flat structure file

◆ DUMP_TEXT

#define DUMP_TEXT   2

Dump text (gdbm) file

◆ ENDCMD_ASSERT

#define ENDCMD_ASSERT   1

@assert - end action list on false

◆ ENDCMD_BREAK

#define ENDCMD_BREAK   0

@break - end action list on true

◆ ENTER_OK

#define ENTER_OK   0x00080000

Object may be ENTERed

◆ EV_EVAL

#define EV_EVAL   0x00000800

Evaluate results before returning

◆ EV_FCHECK

#define EV_FCHECK   0x00000200

Check text before () for function

◆ EV_FIGNORE

#define EV_FIGNORE   0x00000000

Evaluation directives Don't look for func if () found

◆ EV_FMAND

#define EV_FMAND   0x00000100

Text before () must be func name

◆ EV_NO_COMPRESS

#define EV_NO_COMPRESS   0x00040000

Don't compress spaces.

◆ EV_NO_LOCATION

#define EV_NO_LOCATION   0x00080000

Suppresses l

◆ EV_NOFCHECK

#define EV_NOFCHECK   0x00100000

Do not evaluate functions!

◆ EV_NOTRACE

#define EV_NOTRACE   0x00020000

Don't trace this call to eval

◆ EV_STRIP

#define EV_STRIP   0x00000400

Strip one level of brackets

◆ EV_STRIP_AROUND

#define EV_STRIP_AROUND   0x00008000

Strip {} only at ends of string

◆ EV_STRIP_ESC

#define EV_STRIP_ESC   0x00004000

Strip one level of \ characters

◆ EV_STRIP_LS

#define EV_STRIP_LS   0x00002000

Strip leading spaces

◆ EV_STRIP_TS

#define EV_STRIP_TS   0x00001000

Strip trailing spaces

◆ EV_TOP

#define EV_TOP   0x00010000

This is a toplevel call to eval()

◆ EXAM_BRIEF

#define EXAM_BRIEF   1

Don't show attributes

◆ EXAM_DEBUG

#define EXAM_DEBUG   4

Display more info for finding db problems

◆ EXAM_DEFAULT

#define EXAM_DEFAULT   0

Default

◆ EXAM_LONG

#define EXAM_LONG   2

Nonowner sees public attrs too

◆ EXAM_OWNER

#define EXAM_OWNER   64

Nonowner sees just owner

◆ EXAM_PAIRS

#define EXAM_PAIRS   32

Print paren matches in color

◆ EXAM_PARENT

#define EXAM_PARENT   8

Get attr from parent when exam obj/attr

◆ EXAM_PRETTY

#define EXAM_PRETTY   16

Pretty-format output

◆ EXIT_DELIMITER

#define EXIT_DELIMITER   ';'

delimiters for various things

◆ F_EXAMINE

#define F_EXAMINE   1 /** Normal */

@briefBoolexp decompile formats

◆ F_MUCK

#define F_MUCK   4

TinyMUCK format

◆ F_MUD

#define F_MUD   3

Old TinyMUD format

◆ F_MUSE

#define F_MUSE   2

MUSE format

◆ F_MUSH

#define F_MUSH   1

MUSH format (many variants)

◆ F_MUX

#define F_MUX   5

TinyMUX format

◆ F_TINYMUSH

#define F_TINYMUSH   6

TinyMUSH 3.0 format

◆ F_UNKNOWN

#define F_UNKNOWN   0

Database format information.

Unknown database format

◆ FC_CONN

#define FC_CONN   0

File cache constants.

File caches. These must track the fcache array in file_c.c

◆ FILT_COND_FALSE

#define FILT_COND_FALSE   0x020

show only false results

◆ FILT_COND_NONE

#define FILT_COND_NONE   0x010

show all results

◆ FILT_COND_TRUE

#define FILT_COND_TRUE   0x030

show only true results

◆ FILT_COND_TYPE

#define FILT_COND_TYPE   0x0f0

mask to select filter bits

◆ FIRST_DOW

#define FIRST_DOW   0
Note
on DOW, 0 and 7 are both Sunday, for compatibility reasons.

◆ FIRST_MINUTE

#define FIRST_MINUTE   0

Cron constants.

◆ FIXDB_CON

#define FIXDB_CON   4

Fix CONTENTS field

◆ FIXDB_EXITS

#define FIXDB_EXITS   8

Fix EXITS field

◆ FIXDB_LOC

#define FIXDB_LOC   2

Fix LOCATION field

◆ FIXDB_NAME

#define FIXDB_NAME   64

Set NAME attribute

◆ FIXDB_NEXT

#define FIXDB_NEXT   16

Fix NEXT field

◆ FIXDB_OWNER

#define FIXDB_OWNER   1

Fix OWNER field

◆ FIXDB_PENNIES

#define FIXDB_PENNIES   32

Fix PENNIES field

◆ FLAG_WORD1

#define FLAG_WORD1   0x0

Flags constants.

1st word of flags.

◆ FLAG_WORD2

#define FLAG_WORD2   0x1

2nd word of flags.

◆ FLAG_WORD3

#define FLAG_WORD3   0x2

3rd word of flags.

◆ FLOATERS_ALL

#define FLOATERS_ALL   1

Display all floating rooms in db

◆ FLOATING

#define FLOATING   0x00000004

– Legacy –

◆ FN_DBFX

#define FN_DBFX   0x04000000

DB-affecting side effects

◆ FN_NO_EVAL

#define FN_NO_EVAL   0x40000000

Don't evaluate args to function

◆ FN_NOREGS

#define FN_NOREGS   0x08000000

Private r-regs for ufun

◆ FN_OUTFX

#define FN_OUTFX   0x01000000

Output-affecting side effects

◆ FN_PRES

#define FN_PRES   0x10000000

Preserve r-regs before ufun

◆ FN_PRIV

#define FN_PRIV   0x20000000

Perform ufun as holding obj

◆ FN_QFX

#define FN_QFX   0x02000000

Queue-affecting side effects

◆ FN_STACKFX

#define FN_STACKFX   0x00800000

All stack functions

◆ FN_VARARGS

#define FN_VARARGS   0x80000000

Function flags allows variable # of args

◆ FN_VARFX

#define FN_VARFX   0x00400000

All xvars functions

◆ FPTS_DIG

#define FPTS_DIG   LDBL_DIG - 1

Floating point precision.

◆ FRC_COMMAND

#define FRC_COMMAND   1

what=command

◆ FRC_NOW

#define FRC_NOW   2

run command immediately, no queueing

◆ FUNCT_LIST

#define FUNCT_LIST   1

List the user-defined functions

◆ FUNCT_NO_EVAL

#define FUNCT_NO_EVAL   2

Don't evaluate args to function

◆ FUNCT_NOREGS

#define FUNCT_NOREGS   16

Private r-regs for ufun

◆ FUNCT_PRES

#define FUNCT_PRES   8

Preserve r-regs before ufun

◆ FUNCT_PRIV

#define FUNCT_PRIV   4

Perform ufun as holding obj

◆ GBUF_SIZE

#define GBUF_SIZE   1024

Generic buffer size

◆ GENERIC_STRUCT_DELIM

#define GENERIC_STRUCT_DELIM   '\f'

This is used as the 'null' delimiter for structures stored via write(). form feed char

◆ GET_EVAL

#define GET_EVAL   0x01

from perform_get (get, get_eval, xget, eval(a,b)): evaluate the attribute

◆ GET_QUIET

#define GET_QUIET   1

Don't do osucc/asucc if control

◆ GET_XARGS

#define GET_XARGS   0x02

obj and attr are two separate args

◆ GIVE_QUIET

#define GIVE_QUIET   1

Inhibit give messages

◆ GLOB_DISABLE

#define GLOB_DISABLE   2

key to disable

◆ GLOB_ENABLE

#define GLOB_ENABLE   1

key to enable

◆ GOING

#define GOING   0x00004000

object is available for recycling

◆ GOODTYPE

#define GOODTYPE   0x5

Values less than this pass Good_obj check

◆ H_FORBIDDEN

#define H_FORBIDDEN   0x0002

Reject all connects

◆ H_GUEST

#define H_GUEST   0x0008

Don't permit guests from here

◆ H_REGISTRATION

#define H_REGISTRATION   0x0001

Host information codes Registration ALWAYS on

◆ H_SUSPECT

#define H_SUSPECT   0x0004

Notify wizards of connects/disconnects

◆ HALT

#define HALT   0x00001000

object cannot perform actions

◆ HALT_ALL

#define HALT_ALL   1

halt everything

◆ HALT_PID

#define HALT_PID   2

halt a particular PID

◆ HAS_COMMANDS

#define HAS_COMMANDS   0x00080000

Check it for $commands

◆ HAS_DARKLOCK

#define HAS_DARKLOCK   0x00000008

Has a DarkLock

◆ HAS_FWDLIST

#define HAS_FWDLIST   0x00000080

Internal: FORWARDLIST attr set

◆ HAS_LISTEN

#define HAS_LISTEN   0x00000040

Internal: LISTEN attr set

◆ HAS_PROPDIR

#define HAS_PROPDIR   0X00000100

Internal: has Propdir attr

◆ HAS_REDIRECT

#define HAS_REDIRECT   0x00000002

Victim of @redirect

◆ HAS_SPEECHMOD

#define HAS_SPEECHMOD   0x00000080

Check @speechmod attr

◆ HAS_STARTUP

#define HAS_STARTUP   0x00400000

Load some attrs at startup

◆ HASH_ALIAS

#define HASH_ALIAS   0x00000001

HTab constants.

Hash entry flags This entry is just a copy

◆ HAVEN

#define HAVEN   0x00000400

No killing here, or no pages

◆ HBUF_SIZE

#define HBUF_SIZE   32768

Huge buffer size

◆ HEARTHRU

#define HEARTHRU   0x40000000

Can hear out of this obj or exit

◆ HELP_FIND

#define HELP_FIND   1

do a wildcard search through help subjects

◆ HELP_RAWHELP

#define HELP_RAWHELP   0x08000000

A high bit. Don't eval text.

◆ HOME

#define HOME   -3

virtual room, represents mover's home

◆ HOOK_AFTER

#define HOOK_AFTER   2

post-command hook

◆ HOOK_BEFORE

#define HOOK_BEFORE   1

pre-command hook

◆ HOOK_NOPRESERVE

#define HOOK_NOPRESERVE   8

don't preserve global regs

◆ HOOK_PERMIT

#define HOOK_PERMIT   16

user-defined permissions

◆ HOOK_PRESERVE

#define HOOK_PRESERVE   4

preserve global regs

◆ HOOK_PRIVATE

#define HOOK_PRIVATE   32

private global regs

◆ HT_KEYREF

#define HT_KEYREF   0x00000010

Store keys by reference not copy

◆ HT_NUM

#define HT_NUM   0x00000001

Numeric-keyed hashtable

◆ HT_STR

#define HT_STR   0x00000000

Hash table flags String-keyed hashtable

◆ HT_TYPEMASK

#define HT_TYPEMASK   0x0000000f

Reserve up to 16 key types

◆ HTML

#define HTML   0x04000000

Player supports HTML

◆ HUSH_ENTER

#define HUSH_ENTER   1

Hush codes for movement messages xENTER/xEFAIL

◆ HUSH_EXIT

#define HUSH_EXIT   4

xSUCC/xDROP/xFAIL from exits

◆ HUSH_LEAVE

#define HUSH_LEAVE   2

xLEAVE/xLFAIL

◆ I_ANSI_NORMAL

#define I_ANSI_NORMAL   0

Integers

◆ IFELSE_BOOL

#define IFELSE_BOOL   0x01

check for boolean (defaults to nonzero)

◆ IFELSE_DEFAULT

#define IFELSE_DEFAULT   0x04

only two args, use condition as output

◆ IFELSE_FALSE

#define IFELSE_FALSE   0x02

order false,true instead of true,false

◆ IFELSE_OPER

#define IFELSE_OPER   0x0f

from handle_ifelse() and handle_if() mask

◆ IFELSE_TOKEN

#define IFELSE_TOKEN   0x08

allow switch-token substitution

◆ IMMORTAL

the victim s owner is set IMMORTAL   0x00200000

Object can't be killed

◆ INDENT_STR

#define INDENT_STR   " "

This is used to indent output from pretty-printing.

◆ INDIR_TOKEN

#define INDIR_TOKEN   '@'

One of these two should go.

◆ INHERIT

#define INHERIT   0x02000000

Gets owner's privs. (i.e. Wiz)

◆ JUMP_OK

#define JUMP_OK   0x00000080

Others may @tel here

◆ JUST_TYPE

#define JUST_TYPE   0x0f

from process_tables (tables, rtables, ctables): from perform_border (border, rborder, cborder): from perform_align (align, lalign): mask to select justification bits

◆ KEY

#define KEY   0x00000001

Second word of flags No puppets

◆ KILL_KILL

#define KILL_KILL   1

gives victim insurance

◆ KILL_SLAY

#define KILL_SLAY   2

no insurance

◆ LATTR_COUNT

#define LATTR_COUNT   0x01

Miscellaneous nattr: just return attribute count

◆ LBUF_SIZE

#define LBUF_SIZE   8192

Large buffer size

◆ LIGHT

#define LIGHT   0x00000020

Visible in dark places

◆ LINE_SIZE

#define LINE_SIZE   90

Help constants.

◆ LINK_OK

#define LINK_OK   0x00000020

anybody can link to this room

◆ LK_IDESC

#define LK_IDESC   0x0001

Look primitive directives

◆ LOCFN_WHERE

#define LOCFN_WHERE   0x01

loc: where() vs. loc()

◆ LOG_ACCOUNTING

#define LOG_ACCOUNTING   0x00000002

Write accounting info on logout

◆ LOG_ALLCOMMANDS

#define LOG_ALLCOMMANDS   0x00000001

Logging options Log all commands

◆ LOG_ALLOCATE

#define LOG_ALLOCATE   0x00004000

Log alloc/free from buffer pools

◆ LOG_ALWAYS

#define LOG_ALWAYS   0x80000000

Always log it

◆ LOG_BADCOMMANDS

#define LOG_BADCOMMANDS   0x00000004

Log bad commands

◆ LOG_BUGS

#define LOG_BUGS   0x00000008

Log program bugs found

◆ LOG_CONFIGMODS

#define LOG_CONFIGMODS   0x00000020

Log changes to configuration

◆ LOG_DBSAVES

#define LOG_DBSAVES   0x00000010

Log database dumps

◆ LOG_FORCE

#define LOG_FORCE   0x04000000

Ignore mushstate.logging

◆ LOG_KBCOMMANDS

#define LOG_KBCOMMANDS   0x00010000

Log keyboard commands

◆ LOG_KILLS

#define LOG_KILLS   0x00000080

Log KILLs

◆ LOG_LOCAL

#define LOG_LOCAL   0x00080000

Log user stuff via @log

◆ LOG_LOGIN

#define LOG_LOGIN   0x00000100

Log logins and logouts

◆ LOG_MALLOC

#define LOG_MALLOC   0x00100000

Log malloc requests

◆ LOG_NET

#define LOG_NET   0x00000200

Log net connects and disconnects

◆ LOG_PCREATES

#define LOG_PCREATES   0x00000040

Log character creations

◆ LOG_PROBLEMS

#define LOG_PROBLEMS   0x00008000

Log runtime problems

◆ LOG_SECURITY

#define LOG_SECURITY   0x00000400

Log security-related events

◆ LOG_SHOUTS

#define LOG_SHOUTS   0x00000800

Log shouts

◆ LOG_STARTUP

#define LOG_STARTUP   0x00001000

Log nonfatal errors in startup

◆ LOG_SUSPECTCMDS

#define LOG_SUSPECTCMDS   0x00020000

Log SUSPECT player keyboard cmds

◆ LOG_TIMEUSE

#define LOG_TIMEUSE   0x00040000

Log CPU time usage

◆ LOG_WIZARD

#define LOG_WIZARD   0x00002000

Log dangerous things

◆ LOGIC_BOOL

#define LOGIC_BOOL   0x10

interpret operands as boolean, not int

◆ LOGIC_LIST

#define LOGIC_LIST   0x40

operands come in a list, not separately

◆ LOGIC_OPER

#define LOGIC_OPER   0x0f

from handle_logic (and, or, andbool, orbool, land, lor, landbool, lorbool, cand, cor, candbool, corbool, xor, xorbool): from handle_flaglists (andflags, orflags): from handle_filter (filter, filterbool): mask to select boolean operation bits

◆ LOGOPT_FLAGS

#define LOGOPT_FLAGS   0x01

Report flags on object

◆ LOGOPT_LOC

#define LOGOPT_LOC   0x02

Report loc of obj when requested

◆ LOGOPT_OWNER

#define LOGOPT_OWNER   0x04

Report owner of obj if not obj

◆ LOGOPT_TIMESTAMP

#define LOGOPT_TIMESTAMP   0x08

Timestamp log entries

◆ LOOK_INVENTORY

#define LOOK_INVENTORY   2

list inventory of object

◆ LOOK_LOOK

#define LOOK_LOOK   1

list desc (and succ/fail if room)

◆ LOOK_OUTSIDE

#define LOOK_OUTSIDE   8

look for object in container of player

◆ LOOK_SCORE

#define LOOK_SCORE   4

list score (# coins)

◆ LOOP_NOTIFY

#define LOOP_NOTIFY   0x100

send loop results directly to enactor

◆ LOOP_TWOLISTS

#define LOOP_TWOLISTS   0x200

process two lists

◆ MARK_0

#define MARK_0   0x00400000

User-defined flags

◆ MARK_CLEAR

#define MARK_CLEAR   1

Clear mark bits

◆ MARK_FLAGS

#define MARK_FLAGS   0xffc00000

Bitwise-or of all marker flags

◆ MARK_SET

#define MARK_SET   0

Set mark bits

◆ MAT_EXIT_PARENTS

#define MAT_EXIT_PARENTS   2

Check for exits in parents

◆ MAT_HOME

#define MAT_HOME   8

Check for 'home'

◆ MAT_NO_EXITS

#define MAT_NO_EXITS   1

Don't check for exits

◆ MAT_NUMERIC

#define MAT_NUMERIC   4

Check for un-#ified dbrefs

◆ MAX_NFARGS

#define MAX_NFARGS   30

Functions constants.

◆ MBUF_SIZE

#define MBUF_SIZE   512

Standard buffer size

◆ MONITOR

#define MONITOR   0x00008000

Process ^x:action listens on obj?

◆ MOTD_ALL

#define MOTD_ALL   0

login message for all

◆ MOTD_BRIEF

#define MOTD_BRIEF   16

Suppress motd file display for wizards

◆ MOTD_DOWN

#define MOTD_DOWN   2

login message when logins disabled

◆ MOTD_FULL

#define MOTD_FULL   4

login message when too many players on

◆ MOTD_LIST

#define MOTD_LIST   8

Display current login messages

◆ MOTD_WIZ

#define MOTD_WIZ   1

login message for wizards

◆ MOVE_QUIET

#define MOVE_QUIET   1

Dont do Osucc/Ofail/Asucc/Afail if ctrl

◆ MSG_FWDLIST

#define MSG_FWDLIST   0x00400

Forward to my fwdlist members if audible

◆ MSG_HTML

#define MSG_HTML   0x04000

Don't send \r

◆ MSG_INV

#define MSG_INV   0x00002

Forward msg to contents

◆ MSG_INV_EXITS

#define MSG_INV_EXITS   0x00008

Forward through my audible exits

◆ MSG_INV_L

#define MSG_INV_L   0x00004

... only if msg passes my @listen

◆ MSG_LOC

#define MSG_LOC   0x00100

Send to my location

◆ MSG_LOC_A

#define MSG_LOC_A   0x00200

... only if I am audible

◆ MSG_ME

#define MSG_ME   0x00800

Send to me

◆ MSG_MOVE

#define MSG_MOVE   0x10000

This message is movement.

◆ MSG_NBR

#define MSG_NBR   0x00010

Forward msg to neighbors

◆ MSG_NBR_A

#define MSG_NBR_A   0x00020

... only if I am audible

◆ MSG_NBR_EXITS

#define MSG_NBR_EXITS   0x00040

Also forward to neighbor exits

◆ MSG_NBR_EXITS_A

#define MSG_NBR_EXITS_A   0x00080

... only if I am audible

◆ MSG_PRESENCE

#define MSG_PRESENCE   0x20000

This message is related to presence.

◆ MSG_PUP_ALWAYS

#define MSG_PUP_ALWAYS   0x00001

Lower flag values are used for function-specific switches

Message forwarding directives Always forward msg to puppet own

◆ MSG_S_INSIDE

#define MSG_S_INSIDE   0x01000

Originator is inside target

◆ MSG_S_OUTSIDE

#define MSG_S_OUTSIDE   0x02000

Originator is outside target

◆ MSG_SPEECH

#define MSG_SPEECH   0x08000

This message is speech.

◆ MYOPIC

#define MYOPIC   0x00010000

See things as nonowner/nonwizard

◆ N_ANSI_NORMAL [1/2]

#define N_ANSI_NORMAL   "0"

Numeric-only definitions

◆ N_ANSI_NORMAL [2/2]

#define N_ANSI_NORMAL   "0"

Numeric-only definitions

◆ NAMEFN_FULLNAME

#define NAMEFN_FULLNAME   0x01

name: fullname() vs. name()

◆ NFY_DRAIN

#define NFY_DRAIN   2

Delete waiting commands

◆ NFY_NFY

#define NFY_NFY   0

Notify first waiting command

◆ NFY_NFYALL

#define NFY_NFYALL   1

Notify all waiting commands

◆ NODEFAULT

#define NODEFAULT   0x00000020

Not subject to attr defaults

◆ NOGO_MESSAGE

#define NOGO_MESSAGE   "You can't go that way."

Commands constants.

◆ NOMATCH_MESSAGE

#define NOMATCH_MESSAGE   "I don't see that here."

Match constants.

◆ NOPERM

#define NOPERM   -4

Error status, no permission

◆ NOSPOOF

#define NOSPOOF   0x04000000

Report originator of all actions.

◆ NOT_TOKEN

#define NOT_TOKEN   '!'

Game constants.

magic lock cookies

◆ NOTHING

#define NOTHING   -1

null dbref

◆ NREF_LIST

#define NREF_LIST   1

List rather than set nrefs

◆ NULL_DELIM_VAR

#define NULL_DELIM_VAR   "@@"

This token is used to denote a null output delimiter.

◆ NUM_BAD

#define NUM_BAD   3

of failed logins to save data for

◆ NUM_GOOD

#define NUM_GOOD   4

Players constants.

of successful logins to save data for

◆ NUM_OBJPIPES

#define NUM_OBJPIPES   64

UDB Constants.

Define the number of objects we may be reading/writing to at one time

◆ OBJECT_DEPOSIT

#define OBJECT_DEPOSIT (   pennies)    (((pennies)-mushconf.sacadjust) * mushconf.sacfactor)

!!! added for recycling, return value of object

◆ OBJECT_ENDOWMENT

#define OBJECT_ENDOWMENT (   cost)    (((cost) / mushconf.sacfactor) + mushconf.sacadjust)

amount of object endowment, based on cost

◆ OF_CONTENTS

#define OF_CONTENTS   0x0001

Object has contents: Contents()

◆ OF_DROPTO

#define OF_DROPTO   0x0010

Object has a dropto: Dropto()

◆ OF_EXITS

#define OF_EXITS   0x0004

Object has exits: Exits()

◆ OF_HOME

#define OF_HOME   0x0008

Object has a home: Home()

◆ OF_LOCATION

#define OF_LOCATION   0x0002

Object has a location: Location()

◆ OF_OWNER

#define OF_OWNER   0x0020

Object can own other objects

◆ OF_SIBLINGS

#define OF_SIBLINGS   0x0040

Object has siblings: Next()

◆ OPAQUE

#define OPAQUE   0x00800000

Can't see inside

◆ OPEN_INVENTORY

#define OPEN_INVENTORY   1

Open exit in me

◆ OPEN_LOCATION

#define OPEN_LOCATION   0

Open exit in my location

◆ ORPHAN

#define ORPHAN   0x00000004

Don't check parent chain for $cmd

◆ OUTPUT_VERSION

#define OUTPUT_VERSION   1

Database R/W flags. Version 1

◆ PARENT_OK

#define PARENT_OK   0x00000010

Others may @parent to me

◆ PASS_ANY

#define PASS_ANY   1

name=newpass

◆ PASS_MINE

#define PASS_MINE   2

oldpass=newpass

◆ PCRE_MAX_OFFSETS

#define PCRE_MAX_OFFSETS   99

Max offset for PCRE

◆ PCRE_PLAYER

#define PCRE_PLAYER   1

create new player

◆ PCRE_ROBOT

#define PCRE_ROBOT   2

create robot player

◆ PEMIT_CONTENTS

#define PEMIT_CONTENTS   8

Send to contents (additive)

◆ PEMIT_FEMIT

#define PEMIT_FEMIT   5

force controlled obj to emit

◆ PEMIT_FPOSE

#define PEMIT_FPOSE   6

force controlled obj to pose

◆ PEMIT_FPOSE_NS

#define PEMIT_FPOSE_NS   7

force controlled obj to pose w/o space

◆ PEMIT_FSAY

#define PEMIT_FSAY   4

force controlled obj to say

◆ PEMIT_HERE

#define PEMIT_HERE   16

Send to location (@femit, additive)

◆ PEMIT_HTML

#define PEMIT_HTML   256

HTML escape, and no newline

◆ PEMIT_LIST

#define PEMIT_LIST   64

Send to a list

◆ PEMIT_MOVE

#define PEMIT_MOVE   512

Explicitly tag this as a movement message

◆ PEMIT_OEMIT

#define PEMIT_OEMIT   2

emit to all in current room except named

◆ PEMIT_PEMIT

#define PEMIT_PEMIT   1

emit to named player

◆ PEMIT_ROOM

#define PEMIT_ROOM   32

Send to containing rm (@femit, additive)

◆ PEMIT_SPEECH

#define PEMIT_SPEECH   128

Explicitly tag this as speech

◆ PEMIT_SPOOF

#define PEMIT_SPOOF   1024

change enactor to target object

◆ PEMIT_WHISPER

#define PEMIT_WHISPER   3

whisper to player in current room

◆ PF_DEAD

#define PF_DEAD   0x0001

Player cache related.

◆ PLAYER_MAILS

#define PLAYER_MAILS   0x02000000

Mail message in progress

◆ POP_PEEK

#define POP_PEEK   0x01

from handle_pop (pop, peek, toss): don't remove item from stack

◆ POP_TOSS

#define POP_TOSS   0x02

don't display item from stack

◆ POW_ANNOUNCE

#define POW_ANNOUNCE   0x00000004

May use @wall

◆ POW_BOOT

#define POW_BOOT   0x00000008

May use @boot

◆ POW_BUILDER

#define POW_BUILDER   0x00000001

Second word of powers Can build

◆ POW_CHG_QUOTAS

#define POW_CHG_QUOTAS   0x00000001

First word of powers May change and see quotas

◆ POW_CHOWN_ANY

#define POW_CHOWN_ANY   0x00000002

Can @chown anything or to anyone

◆ POW_CLOAK

#define POW_CLOAK   0x00000040

Can vanish from sight via DARK

◆ POW_COMM_ALL

#define POW_COMM_ALL   0x00080000

Channel wiz

◆ POW_CONTROL_ALL

#define POW_CONTROL_ALL   0x00000020

I control everything

◆ POW_EXAM_ALL

#define POW_EXAM_ALL   0x00000080

I can examine everything

◆ POW_FIND_UNFIND

#define POW_FIND_UNFIND   0x00000100

Can find unfindable players

◆ POW_FREE_ATTR

#define POW_FREE_ATTR   0x00040000

Not used - Available

◆ POW_FREE_MONEY

#define POW_FREE_MONEY   0x00000200

I have infinite money

◆ POW_FREE_QUOTA

#define POW_FREE_QUOTA   0x00000400

I have infinite quota

◆ POW_GUEST

#define POW_GUEST   0x02000000

Player is a guest

◆ POW_HALT

#define POW_HALT   0x00000010

May @halt on other's objects

◆ POW_HIDE

#define POW_HIDE   0x00000800

Can set themselves DARK

◆ POW_IDLE

#define POW_IDLE   0x00001000

No idle limit

◆ POW_LINKHOME

#define POW_LINKHOME   0x00000020

Can link object to any home

◆ POW_LINKTOANY

#define POW_LINKTOANY   0x00000004

Can link to any object

◆ POW_LINKVAR

#define POW_LINKVAR   0x00000002

Can link an exit to "variable"

◆ POW_LONGFINGERS

#define POW_LONGFINGERS   0x00004000

Can get/whisper/etc from a distance

◆ POW_MDARK_ATTR

#define POW_MDARK_ATTR   0x00010000

Can read AF_MDARK attrs

◆ POW_NO_DESTROY

#define POW_NO_DESTROY   0x01000000

Cannot be destroyed

◆ POW_OPENANYLOC

#define POW_OPENANYLOC   0x00000008

Can open from anywhere

◆ POW_PASS_LOCKS

#define POW_PASS_LOCKS   0x04000000

Player can pass any lock

◆ POW_POLL

#define POW_POLL   0x00800000

Player can set the doing poll

◆ POW_PROG

#define POW_PROG   0x00008000

Can use the @prog command

◆ POW_SEARCH

#define POW_SEARCH   0x00002000

Can @search anyone

◆ POW_SEE_HIDDEN

#define POW_SEE_HIDDEN   0x00200000

Player can see hidden players on WHO list

◆ POW_SEE_QUEUE

#define POW_SEE_QUEUE   0x00100000

Player can see the entire queue

◆ POW_STAT_ANY

#define POW_STAT_ANY   0x08000000

Can @stat anyone

◆ POW_STEAL

#define POW_STEAL   0x10000000

Can give negative money

◆ POW_TEL_ANYWHR

#define POW_TEL_ANYWHR   0x20000000

Teleport anywhere

◆ POW_TEL_UNRST

#define POW_TEL_UNRST   0x40000000

Teleport anything

◆ POW_UNKILLABLE

#define POW_UNKILLABLE   0x80000000

Can't be killed

◆ POW_USE_MODULE

#define POW_USE_MODULE   0x00000010

Can use MODULE queries directly

◆ POW_WATCH

#define POW_WATCH   0x00400000

Player can set or clear WATCHER

◆ POW_WIZ_ATTR

#define POW_WIZ_ATTR   0x00020000

Can write AF_WIZARD attrs

◆ POW_WIZARD_WHO

#define POW_WIZARD_WHO   0x00000040

See extra WHO information

◆ POWER_EXT

#define POWER_EXT   0x1

Powers constants.

Lives in extended powers word

◆ PRESENCE

#define PRESENCE   0x00000040

Check presence-related locks

◆ PRESFN_HEARS

#define PRESFN_HEARS   0x01

Detect hearing

◆ PRESFN_KNOWS

#define PRESFN_KNOWS   0x04

Detect knows

◆ PRESFN_MOVES

#define PRESFN_MOVES   0x02

Detect movement

◆ PRESFN_OPER

#define PRESFN_OPER   0x0f

from handle_okpres (hears, moves, knows): Mask to select bits

◆ PRONOUN_OBJ

#define PRONOUN_OBJ   0

from handle_pronoun (obj, poss, subj, aposs):

◆ PS_ALL

#define PS_ALL   4

List entire queue

◆ PS_BRIEF

#define PS_BRIEF   0

Short PS report

◆ PS_LONG

#define PS_LONG   1

Long PS report

◆ PS_SUMM

#define PS_SUMM   2

Queue counts only

◆ PUPPET

#define PUPPET   0x00020000

Relays ALL messages to owner

◆ QTYPE_ALL

#define QTYPE_ALL   0

Quota types

◆ QUEUE_KICK

#define QUEUE_KICK   1

Process commands from queue

◆ QUEUE_WARP

#define QUEUE_WARP   2

Advance or set back wait queue clock

◆ QUIET

#define QUIET   0x00000800

Prevent 'feelgood' messages

◆ QUOTA_ALL

#define QUOTA_ALL   16

Operate on all players

◆ QUOTA_EXIT

#define QUOTA_EXIT   64

Exit quota set

◆ QUOTA_FIX

#define QUOTA_FIX   2

Repair a quota

◆ QUOTA_PLAYER

#define QUOTA_PLAYER   256

Player quota set

◆ QUOTA_REM

#define QUOTA_REM   8

Operate on remaining quota

◆ QUOTA_ROOM

#define QUOTA_ROOM   32

Room quota set

◆ QUOTA_SET

#define QUOTA_SET   1

Set a quota

◆ QUOTA_THING

#define QUOTA_THING   128

Thing quota set

◆ QUOTA_TOT

#define QUOTA_TOT   4

Operate on total quota

◆ R_BADLOGIN

#define R_BADLOGIN   10

Too many failed login attempts

◆ R_BOOT

#define R_BOOT   7

Victim of @boot, @toad, or @destroy

◆ R_CONNECT

#define R_CONNECT   3

User typed 'connect'

◆ R_CREATE

#define R_CREATE   2

User typed 'create'

◆ R_DARK

#define R_DARK   4

User typed 'cd'

◆ R_GAMEDOWN

#define R_GAMEDOWN   11

Not admitting users now

◆ R_GAMEFULL

#define R_GAMEFULL   13

Too many players logged in

◆ R_GOING_DOWN

#define R_GOING_DOWN   9

Game is going down

◆ R_GUEST

#define R_GUEST   1

Interface constants.

Guest connection

◆ R_LOGOUT

#define R_LOGOUT   12

Logged out w/o disconnecting

◆ R_QUIT

#define R_QUIT   5

User quit

◆ R_SOCKDIED

#define R_SOCKDIED   8

Other end of socket closed it

◆ R_TIMEOUT

#define R_TIMEOUT   6

Inactivity timeout

◆ REDIR_OK

#define REDIR_OK   0x00000001

Third word of flags Can be victim of @redirect

◆ REG_CASELESS

#define REG_CASELESS   0x01

from perform_regedit (regedit, regediti, regeditall, regeditalli): from perform_regparse (regparse, regparsei): from perform_regrab (regrab, regrabi, regraball, regraballi): from perform_regmatch (regmatch, regmatchi): from perform_grep (grep, grepi, wildgrep, regrep, regrepi): XXX must equal PCRE_CASELESS

◆ REG_MATCH_ALL

#define REG_MATCH_ALL   0x02

operate on all matches in a list

◆ REG_TYPE

#define REG_TYPE   0x0c

mask to select grep type bits

◆ ROBOT

#define ROBOT   0x08000000

Player is a ROBOT

◆ ROYALTY

#define ROYALTY   0x20000000

Sees like a wiz, but ca't modify

◆ RS_CONCENTRATE

#define RS_CONCENTRATE   0x00000002

Database constants.

Restart DB has Port-Concentrator informations

◆ RS_COUNT_REBOOTS

#define RS_COUNT_REBOOTS   0x00000010

Restart DB has reboot count

◆ RS_NEW_STRINGS

#define RS_NEW_STRINGS   0x00000008

Restart DB has new strings informations

◆ RS_RECORD_PLAYERS

#define RS_RECORD_PLAYERS   0x00000004

Restart DB has Record of connected players

◆ S_SUSPECT

#define S_SUSPECT   1

Site flags

◆ SA_DFLT

#define SA_DFLT   2

Try to restart on a fatal error

◆ SA_EXIT

#define SA_EXIT   1

Signal handling directives Exit, and dump core

◆ SAFE

#define SAFE   0x10000000

Need /override to @destroy

◆ SAY_ADMINSHOUT

#define SAY_ADMINSHOUT   15

Emit to all wizards or royalty

◆ SAY_EMIT

#define SAY_EMIT   5

emit in current room

◆ SAY_HERE

#define SAY_HERE   64

Output to current location

◆ SAY_HTML

#define SAY_HTML   256

Don't output a newline

◆ SAY_NOSPACE

#define SAY_NOSPACE   1

OR with xx_EMIT to get nospace form

◆ SAY_NOTAG

#define SAY_NOTAG   32

Don't put Broadcast: in front (additive)

◆ SAY_POSE

#define SAY_POSE   2

pose in current room

◆ SAY_POSE_NOSPC

#define SAY_POSE_NOSPC   3

pose w/o space in current room

◆ SAY_PREFIX

#define SAY_PREFIX   512

first char indicates formatting

◆ SAY_ROOM

#define SAY_ROOM   128

Output to containing room

◆ SAY_SAY

#define SAY_SAY   1

say in current room

◆ SAY_SHOUT

#define SAY_SHOUT   8

shout to all logged-in players

◆ SAY_WALLEMIT

#define SAY_WALLEMIT   10

Emit to all logged-in players

◆ SAY_WALLPOSE

#define SAY_WALLPOSE   9

Pose to all logged-in players

◆ SAY_WIZEMIT

#define SAY_WIZEMIT   14

Emit to all logged-in wizards

◆ SAY_WIZPOSE

#define SAY_WIZPOSE   13

Pose to all logged-in wizards

◆ SAY_WIZSHOUT

#define SAY_WIZSHOUT   12

shout to all logged-in wizards

◆ SBUF_SIZE

#define SBUF_SIZE   64

Small buffer size

◆ SEETHRU

#define SEETHRU   0x00000008

First word of flags Can see through to the other side

◆ SET_OPER

#define SET_OPER   0x0f

from handle_sets (setunion, setdiff, setinter, lunion, ldiff, linter): mask to select set operation bits

◆ SET_QUIET

#define SET_QUIET   1

Don't display 'Set.' message.

◆ SET_TYPE

#define SET_TYPE   0x10

set type is given, don't autodetect

◆ SHUTDN_COREDUMP

#define SHUTDN_COREDUMP   1

Produce a coredump

◆ SLAVE

#define SLAVE   0x80000000

Disallow most commands

◆ SORT_OPER

#define SORT_OPER   0x0f

Function-specific flags used in the function table.

from handle_sort (sort, isort): mask to select sort operation bits

◆ SRCH_MARK

#define SRCH_MARK   2

Set mark bit for matches

◆ SRCH_SEARCH

#define SRCH_SEARCH   1

Do a normal search

◆ SRCH_UNMARK

#define SRCH_UNMARK   3

Clear mark bit for matches

◆ STAT_ALL

#define STAT_ALL   1

Display global stats

◆ STAT_ME

#define STAT_ME   2

Display stats for me

◆ STAT_PLAYER

#define STAT_PLAYER   0

Display stats for one player or tot objs

◆ STICKY

#define STICKY   0x00000100

Object goes home when dropped

◆ STOP_MATCH

#define STOP_MATCH   0x00100000

Stop matching commands if found

◆ STRING_EMPTY

#define STRING_EMPTY   ""

String constants.

◆ STRINGBLOCK

#define STRINGBLOCK   1000

Attributes constants.

Allocate space for strings in lumps this big.

◆ SUSPECT

#define SUSPECT   0x10000000

Report some activities to wizards

◆ SW_GOT_UNIQUE

#define SW_GOT_UNIQUE   0x40000000

Already have a unique option

◆ SW_MULTIPLE

#define SW_MULTIPLE   0x80000000

This sw may be spec'd w/others

◆ SW_NOEVAL

#define SW_NOEVAL   0x20000000

Don't parse args before calling handler (typically via a switch alias)

◆ SWEEP_COMMANDS

#define SWEEP_COMMANDS   4

Check for $-commands

◆ SWEEP_CONNECT

#define SWEEP_CONNECT   32

Search for connected players/puppets

◆ SWEEP_EXITS

#define SWEEP_EXITS   64

Search the exits for audible flags

◆ SWEEP_HERE

#define SWEEP_HERE   2

Check my location

◆ SWEEP_LISTEN

#define SWEEP_LISTEN   8

Check for @listen-ers

◆ SWEEP_ME

#define SWEEP_ME   1

Check my inventory

◆ SWEEP_PLAYER

#define SWEEP_PLAYER   16

Check for players and puppets

◆ SWEEP_VERBOSE

#define SWEEP_VERBOSE   256

Display what pattern matches

◆ SWITCH_ANY

#define SWITCH_ANY   1

Execute all cases that match

◆ SWITCH_DEFAULT

#define SWITCH_DEFAULT   0

Use the configured default for switch

◆ SWITCH_NOW

#define SWITCH_NOW   4

Execute case(s) immediately, no queueing

◆ SWITCH_ONE

#define SWITCH_ONE   2

Execute only first case that matches

◆ SWITCH_VAR

#define SWITCH_VAR   "#$"

This token is similar, marking the first argument in a switch.

◆ TELEPORT_DEFAULT

#define TELEPORT_DEFAULT   1

Emit all messages

◆ TELEPORT_QUIET

#define TELEPORT_QUIET   2

Teleport in quietly

◆ TERSE

#define TERSE   0x80000000

Only show room name on look

◆ TIMECHK_LOG

#define TIMECHK_LOG   4

Write info to log

◆ TIMECHK_RESET

#define TIMECHK_RESET   1

Reset all counters to zero

◆ TIMECHK_SCREEN

#define TIMECHK_SCREEN   2

Write info to screen

◆ TIMESTAMP_ACC

#define TIMESTAMP_ACC   0X02

lastaccess()

◆ TIMESTAMP_CRE

#define TIMESTAMP_CRE   0x04

creation()

◆ TIMESTAMP_MOD

#define TIMESTAMP_MOD   0x01

from handle_timestamps() lastmod()

◆ TOAD_NO_CHOWN

#define TOAD_NO_CHOWN   1

Don't change ownership

◆ TRACE

#define TRACE   0x00002000

Generate evaluation trace output

◆ TRIG_ARC

#define TRIG_ARC   0x04

arc-function, like asin as opposed to sin

◆ TRIG_CO

#define TRIG_CO   0x01

co-function, like cos as opposed to sin

◆ TRIG_DEG

#define TRIG_DEG   0x10

angles are in degrees, not radians

◆ TRIG_NOW

#define TRIG_NOW   2

Run immediately, no queueing

◆ TRIG_OPER

#define TRIG_OPER   0x0f

from handle_trig (sin, cos, tan, asin, acos, atan, sind, cosd, tand, asind, acosd, atand): mask to select trig function bits

◆ TRIG_QUIET

#define TRIG_QUIET   1

Don't display 'Triggered.' message.

◆ TRIG_REC

#define TRIG_REC   0x08

– reciprocal, like sec as opposed to sin

◆ TRIG_TAN

#define TRIG_TAN   0x02

tan-function, like cot as opposed to cos

◆ TRIM_L

#define TRIM_L   0x1

String trimming.

◆ TWARP_CLEAN

#define TWARP_CLEAN   4

Warp the cleaning interval

◆ TWARP_DUMP

#define TWARP_DUMP   2

Warp the dump interval

◆ TWARP_EMPTY

#define TWARP_EMPTY   16

Not used - Available

◆ TWARP_EVENTS

#define TWARP_EVENTS   32

Warp the events checking interval

◆ TWARP_IDLE

#define TWARP_IDLE   8

Warp the idle check interval

◆ TWARP_QUEUE

#define TWARP_QUEUE   1

Warp the wait and sem queues

◆ TYPE_ROOM

#define TYPE_ROOM   0x0

Object types

◆ U_LOCAL

#define U_LOCAL   0x01

from do_ufun(): ulocal: preserve global registers

◆ U_PRIVATE

#define U_PRIVATE   0x02

ulocal: preserve global registers

◆ UCALL_SANDBOX

#define UCALL_SANDBOX   0x01

ucall: sandbox() vs. ucall()

◆ UNFINDABLE

#define UNFINDABLE   0x00000008

Can't loc() from afar

◆ UNLOAD_VERSION

#define UNLOAD_VERSION   1

version for export

◆ V_3FLAGS

#define V_3FLAGS   0x00040000

Adding a 3rd flag word

◆ V_ATRKEY

#define V_ATRKEY   0x00001000

KEY is an attr, not in the hdr

◆ V_ATRMONEY

#define V_ATRMONEY   0x00008000

Money is kept in an attribute

◆ V_ATRNAME

#define V_ATRNAME   0x00000800

NAME is an attr, not in the hdr

◆ V_COMM

#define V_COMM   0x00004000

PERN: Comm status in header

◆ V_CREATETIME

#define V_CREATETIME   0x00800000

Create time

◆ V_DBCLEAN

#define V_DBCLEAN   0x80000000

Option to clean attr table

◆ V_GDBM

#define V_GDBM   0x00000400

attrs are in a gdbm db, not here

◆ V_LINK

#define V_LINK   0x00000200

LINK field (exits from objs)

◆ V_MASK

#define V_MASK   0x000000ff

Database version

◆ V_PARENT

#define V_PARENT   0x00002000

db has the PARENT field

◆ V_PERNKEY

#define V_PERNKEY   0x00001000

PERN: Extra locks in object hdr

◆ V_POWERS

#define V_POWERS   0x00020000

Powers?

◆ V_QUOTED

#define V_QUOTED   0x00080000

Quoted strings, ala PennMUSH

◆ V_TIMESTAMPS

#define V_TIMESTAMPS   0x00200000

Timestamps

◆ V_TQUOTAS

#define V_TQUOTAS   0x00100000

Typed quotas

◆ V_VISUALATTRS

#define V_VISUALATTRS   0x00400000

ODark-to-Visual attr flags

◆ V_XFLAGS

#define V_XFLAGS   0x00010000

An extra word of flags

◆ V_ZONE

#define V_ZONE   0x00000100

ZONE/DOMAIN field

◆ VATTR_HASH_SIZE

#define VATTR_HASH_SIZE   8192

User attributes constants.

< must be a power of two

◆ VE_BASE_DARK

#define VE_BASE_DARK   0x04

Base location (pre-parent) is dark

◆ VE_LOC_DARK

#define VE_LOC_DARK   0x02

Location is dark

◆ VE_LOC_XAM

#define VE_LOC_XAM   0x01

Location is examinable

◆ VEC_CROSS

#define VEC_CROSS   4

not implemented

◆ VEC_MAG

#define VEC_MAG   5

from handle_vector (vmag, vunit):

◆ VEC_OPER

#define VEC_OPER   0x0f

from handle_vectors (vadd, vsub, vmul, vdot): mask to select vector operation bits

◆ VERB_MOVE

#define VERB_MOVE   2

Treat like movement message

◆ VERB_NONAME

#define VERB_NONAME   16

Do not prepend name to odefault

◆ VERB_NOW

#define VERB_NOW   1

Run @afoo immediately, no queueing

◆ VERB_PRESENT

#define VERB_PRESENT   8

Treat like presence message

◆ VERB_SPEECH

#define VERB_SPEECH   4

Treat like speech message

◆ VERBOSE

#define VERBOSE   0x01000000

Tells owner everything it does.

◆ VISUAL

#define VISUAL   0x00100000

Everyone can see properties

◆ WAIT_PID

#define WAIT_PID   2

Change the wait on a PID

◆ WAIT_UNTIL

#define WAIT_UNTIL   1

Absolute time wait

◆ WATCHER

#define WATCHER   0x20000000

Watch logins

◆ WIZARD

#define WIZARD   0x00000010

gets automatic control

◆ XMAGIC

#define XMAGIC   0x00deadbeefbaad00

__XMALLOC magic ID

◆ ZONE_PARENT

#define ZONE_PARENT   0x00002000

Check as local master room