summaryrefslogtreecommitdiffstats
path: root/source/PluginLua.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix: Wrong arg nameSamuel Barney2013-10-121-1/+1
|
* Fixed and exported cWorld:QueueTask().madmaxoft2013-10-121-0/+37
| | | | This implements #220.
* Fixed AddHook() wanting old-style function names.madmaxoft2013-08-221-1/+2
| | | | Error reported by STR_Warrior in the forum http://forum.mc-server.org/showthread.php?tid=1227&pid=9620#pid9620
* Hook adding uses the new API.madmaxoft2013-08-211-7/+24
| | | | Multiple hooks per plugin can be added. The cPluginManager.AddHook() has four available signatures, the recommended one is cPluginManager.AddHook(HOOK_TYPE, CallbackFunction)
* Finished renaming cPlugin_NewLua to cPluginLua.madmaxoft2013-08-191-3/+3
|
* Implemented the OnWorldTick hook.madmaxoft2013-08-191-0/+1
| | | | Triggerred for each world every time it ticks, parameters are the cWorld and the previous tick length (a_Dt)
* Added the OnHopperPullingItem and OnHopperPushingItem hooks.madmaxoft2013-08-111-0/+2
| | | | Requested in FS 412, slightly modified the params.
* Added OnPlayerAnimation() hook.madmaxoft2013-08-111-0/+1
| | | | Initial patch by @STR_Warrior, updated to account for different animation packets.
* Renamed Plugin_NewLua to PluginLua.madmaxoft2013-08-101-0/+143