Renamed numerous functions more sensibly and moved all single protos from .h to appropriate .c

This commit is contained in:
Rumble 2007-01-15 17:48:18 +00:00
parent 6e584e104e
commit 5e5ad41afc
33 changed files with 1626 additions and 689 deletions

View file

@ -17,6 +17,9 @@
#include "genzon.h"
#include "dg_olc.h"
/* local functions */
void extract_mobile_all(mob_vnum vnum);
int add_mobile(struct char_data *mob, mob_vnum vnum)
{
int rnum, i, found = FALSE, shop, cmd_no;
@ -162,7 +165,7 @@ int delete_mobile(mob_rnum refpt)
for (zone = 0; zone <= top_of_zone_table; zone++)
for (cmd_no = 0; ZCMD(zone, cmd_no).command != 'S'; cmd_no++)
if (ZCMD(zone, cmd_no).command == 'M' && ZCMD(zone, cmd_no).arg1 == refpt)
delete_command(&zone_table[zone], cmd_no);
delete_zone_command(&zone_table[zone], cmd_no);
/*
* Update shop keepers.