mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 18:50:13 +01:00
Renamed numerous functions more sensibly and moved all single protos from .h to appropriate .c
This commit is contained in:
parent
6e584e104e
commit
5e5ad41afc
33 changed files with 1626 additions and 689 deletions
13
src/zedit.c
13
src/zedit.c
|
|
@ -26,8 +26,17 @@
|
|||
#define OLC_CMD(d) (OLC_ZONE(d)->cmd[OLC_VAL(d)])
|
||||
#define MAX_DUPLICATES 100
|
||||
|
||||
/* Prototypes. */
|
||||
/* local functions */
|
||||
int start_change_command(struct descriptor_data *d, int pos);
|
||||
void zedit_setup(struct descriptor_data *d, int room_num);
|
||||
void zedit_new_zone(struct char_data *ch, zone_vnum vzone_num, room_vnum bottom, room_vnum top);
|
||||
void zedit_save_internally(struct descriptor_data *d);
|
||||
void zedit_save_to_disk(int zone_num);
|
||||
void zedit_disp_menu(struct descriptor_data *d);
|
||||
void zedit_disp_comtype(struct descriptor_data *d);
|
||||
void zedit_disp_arg1(struct descriptor_data *d);
|
||||
void zedit_disp_arg2(struct descriptor_data *d);
|
||||
void zedit_disp_arg3(struct descriptor_data *d);
|
||||
|
||||
/*-------------------------------------------------------------------*/
|
||||
|
||||
|
|
@ -900,7 +909,7 @@ void zedit_parse(struct descriptor_data *d, char *arg)
|
|||
*/
|
||||
pos = atoi(arg);
|
||||
if (isdigit(*arg)) {
|
||||
delete_command(OLC_ZONE(d), pos);
|
||||
delete_zone_command(OLC_ZONE(d), pos);
|
||||
OLC_ZONE(d)->age = 1;
|
||||
}
|
||||
zedit_disp_menu(d);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue