aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
Commit message (Collapse)AuthorAgeFilesLines
* moduleapi: Set module.global = true when module:set_global() is calledMatthew Wild2012-03-141-0/+1
|
* moduleapi: Add module:shared(), a way to easily share data between multiple ↵Matthew Wild2012-01-221-0/+23
| | | | loaded modules
* moduleapi: Add module:depends(), a way to safely depend upon another module ↵Matthew Wild2012-01-221-0/+29
| | | | at runtime
* modulemanager, moduleapi: Replace hooks multitable with an event_handlers ↵Matthew Wild2012-01-221-4/+7
| | | | map stored in individual modules. Also adds module:hook_object_event() to hook events on any util.events compatible object.
* modulemanager: Move in-module API functions to core.moduleapi (half the file ↵Matthew Wild2012-01-221-0/+239
size, yay)