summaryrefslogtreecommitdiff
path: root/Lua API.html
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow both coordinate object and (x,y,z) as arguments to getTileBlock.Alexander Gavrilov2012-05-021-3/+3
|
* Add a convenience function for designating constructions.Alexander Gavrilov2012-05-011-10/+26
|
* Update building creation code with new knowledge, and fix zone.Alexander Gavrilov2012-05-011-10/+67
| | | | Also, document new lua api, and add a more convenient wrapper.
* Add api to check the walkable cache, and update flow_forbid in liquids.Alexander Gavrilov2012-04-261-0/+9
|
* Split off the burrows api from Maps and Units.Alexander Gavrilov2012-04-261-29/+34
|
* Retrieve unit noble position info, and use it in getProfessionName.Alexander Gavrilov2012-04-261-2/+7
|
* Add a few more lua api functions, documentation, and unit sort orders.Alexander Gavrilov2012-04-231-8/+81
| | | | | Units::getProfessionName appears to work correctly for everything except nobles.
* Support the '#' string as index for wrapper vector insert at end.Alexander Gavrilov2012-04-171-1/+1
|
* Export the onStateChange event to core lua context & add some docs.Alexander Gavrilov2012-04-171-1/+38
|
* Add an official core lua context, and allow plugins to send events to it.Alexander Gavrilov2012-04-151-0/+13
| | | | | | | | | | - This context requires core suspend lock and asserts it in a few places. - Special 'event' objects are introduced. They can be invoked as functions, in which case they iterate all their fields and call them as functions. Errors are printed and consumed. - When a plugin is opened by the core context, events registered in a special array are linked to it. The system is organized so as to avoid even trying to pass the event to lua if the module isn't loaded.
* Add burrow subcommands to modify burrow unit and tile sets.Alexander Gavrilov2012-04-141-0/+6
|
* Add unit position and container api.Alexander Gavrilov2012-04-131-1/+7
|
* Add core api for moving items between ground and containers.Alexander Gavrilov2012-04-121-0/+15
|
* Update the item owner modification api and export it to lua.Alexander Gavrilov2012-04-111-2/+15
|
* Add api for manipulating burrows to the core.Alexander Gavrilov2012-04-111-0/+24
|
* Export a few maps functions to lua.Alexander Gavrilov2012-04-111-0/+27
|
* Job module api tweaks: add a namespace to match others and some funcs.Alexander Gavrilov2012-04-101-1/+12
|
* Stop printall(df.global) from breaking if there are unknown addresses.Alexander Gavrilov2012-04-101-0/+4
|
* Pull a few utility functions into the core and publish to lua.Alexander Gavrilov2012-04-071-1/+7
|
* Add a generic facility for object finalization during stack unwind.Alexander Gavrilov2012-04-071-1/+21
| | | | | | | | | Supports two modes of finalization: - try {...} finally {...} - try {...} catch { ...; throw } Argument passing discipline is designed with vararg tail calls in mind.
* Wrap MaterialInfo for lua.Alexander Gavrilov2012-04-061-8/+52
|
* Export a few more functions to lua.Alexander Gavrilov2012-04-061-0/+23
|
* Wrap a few utility functions defined on the c++ side for lua.Alexander Gavrilov2012-04-051-0/+58
|
* Update Lua API doc html.Petr Mrázek2012-04-051-5/+184
|
* Add a html version of the LUA API doc, package it.Petr Mrázek2012-04-051-0/+580