[Ohrrpgce] SVN: teeemcee/8993 Fix F6 NPC debug mode being incredibly slow: framewalkabout() can now re

James Paige Bob at hamsterrepublic.com
Mon Jul 10 07:43:20 PDT 2017


We might want to disable the NPC wall-checks, or make them a different
debug mode separate from the one that just shows other NPC info

On Mon, Jul 10, 2017 at 7:27 AM, <subversion at hamsterrepublic.com> wrote:

> teeemcee
> 2017-07-10 07:27:59 -0700 (Mon, 10 Jul 2017)
> 266
> Fix F6 NPC debug mode being incredibly slow: framewalkabout() can now
> return NO if you ask it to actually check visibility
>
> So now F6 only draws debug info for NPCs on the screen, but it causes CPU
> usage to skyrocket due to doing 36 collision checks per NPC per tick
> ---
> U   wip/walkabouts.bas
> U   wip/walkabouts.bi
> U   wip/yetmore2.bas
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170710/27da92ae/attachment.htm>


More information about the Ohrrpgce mailing list