Skip to content

Global Event Handler

Jesusaves requested to merge jesusalva/evolsrc:jesusalva/hub into master

I've run in epoll problems once on ML, so I'm making this here as well.

There's only so much events we can queue, and if too many NPCs call events on player, some might not be received.

Also, having all events called from a single place is easier to see. Clock routines probably should also be on this file (except shops).

Note: Hurnscald NPCs were incompatible, and are not on this file. This is because they use .variables which are annoying. doevent wouldn't do any good either.

Merge request reports