Go to the documentation of this file.
63 for (
int i = 0; i < MAX_EVENTS; i++)
64 if (Handler[i] != NULL)
Declares the map_event_handler class.
#define REGISTER_EVENT(type, evt)
Registers an event with the event_list, allowing it to load this event without knowing about it at co...
The time event executes the attached script or callback at a certain point in game-time.
Declares the event_handler class.
To notify when a character entered a mapsquare.
It ensures global access to the individual event handlers.
#define NEW_EVENT(evt)
A function that returns a new instance of an event.
This class keeps track of time events, i.e.
This is the base class for actual event handlers.
Declares the different map events.
To notify when a mapcharacter "act" on a square.
Declares the time_event class.
Declares the time_event_handler class.
This class keeps track of map events, i.e.
static void cleanup()
Delete the event handlers.
To notify when a mapcharacter left a mapsquare.