void pilots_clearGlobalHooks(void)
Removes all the pilot global hooks.
void pilots_addGlobalHook(int type, unsigned int hook)
Adds a pilot global hook.
void pilots_rmHook(unsigned int hook)
Removes a hook from all the pilots.
void pilot_clearHooks(Pilot *p)
Clears the pilots hooks.
void pilot_freeGlobalHooks(void)
Clears global pilot hooks.
int pilot_runHook(Pilot *p, int hook_type)
Tries to run a pilot hook if he has it.
void pilot_addHook(Pilot *pilot, int type, unsigned int hook)
Adds a hook to the pilot.
void pilots_rmGlobalHook(unsigned int hook)
Removes a pilot global hook.
The representation of an in-game pilot.