Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

olc.h File Reference

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

Go to the source code of this file.

Defines

#define AUTHOR
#define CREDITS   " Original by Surreality(cxw197@psu.edu) and Locke(locke@lm.com)"
#define DATE
#define DECLARE_OLC_FUN(fun)   OLC_FUN fun
#define ED   EXTRA_DESCR_DATA
#define ED_AREA   1
#define ED_CLASS   7
#define ED_HELP   6
#define ED_HELP   6
#define ED_MOBILE   4
#define ED_MPCODE   5
#define ED_NONE   0
#define ED_OBJECT   3
#define ED_ROOM   2
#define ED_SOCIAL   8
#define ED_VEHICLE   9
#define EDIT_AREA(Ch, Area)   ( Area = (AREA_DATA *)Ch->desc->pEdit )
#define EDIT_CLASS(Ch, Class)   ( Class = (OCLASS_DATA*)Ch->desc->pEdit )
#define EDIT_HELP(Ch, Help)   ( Help = (HELP_DATA *)Ch->desc->pEdit )
#define EDIT_MOB(Ch, Mob)   ( Mob = (MOB_INDEX_DATA *)Ch->desc->pEdit )
#define EDIT_MPCODE(Ch, Code)   ( Code = (MPROG_CODE*)Ch->desc->pEdit )
#define EDIT_OBJ(Ch, Obj)   ( Obj = (OBJ_INDEX_DATA *)Ch->desc->pEdit )
#define EDIT_ROOM(Ch, Room)   ( Room = Ch->in_room )
#define EDIT_SOCIAL(Ch, Social)   ( Social = (SOCIAL_LIST*)Ch->desc->pEdit )
#define EDIT_VEHICLE(Ch, Vehicle)   (Vehicle = (VDATA*)Ch->desc->pEdit)
#define MAX_MOB   1
#define TOGGLE_BIT(var, bit)   ((var) ^= (bit))
#define VERSION

Typedefs

typedef bool OLC_FUN args ((CHAR_DATA *ch, char *argument))

Functions

void free_mpcode args ((MPROG_CODE *pMcode))
void free_mprog args ((MPROG_LIST *mp))
char *mprog_type_to_name args ((int type))
void free_mob_index args ((MOB_INDEX_DATA *pMob))
void free_obj_index args ((OBJ_INDEX_DATA *pObj))
void free_shop args ((SHOP_DATA *pShop))
void free_affect args ((AFFECT_DATA *pAf))
void free_room_index args ((ROOM_INDEX_DATA *pRoom))
void free_extra_descr args ((ED *pExtra))
void free_exit args ((EXIT_DATA *pExit))
void free_area args ((AREA_DATA *pArea))
void free_reset_data args ((RESET_DATA *pReset))
void free_help args ((HELP_DATA *pHelp))
HELP_DATA *new_help args ((void))
bool edit_done args ((CHAR_DATA *ch))
void add_reset args ((ROOM_INDEX_DATA *room, RESET_DATA *pReset, int index))
AREA_DATA *get_vnum_area args ((int vnum))
void hedit args ((CHAR_DATA *, char *))
void cedit args ((CHAR_DATA *ch, char *argument))
 DECLARE_DO_FUN (do_vedit)
 DECLARE_DO_FUN (do_cedit)
 DECLARE_DO_FUN (do_hedit)
 DECLARE_DO_FUN (do_mpedit)
 DECLARE_DO_FUN (do_sedit)
 DECLARE_DO_FUN (do_medit)
 DECLARE_DO_FUN (do_oedit)
 DECLARE_DO_FUN (do_redit)
 DECLARE_DO_FUN (do_aedit)
 DECLARE_DO_FUN (do_help)
 DECLARE_OLC_FUN (cedit_save)
 DECLARE_OLC_FUN (cedit_create)
 DECLARE_OLC_FUN (cedit_show)
 DECLARE_OLC_FUN (cedit_default)
 DECLARE_OLC_FUN (cedit_base)
 DECLARE_OLC_FUN (cedit_max_hp)
 DECLARE_OLC_FUN (cedit_min_hp)
 DECLARE_OLC_FUN (cedit_skill)
 DECLARE_OLC_FUN (cedit_guild_2)
 DECLARE_OLC_FUN (cedit_guild_1)
 DECLARE_OLC_FUN (cedit_weapon)
 DECLARE_OLC_FUN (cedit_primary)
 DECLARE_OLC_FUN (cedit_thac_32)
 DECLARE_OLC_FUN (cedit_thac_0)
 DECLARE_OLC_FUN (cedit_wname)
 DECLARE_OLC_FUN (cedit_name)
 DECLARE_OLC_FUN (vedit_svnum)
 DECLARE_OLC_FUN (vedit_delete)
 DECLARE_OLC_FUN (vedit_name)
 DECLARE_OLC_FUN (vedit_type)
 DECLARE_OLC_FUN (vedit_speed)
 DECLARE_OLC_FUN (vedit_terrain)
 DECLARE_OLC_FUN (vedit_path)
 DECLARE_OLC_FUN (vedit_max_riders)
 DECLARE_OLC_FUN (vedit_armor)
 DECLARE_OLC_FUN (vedit_vnum)
 DECLARE_OLC_FUN (vedit_show)
 DECLARE_OLC_FUN (sedit_delete)
 DECLARE_OLC_FUN (sedit_char_not_found)
 DECLARE_OLC_FUN (sedit_others_auto)
 DECLARE_OLC_FUN (sedit_char_auto)
 DECLARE_OLC_FUN (sedit_others_found)
 DECLARE_OLC_FUN (sedit_vict_found)
 DECLARE_OLC_FUN (sedit_char_found)
 DECLARE_OLC_FUN (sedit_others_no_arg)
 DECLARE_OLC_FUN (sedit_char_no_arg)
 DECLARE_OLC_FUN (sedit_create)
 DECLARE_OLC_FUN (sedit_show)
 DECLARE_OLC_FUN (hedit_delete)
 DECLARE_OLC_FUN (hedit_keywords)
 DECLARE_OLC_FUN (hedit_level)
 DECLARE_OLC_FUN (hedit_desc)
 DECLARE_OLC_FUN (hedit_make)
 DECLARE_OLC_FUN (hedit_show)
 DECLARE_OLC_FUN (mpedit_list)
 DECLARE_OLC_FUN (mpedit_show)
 DECLARE_OLC_FUN (mpedit_code)
 DECLARE_OLC_FUN (mpedit_create)
 DECLARE_OLC_FUN (medit_delmprog)
 DECLARE_OLC_FUN (medit_addmprog)
 DECLARE_OLC_FUN (medit_group)
 DECLARE_OLC_FUN (medit_damtype)
 DECLARE_OLC_FUN (medit_hitroll)
 DECLARE_OLC_FUN (medit_gold)
 DECLARE_OLC_FUN (medit_position)
 DECLARE_OLC_FUN (medit_race)
 DECLARE_OLC_FUN (medit_damdice)
 DECLARE_OLC_FUN (medit_manadice)
 DECLARE_OLC_FUN (medit_hitdice)
 DECLARE_OLC_FUN (medit_size)
 DECLARE_OLC_FUN (medit_off)
 DECLARE_OLC_FUN (medit_material)
 DECLARE_OLC_FUN (medit_vuln)
 DECLARE_OLC_FUN (medit_res)
 DECLARE_OLC_FUN (medit_imm)
 DECLARE_OLC_FUN (medit_part)
 DECLARE_OLC_FUN (medit_form)
 DECLARE_OLC_FUN (medit_affect)
 DECLARE_OLC_FUN (medit_act)
 DECLARE_OLC_FUN (medit_sex)
 DECLARE_OLC_FUN (medit_spec)
 DECLARE_OLC_FUN (medit_align)
 DECLARE_OLC_FUN (medit_level)
 DECLARE_OLC_FUN (medit_desc)
 DECLARE_OLC_FUN (medit_shop)
 DECLARE_OLC_FUN (medit_long)
 DECLARE_OLC_FUN (medit_short)
 DECLARE_OLC_FUN (medit_name)
 DECLARE_OLC_FUN (medit_create)
 DECLARE_OLC_FUN (medit_show)
 DECLARE_OLC_FUN (oedit_condition)
 DECLARE_OLC_FUN (oedit_level)
 DECLARE_OLC_FUN (oedit_material)
 DECLARE_OLC_FUN (oedit_affect)
 DECLARE_OLC_FUN (oedit_type)
 DECLARE_OLC_FUN (oedit_wear)
 DECLARE_OLC_FUN (oedit_extra)
 DECLARE_OLC_FUN (oedit_ed)
 DECLARE_OLC_FUN (oedit_cost)
 DECLARE_OLC_FUN (oedit_weight)
 DECLARE_OLC_FUN (oedit_value4)
 DECLARE_OLC_FUN (oedit_value3)
 DECLARE_OLC_FUN (oedit_value2)
 DECLARE_OLC_FUN (oedit_value1)
 DECLARE_OLC_FUN (oedit_value0)
 DECLARE_OLC_FUN (oedit_delaffect)
 DECLARE_OLC_FUN (oedit_addapply)
 DECLARE_OLC_FUN (oedit_addaffect)
 DECLARE_OLC_FUN (oedit_long)
 DECLARE_OLC_FUN (oedit_short)
 DECLARE_OLC_FUN (oedit_name)
 DECLARE_OLC_FUN (oedit_create)
 DECLARE_OLC_FUN (oedit_show)
 DECLARE_OLC_FUN (redit_ttype)
 DECLARE_OLC_FUN (redit_tstate)
 DECLARE_OLC_FUN (redit_troute)
 DECLARE_OLC_FUN (redit_copy)
 DECLARE_OLC_FUN (redit_delete)
 DECLARE_OLC_FUN (redit_dfix)
 DECLARE_OLC_FUN (redit_night_desc)
 DECLARE_OLC_FUN (redit_extra)
 DECLARE_OLC_FUN (redit_sector)
 DECLARE_OLC_FUN (redit_room)
 DECLARE_OLC_FUN (redit_owner)
 DECLARE_OLC_FUN (redit_clan)
 DECLARE_OLC_FUN (redit_mana)
 DECLARE_OLC_FUN (redit_heal)
 DECLARE_OLC_FUN (redit_oshow)
 DECLARE_OLC_FUN (redit_mshow)
 DECLARE_OLC_FUN (redit_olist)
 DECLARE_OLC_FUN (redit_rlist)
 DECLARE_OLC_FUN (redit_mlist)
 DECLARE_OLC_FUN (redit_oreset)
 DECLARE_OLC_FUN (redit_mreset)
 DECLARE_OLC_FUN (redit_down)
 DECLARE_OLC_FUN (redit_up)
 DECLARE_OLC_FUN (redit_west)
 DECLARE_OLC_FUN (redit_east)
 DECLARE_OLC_FUN (redit_south)
 DECLARE_OLC_FUN (redit_north)
 DECLARE_OLC_FUN (redit_format)
 DECLARE_OLC_FUN (redit_ed)
 DECLARE_OLC_FUN (redit_desc)
 DECLARE_OLC_FUN (redit_name)
 DECLARE_OLC_FUN (redit_create)
 DECLARE_OLC_FUN (redit_show)
 DECLARE_OLC_FUN (aedit_delete)
 DECLARE_OLC_FUN (aedit_cont)
 DECLARE_OLC_FUN (aedit_credits)
 DECLARE_OLC_FUN (aedit_uvnum)
 DECLARE_OLC_FUN (aedit_lvnum)
 DECLARE_OLC_FUN (aedit_vnum)
 DECLARE_OLC_FUN (aedit_builder)
 DECLARE_OLC_FUN (aedit_security)
 DECLARE_OLC_FUN (aedit_reset)
 DECLARE_OLC_FUN (aedit_age)
 DECLARE_OLC_FUN (aedit_file)
 DECLARE_OLC_FUN (aedit_name)
 DECLARE_OLC_FUN (aedit_create)
 DECLARE_OLC_FUN (aedit_show)
 DECLARE_SPELL_FUN (spell_null)

Variables

const struct olc_cmd_type aedit_table []
const struct olc_cmd_type cedit_table []
const struct olc_cmd_type hedit_table []
const struct olc_cmd_type medit_table []
const struct olc_cmd_type mpedit_table []
const struct olc_cmd_type oedit_table []
const struct olc_cmd_type redit_table []
const struct olc_cmd_type sedit_table []
const struct olc_cmd_type vedit_table []


Define Documentation

#define AUTHOR
 

Value:

"     By Jason(jdinkel@mines.colorado.edu)\n\r" \
                "     Modified for use with ROM 2.3\n\r"        \
                "     By Hans Birkeland (hansbi@ifi.uio.no)\n\r" \
                "     Modificado para uso en ROM 2.4b6\n\r" \
                "     Por Ivan Toledo (itoledo@ctcreuna.cl)\n\r"

Definition at line 27 of file olc.h.

Referenced by show_version().

#define CREDITS   " Original by Surreality(cxw197@psu.edu) and Locke(locke@lm.com)"
 

Definition at line 35 of file olc.h.

Referenced by show_version().

#define DATE
 

Value:

"     (Apr. 7, 1995 - ROM mod, Apr 16, 1995)\n\r" \
        "     (Port a ROM 2.4 - Nov 2, 1996)\n\r" \
        "     Version actual : 1.8 - Sep 8, 1998\n\r"

Definition at line 32 of file olc.h.

Referenced by show_version().

#define DECLARE_OLC_FUN fun   )     OLC_FUN fun
 

Definition at line 43 of file olc.h.

#define ED   EXTRA_DESCR_DATA
 

Definition at line 358 of file olc.h.

#define ED_AREA   1
 

Definition at line 54 of file olc.h.

Referenced by do_aedit(), do_asave(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_CLASS   7
 

Definition at line 60 of file olc.h.

Referenced by CEDIT(), do_cedit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_HELP   6
 

Definition at line 278 of file olc.h.

#define ED_HELP   6
 

Definition at line 278 of file olc.h.

Referenced by do_asave(), do_hedit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_MOBILE   4
 

Definition at line 57 of file olc.h.

Referenced by do_asave(), do_medit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_MPCODE   5
 

Definition at line 58 of file olc.h.

Referenced by do_mpedit(), MPEDIT(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), show_commands(), and string_add().

#define ED_NONE   0
 

Definition at line 53 of file olc.h.

Referenced by do_asave().

#define ED_OBJECT   3
 

Definition at line 56 of file olc.h.

Referenced by do_asave(), do_oedit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_ROOM   2
 

Definition at line 55 of file olc.h.

Referenced by do_asave(), do_redit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_SOCIAL   8
 

Definition at line 61 of file olc.h.

Referenced by do_sedit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define ED_VEHICLE   9
 

Definition at line 62 of file olc.h.

Referenced by do_vedit(), olc_ed_name(), olc_ed_vnum(), run_olc_editor(), and show_commands().

#define EDIT_AREA Ch,
Area   )     ( Area = (AREA_DATA *)Ch->desc->pEdit )
 

Definition at line 348 of file olc.h.

Referenced by AEDIT(), and aedit().

#define EDIT_CLASS Ch,
Class   )     ( Class = (OCLASS_DATA*)Ch->desc->pEdit )
 

Definition at line 350 of file olc.h.

Referenced by CEDIT().

#define EDIT_HELP Ch,
Help   )     ( Help = (HELP_DATA *)Ch->desc->pEdit )
 

Definition at line 351 of file olc.h.

Referenced by HEDIT().

#define EDIT_MOB Ch,
Mob   )     ( Mob = (MOB_INDEX_DATA *)Ch->desc->pEdit )
 

Definition at line 345 of file olc.h.

Referenced by MEDIT(), and medit().

#define EDIT_MPCODE Ch,
Code   )     ( Code = (MPROG_CODE*)Ch->desc->pEdit )
 

Definition at line 349 of file olc.h.

Referenced by MPEDIT(), mpedit(), and string_add().

#define EDIT_OBJ Ch,
Obj   )     ( Obj = (OBJ_INDEX_DATA *)Ch->desc->pEdit )
 

Definition at line 346 of file olc.h.

Referenced by OEDIT(), oedit(), and oedit_values().

#define EDIT_ROOM Ch,
Room   )     ( Room = Ch->in_room )
 

Definition at line 347 of file olc.h.

Referenced by change_exit(), display_resets(), REDIT(), and redit().

#define EDIT_SOCIAL Ch,
Social   )     ( Social = (SOCIAL_LIST*)Ch->desc->pEdit )
 

Definition at line 352 of file olc.h.

Referenced by SEDIT().

#define EDIT_VEHICLE Ch,
Vehicle   )     (Vehicle = (VDATA*)Ch->desc->pEdit)
 

Definition at line 353 of file olc.h.

Referenced by VEDIT().

#define MAX_MOB   1
 

Definition at line 80 of file olc.h.

Referenced by REDIT().

#define TOGGLE_BIT var,
bit   )     ((var) ^= (bit))
 

Definition at line 342 of file olc.h.

Referenced by aedit(), change_exit(), do_oflagall(), OEDIT(), REDIT(), and set_obj_values().

#define VERSION
 

Value:

"ILAB Online Creation [Beta 1.0, ROM 2.3 modified]\n\r" \
        "     Port a ROM 2.4 v1.8\n\r"

Definition at line 25 of file olc.h.

Referenced by show_version().


Typedef Documentation

typedef bool OLC_FUN args((CHAR_DATA *ch, char *argument))
 

Definition at line 42 of file olc.h.


Function Documentation

void free_mpcode args (MPROG_CODE *pMcode)   ) 
 

void free_mprog args (MPROG_LIST *mp)   ) 
 

char* mprog_type_to_name args (int type)   ) 
 

void free_mob_index args (MOB_INDEX_DATA *pMob)   ) 
 

void free_obj_index args (OBJ_INDEX_DATA *pObj)   ) 
 

void free_shop args (SHOP_DATA *pShop)   ) 
 

void free_affect args (AFFECT_DATA *pAf)   ) 
 

void free_room_index args (ROOM_INDEX_DATA *pRoom)   ) 
 

void free_extra_descr args (ED *pExtra)   ) 
 

void free_exit args (EXIT_DATA *pExit)   ) 
 

void free_area args (AREA_DATA *pArea)   ) 
 

void free_reset_data args (RESET_DATA *pReset)   ) 
 

void free_help args (HELP_DATA *pHelp)   ) 
 

HELP_DATA* new_help args (void)   ) 
 

bool edit_done args (CHAR_DATA *ch)   ) 
 

void add_reset args (ROOM_INDEX_DATA *room, RESET_DATA *pReset, int index)   ) 
 

AREA_DATA* get_vnum_area args (int vnum)   ) 
 

void hedit args (CHAR_DATA *, char *)   ) 
 

void cedit args (CHAR_DATA *ch, char *argument)   ) 
 

DECLARE_DO_FUN do_vedit   ) 
 

DECLARE_DO_FUN do_cedit   ) 
 

DECLARE_DO_FUN do_hedit   ) 
 

DECLARE_DO_FUN do_mpedit   ) 
 

DECLARE_DO_FUN do_sedit   ) 
 

DECLARE_DO_FUN do_medit   ) 
 

DECLARE_DO_FUN do_oedit   ) 
 

DECLARE_DO_FUN do_redit   ) 
 

DECLARE_DO_FUN do_aedit   ) 
 

DECLARE_DO_FUN do_help   ) 
 

DECLARE_OLC_FUN cedit_save   ) 
 

DECLARE_OLC_FUN cedit_create   ) 
 

DECLARE_OLC_FUN cedit_show   ) 
 

DECLARE_OLC_FUN cedit_default   ) 
 

DECLARE_OLC_FUN cedit_base   ) 
 

DECLARE_OLC_FUN cedit_max_hp   ) 
 

DECLARE_OLC_FUN cedit_min_hp   ) 
 

DECLARE_OLC_FUN cedit_skill   ) 
 

DECLARE_OLC_FUN cedit_guild_2   ) 
 

DECLARE_OLC_FUN cedit_guild_1   ) 
 

DECLARE_OLC_FUN cedit_weapon   ) 
 

DECLARE_OLC_FUN cedit_primary   ) 
 

DECLARE_OLC_FUN cedit_thac_32   ) 
 

DECLARE_OLC_FUN cedit_thac_0   ) 
 

DECLARE_OLC_FUN cedit_wname   ) 
 

DECLARE_OLC_FUN cedit_name   ) 
 

DECLARE_OLC_FUN vedit_svnum   ) 
 

DECLARE_OLC_FUN vedit_delete   ) 
 

DECLARE_OLC_FUN vedit_name   ) 
 

DECLARE_OLC_FUN vedit_type   ) 
 

DECLARE_OLC_FUN vedit_speed   ) 
 

DECLARE_OLC_FUN vedit_terrain   ) 
 

DECLARE_OLC_FUN vedit_path   ) 
 

DECLARE_OLC_FUN vedit_max_riders   ) 
 

DECLARE_OLC_FUN vedit_armor   ) 
 

DECLARE_OLC_FUN vedit_vnum   ) 
 

DECLARE_OLC_FUN vedit_show   ) 
 

DECLARE_OLC_FUN sedit_delete   ) 
 

DECLARE_OLC_FUN sedit_char_not_found   ) 
 

DECLARE_OLC_FUN sedit_others_auto   ) 
 

DECLARE_OLC_FUN sedit_char_auto   ) 
 

DECLARE_OLC_FUN sedit_others_found   ) 
 

DECLARE_OLC_FUN sedit_vict_found   ) 
 

DECLARE_OLC_FUN sedit_char_found   ) 
 

DECLARE_OLC_FUN sedit_others_no_arg   ) 
 

DECLARE_OLC_FUN sedit_char_no_arg   ) 
 

DECLARE_OLC_FUN sedit_create