Adds prefedit OLC

This commit is contained in:
JamDog
2009-05-21 18:35:05 +00:00
parent 85ea93c818
commit 1786aa135d
8 changed files with 1011 additions and 9 deletions

View File

@@ -95,6 +95,7 @@ struct oasis_olc_data {
struct extra_descr_data *desc; /* used in '[r|o|m]edit' */
struct social_messg *action; /* Aedit uses this one */
struct trig_data *trig;
struct prefs_data *prefs; /* used for 'prefedit' */
int script_mode;
int trigger_position;
int item_type;
@@ -125,7 +126,7 @@ extern const char *nrm, *grn, *cyn, *yel;
#define OLC_ACTION(d) (OLC(d)->action) /**< Action structure */
#define OLC_HELP(d) (OLC(d)->help) /**< Hedit structure */
#define OLC_PREFS(d) (OLC(d)->prefs) /**< Preferences structure */
/* Other macros. */
#define OLC_EXIT(d) (OLC_ROOM(d)->dir_option[OLC_VAL(d)])