void reset_area(AREA_DATA * pArea)
{
long vnum;
for (vnum = pArea->min_vnum; vnum <= pArea->max_vnum; vnum++) {
if (pRoomArray[vnum]){
reset_room(pRoomArray[vnum]);
}
}
return;
}
I think you can assume from your own code what reset_room does.
Now for performance, I would recommend threading here, but it's a difficult
task. One I've not accomplished.
>
> -----Original Message-----
> From: Chad Simmons [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 22, 2003 2:23 AM
> To: [email protected]
>
>
> --- "Chris \"Winston\" Litchfield" <[EMAIL PROTECTED]> wrote:
> > Anyone got a faster "reset_room" function? Its one of the
> hogs of the
> > system.
>
> Sorry, ROM doesn't have a reset_room function. If you can
> show what yours looks like (and where it's being called) I
> might be able to give some help.
>
> Thanks,
> ~Kender
>
> =====
> -----BEGIN GEEK CODE BLOCK-----
> Version 3.1
> GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$
> P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O
> M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@
> b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
> ------END GEEK CODE BLOCK------
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design
> software http://sitebuilder.yahoo.com
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>