mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-18 17:41:45 +01:00
Renamed several functions to lower case and variable wovel to vowel. Removed oasis_delete.h and object type TRAP. --Rumble
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
/*
|
||||
* This is here to allow different code for the basic and improved editor.
|
||||
* If do not wish to use the improved editor, put #if 0 below, otherwise
|
||||
* you should leave the setting at #if 1.
|
||||
*/
|
||||
/**************************************************************************
|
||||
* File: improved-edit.h Part of tbaMUD *
|
||||
* *
|
||||
* Usage: The basic and improved editor. *
|
||||
**************************************************************************/
|
||||
|
||||
/* This is here to allow different code for the basic and improved editor. If
|
||||
* you do not wish to use the improved editor, put #if 0 below, otherwise you
|
||||
* should leave the setting at #if 1. */
|
||||
#define CONFIG_IMPROVED_EDITOR 1
|
||||
|
||||
#define using_improved_editor CONFIG_IMPROVED_EDITOR
|
||||
@@ -13,9 +17,7 @@ int format_text(char **ptr_string, int mode, struct descriptor_data *d, unsigned
|
||||
int replace_str(char **string, char *pattern, char *replacement, int rep_all, unsigned int max_size);
|
||||
void send_editor_help(struct descriptor_data *d);
|
||||
|
||||
/*
|
||||
* Action modes for parse_edit_action().
|
||||
*/
|
||||
/* Action modes for parse_edit_action(). */
|
||||
#define PARSE_FORMAT 0
|
||||
#define PARSE_REPLACE 1
|
||||
#define PARSE_HELP 2
|
||||
@@ -25,9 +27,7 @@ void send_editor_help(struct descriptor_data *d);
|
||||
#define PARSE_LIST_NUM 6
|
||||
#define PARSE_EDIT 7
|
||||
|
||||
/*
|
||||
* Defines for the action variable.
|
||||
*/
|
||||
/* Defines for the action variable. */
|
||||
#define STRINGADD_OK 0 /* Just keep adding text. */
|
||||
#define STRINGADD_SAVE 1 /* Save current text. */
|
||||
#define STRINGADD_ABORT 2 /* Abort edit, restore old text. */
|
||||
|
||||
Reference in New Issue
Block a user