written when  *
* possible.  The 'Compat status' field is designed to give an idea how    *
* likely it is that support for that option will be removed in the near    *
* future.  Certain options are fairly easy to work around, and double      *
* the size of the associated code, as well as the maintenance workload,    *
* and can make the code significantly more complex or harder to read, so  *
* supporting them indefinitely is impractical.                            *
*                                                                          *
* WARNING: If you are using software designed to run with the MudOS driver *
*          it may assume certain settings of these options.  Check the    *
*          instructions for details.                                      *
****************************************************************************/
/* explode():
*
* The old behavior (#undef both of the below) strips any number of
* delimiters at the start of the string, and one at the end.  So
* explode("..x.y..z..", ".") gives ({ "x", "y", "", "z", "" })
*
* SANE_EXPLODE_STRING strips off at most one leading delimiter, and
* still strips off one at the end, so the example above gives
* ({ "", "x", "y", "", "z", "" }).
*
* REVERSIBLE_EXPLODE_STRING overrides SANE_EXPLODE_STRING, and makes
* it so that implode(explode(x, y), y) is always x; i.e. no delimiters
* are ever stripped.  So the example above gives
* ({ "", "", "x", "y", "", "z", "", "" }).
*/
#define SANE_EXPLODE_STRING
#undef REVERSIBLE_EXPLODE_STRING
/* NO_LIGHT: define this to disable the set_light() and driver maintenance
*  of light levels in objects.  You can simulate it via LPC if you want...
*
* Compat status: Very dated, easy to simulate, and gross.
*/
#define NO_LIGHT
/* NO_ADD_ACTION: define this to remove add_action, commands, livings, etc.
* process_input() then becomes the only way to deal with player input.
*
* Compat status: next to impossible to simulate, hard to replace, and
* very, very widely used.
*/
#undef NO_ADD_ACTION
/* NO_SNOOP: disables the snoop() efun and all related functionality.
*/
#undef NO_SNOOP
/* NO_ADD_ACTION: define this to remove add_action, commands, livings, etc.
  process_input() then becomes the only way to deal with player input. */
/* NO_ENVIRONMENT: define this to remove the handling of object containment
* relationships by the driver
*
* Compat status: hard to simulate efficiently, and very widely used.
*/
#undef NO_ENVIRONMENT
/* NO_WIZARDS: for historical reasons, MudOS used to keep track of who
* is and isn't a wizard.  Defining this removes that completely.
* If this is defined, the wizardp() and related efuns don't exist.
*
* Also note that if it is not defined, then non-wizards are always put
* in restricted mode when ed() is used, regardless of the setting of
* the restrict parameter.
*
* Compat status: easy to simulate and dated.
*/
#undef NO_WIZARDS
/* OLD_ED: ed() efun b

下一页 上一页
返回列表
返回首页
©2024 MUD游戏网_文字mud 电脑版
Powered by iwms